Indicator 'Some of your indicators': Error on calling 'OnBarUpdate' method on bar n: You are accessing an index with a value that is invalid since it is out-of-range. I.E. accessing a series
[barsAgo] with a value of x when there are only x-1 bars on the chart.
The problem is that this occurs randomly and no very often for example in a week I can have this error twice running my strategy on 12 diferent symbols, using the indicators ATR, T3, SMA, Bollinger Bands. The error could be on any of this indicators.
My guess is that this ocurs in the transition of adding the new bar to the collection.
After the error my strategy terminate unexpectedly.
What can I do?
Regards
Yuri Paez

Comment