As a follow up on this problem, the automatic closing of my positions always happens over the weekend. I have seen it happen during
the weekday's also, but that is much more rare.
For example, on Sunday 5pm EST time, if a trade is open and still running from previous Friday, MT4 will close it on me.
Is your EA running on the oil chart or a different chart?
Do you have another EA running? That may be trying to close all trades.
Hello Keith,
Yes, the EA is running on a oil chart.
Yes, the same EA is running on different charts (diff magic#).
As mentioned, my EA does not close these trades, it's done by MT4.
I depend on TP or SL to close the trade.
Thanks.
Hello Keith,
Yes, the EA is running on a oil chart.
Yes, the same EA is running on different charts (diff magic#).
As mentioned, my EA does not close these trades, it's done by MT4.
I depend on TP or SL to close the trade.
Thanks.
I am quite sure (but not certain) that the error reports are created by an EA trying to close the trades. I don't see why you would get a trade context busy report when MT4 is trying to close the order.
Look in the Experts folder.
Look in the order comment for one of the closed trades, does it include [sl] or [tp]?
Yup, it appears that my code from an 'earlier' version was running in which in i did close orders was running... :(
What made a worse was i wasn't just killing for the current magic#, but ALL orders :(
I added more debugging and will test again over the weekend.
Thanks for you help!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Since order was running, it can't be slippage related....