I'm working on a strategy that uses moving averages.
- I have added moving averages through code, and the MAs are displayed correctly on the chart.
- Suddenly and without any apparent reason, the MAs disappear from the chart.
- As shown in the image, the control panel indicates that the strategy is enabled.
- However, if I go to the chart and right-click on the strategy properties, it says it is not enabled.
- But if I let the strategy run, it continues to work even though the MAs are not there.
- I have placed prints throughout the code to see what happens, but none of them trigger when the MAs disappear.
I also have TextBoxes that I place on the chart, and they disappear too, but let's focus on the MAs.
Best regards
Comment