int highAgo = ZZ.HighBar(1, 2, 999); //get previous
int lowAgo = ZZ.LowBar(1, 2, 999); //get previous
After starting optimization on different param not related to the ZigZag get message
Strategy 'xxxx_ZZ_1': Error on calling 'OnBarUpdate' method on bar 2: ZigZag.LowBar: barsAgo out of valid range 0 through -1, was 1
Use: Calculate = Calculate.OnBarClose;
What could be the issue?
-PNF

Comment