So lets just say my computer crashed... I restart the computer and restart mt4... The chart with the EA comes back up but a number of the lines the EA created before the crash get messed up and show wrong on the chart..
So my question is: Is there a function or way to force the EA to rerun OnInit() after a crash? Essentially restarting the EA ..
if not-- then is there a way for the EA to recognize its restarting after a crash vs after a correct shutdown?
So my question is: Is there a function or way to force the EA to rerun OnInit() after a crash? Essentially restarting the EA ..
if not-- then is there a way for the EA to recognize its restarting after a crash vs after a correct shutdown?