currently I have a strange behaviour in the ZigZag indicator inside a strategy and I think it would be wise to enlight the Maximum Bars Lookback parameter further.
What does it mean for my strategies: Let's say I have strategy on ES 12-09 1 Minute bars running. and MaximumBarsLookBack is set to 256.
Inside OnBarUpdate()
1. Will input[257] give the correct value allthough it is outside the lookback parameter?
2. You state the 256 bars limit is applied to IDataSeries Objects excluding DataSeries objects. Does this mean DataSeries objects do NOT have the 256 bars lookback limitation? I don't understand? Are Objects based on the IDataSeries interface not DataSeries?
3. Will
int i= ZigZag(DeviationType.Percent,zzPercent,usehighlow) .HighBar(0,1,257);
double zig= ZigZag(DeviationType.Percent, zzPercent, usehighlow)[i]
give the correct value?
Thank you
Andreas

Comment