Attachment 23919
I think I should have referred to your article .
https://www.mql5.com/en/forum/290#comment_611476
What I want to find out is : (a) The number of bars/pips of swings low and swings high recorded by Zig Zag lines say in lookback period of 240 minutes or any input by the user.
(b) the average pips size of the high swing to previous high swing and previous low swing to previous low swing.
(c) average range of the pips movements from the zig zag length using the history as the range.
In case of retracement/pullbacks, the duration (time in minutes) of retracements that followed each swing and the size of the retracement in pips or percentage. I do not want to record the number of swings because I am assuming each swing is followed by some kind of retracement.
Why these statistics? because I want to estimate the size of the retracements for the purpose of planning my take profit, stop loss or using increased lots to achieve faster breakeven.
I hope Igor finds value in this statistical indicator.
thank you.