The code is based on indicator ZigZag which is in-built in MT4, developed by MetaQuotes.
I have changed it slightly so that it isn’t calculated on highest Highs and lowest Lows, but instead uses highest Close and lowest Close of chart price history.
See chart below for differences: ZigZag (liab) versus ZigZagClose (yellow).

Some differences are minor in nature, while at other times the effects are significant.
Indicators, As MT4 – Download tau cov lus qhia
ZigZag Based on Close Prices is a Metatrader 4 (MT4) qhov taw qhia thiab cov essence ntawm tus forex cim yog txia ua cov ntaub ntawv keeb kwm accumulated. ZigZag Based on Close Prices provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.Raws li cov lus qhia no, traders muaj kev pov plob ntxiv nqe zog kom lawv zoo kho kom haum.
How to install ZigZag Based on Close Prices.mq4?
- Download ZigZag Based on Close Prices.mq4
- Copy ZigZag Based on Close Prices.mq4 to your Metatrader Directory / ntawm cov kws txawj / indicators, As /
- Updated 10/22/07/f.Triplett koj Metatrader neeg pib lossis kev pab
- Xaiv tau daim ntawv thiab Timeframe uas koj xav sim qhia tau rau koj
- Nrhiav “Kev cai indicators, As” hauv koj Navigator feem coob nyob hauv koj tus Metatrader Client
- Right click on ZigZag Based on Close Prices.mq4
- Rhais cov nplooj ntawv rau ib daim ntawv
- Hloov chaw los yog nias tau
- Indicator ZigZag Based on Close Prices.mq4 is available on your Chart
How to remove ZigZag Based on Close Prices.mq4 from your Metatrader 4 Daim ntawv?
- Xaiv tau daim qauv uas qhia tau rau tus khiav khiav hauv koj tus Metatrader Client
- Txoj nyem rau hauv daim qauv
- “Daim ntawv teev indicators, As”
- Xaiv tus cim thiab rho tawm
MT4 Indicators, As ces hauv qab: