- They didn't "closed off suddenly," your EA must have closed them.
- EAs must be coded to recover. If the power fails, OS crashes, terminal or chart is accidentally closed, on the next tick, any static/global ticket variables will have been lost. You will have an open order but don't know it, so the EA will never try to close it, trail SL, etc. How are you going to recover? Use a OrderSelect loop to recover, or persistent storage (GV+flush or files) of ticket numbers required.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I'm running an EA on MQL5's VPS. The situation I faced a moment ago was that I have some ongoing trades closed off suddenly when I re-sync my EA's settings from my local terminal to the VPS.
Why does this happen and Anybody ever has the same issue?
Regards,