I’m developing a strategy and adding the EMA indicator to the chart through the strategy. In some cases (not the majority), when I enable the strategy or change the time frame, the EMA is drawn incorrectly as shown in the image. If I change the time filter again, the EMA is drawn correctly, but I have to keep changing the time filter repeatedly.
What could be causing this, and how can I prevent it from happening?

Comment