I ran into this error causing my strategy to be disabled. This happens in simulation trading (forward testing). The problem is this error does not occur during replay via historical data. I am guessing this could due to data error during simulation trading, but somehow corrected in historical data. Any tips / hints on how to handle such occurrences ?
- Indicator 'WisemanAlligator': Error on calling 'OnBarUpdate' method on bar 1480: 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 5 when there are only 4 bars on the chart.
Comment