Orders disappear from chart after backtest.

 

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?


 
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()

 
Keith Watford:

The EA probably deletes all chart objects in OnDeinit()

It sure does. Thanks for the help!