Indicators: ZigZag Based on Close Prices

 

ZigZag Based on Close Prices:

The code is based on indicator ZigZag which is in-built in MT4. I have changed it 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 attached chart for differences: ZigZag (red) versus ZigZagClose (yellow).

ZigZag Based on Close Prices

Author: mindful FX UG (haftungsbeschraenkt)

 
Thank you, this is a nice one!
 
Thank you, Cristoff
 
Hi!
Your indicator is perfectly fit what I search for, it is really great!
Do you have it in MQL5? I use MT5 and I would liket to use there.
 
can someone write a new code for this indicator for mt5?
 
allyb1963 #:
can someone write a new code for this indicator for mt5?
https://www.mql5.com/en/code/37477
ZigZag Color for Line Chart
ZigZag Color for Line Chart
  • www.mql5.com
ZigZag Color Indicator for Line Charts which works on Close prices rather than High low This indicator has only one input parameter which is ExtDepth and its optimized for performance
Reason: