Can anyone help me with zigzag indicator

To add comments, please log in or register
LucasAr
7
LucasAr  

Hi. Could anyone help me?

I've made some changes in the default ZigZag indicator to be able to plot its lines on the lowest close and highest close of bars instead of highs and lows.

I did it and it works well. However, I would like to change the way that a new "wave" starts to draw from the default parameters (Depth; Deviation; Backstep) to just one parameter, giving the amount of retracement points.


Also, it would be better if the indicator only calculates a new top or bottom from the last bar closed to backward to avoid changes every time during the current trade bar.


I add files to better understand.

Files:
ZZC.png 68 kb
zzc2.png 53 kb
To add comments, please log in or register