Orders disappear from chart after backtest.

To add comments, please log in or register
kasinath
59
kasinath  

When I am running a visual backtest on my EA, I can look at my chart and see orders being opened and closed. It's very helpful. 

However, once the backtest is complete, the order markings (on the chart) have disappeared, so I can't scroll back to review them.

Does anyone know why this would happen?


Keith Watford
Moderator
23375
Keith Watford  
kasinath:

When I am running a visual backtest on my EA, I can look at my chart and see orders being opened and closed. It's very helpful. 

However, once the backtest is complete, the order markings (on the chart) have disappeared, so I can't scroll back to review them.

Does anyone know why this would happen?


The EA probably deletes all chart objects in OnDeinit()

kasinath
59
kasinath  
Keith Watford:

The EA probably deletes all chart objects in OnDeinit()

It sure does. Thanks for the help! 

To add comments, please log in or register