MT4: "Trade Context is Busy"
In MetaTrader 4 orders are opened in the reality by the servers of the broker. MetaTrader is really just a terminal forwarding different request to the server.
And MetaTrader 4 has a big problem (some of you should also have received mails from them in your mailbox in the terminal trying to explain this problem): once you start/modify/close an order, you cannot start another trade related command, until the first one is executed, or you will get a "Trade Context is Busy" error, and you second command will fail.
Have you ever waited before the "New Order" dialog in MT4?
Well this is the exact situation I am talking about... with some twist of course: because when you are trying to start another order while you are waiting for the first one (possible only if one of the orders would be opened by a script / EA), you could even make earlier versions of MT4 terminals get out of sync with the server -- making it impossible to execute another trade until MT4 is not restarted.
While this out of sync situation has been solved in MT4 since then, the "Trade Context is Busy" error is still an issue.
Again, this is an MT4 related problem, and has nothing to do with manual trading, scripts or EAs Since this can still cause some problems our solution is, to detect such errors, and retry the given command a few seconds later (for a certain number of times)... So you can really set and leave Magic Stick to trade on his own...
Posted at 09:21PM May 06, 2010 by Administrator in MetaTrader 4 | Comments[3]
Posted by forex on December 11, 2010 at 09:07 AM UTC #
Posted by ????? on January 22, 2011 at 10:49 AM UTC #
Posted by Office 2010 Key on June 30, 2011 at 01:31 AM UTC #