put it on 60 min chart, and on bar 16th, it fires error;
Indicator 'XXXX': Error on calling 'OnBarUpdate' method on bar 16: You are accessing an index with a value that is invalid since it is out-of-range...
I cant understand what is the problem, because the PRINT shows that it has enough bars.
Comment