EA Closing all trades if MT5 restarted
-
So... EA was running, I closed MT5 and restarted - all trades were closed, even though there was no closing condition met and EA was still active.
Is there a way to avoid this and keep the EA active at all times (if internet connection is lost or MT5 shuts down and restarts)?
MT5 settings for EA in the image attached.
Thank you!

-
Did you try using other MT4 platforms?
-
You mean before restarting MT5? No, I only have MT5 installed on the machine.
I traded on MT4 in the past, switched to MT5 for faster testing..
Any idea on my initial question?
-
Sorry, my mistake. I meant other broker's MT5 platforms, not trying it on MT4.