Sometimes I see the next message in the Log:
Strategy 'TTPTrendBOTaug29': Error on calling 'EventHandlerBarsUpdate' method: Object reference not set to an instance of an object.
Indicator 'EMA': Error on calling 'OnBarUpdate' method on bar 5174: 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.
After that NT8 stoping my strategy.
It's random error and I don't see this massege each time when strategy is working.. Sometimes I see this eror shortly after start of the strategy, sometimes after a few hours, sometimes on the some days - I don't see it...
I added EMA in the State.DataLoaded.

Comment