Strategy tester visual mode MT5

 
Hi, when using the mt5 strategy tester in visual mode, sometimes the trades are displayed on the chart, so that it is easy to see entry and exit points. However, sometimes these lines and plots aree immidiately deleted from the chart. They print shortly, only to be deleted again. Does anyone know why ythat happens and how to avoid that?
Files:
 
altmql Does anyone know why ythat happens and how to avoid that?

You have some code deleting them?

 
William Roeder #:

You have some code deleting them?

Thank you for the hint. Indeed I did have some code that would delete objects when certain conditions were met, and that bit of code also deleted the entry and exit plots. Cheers