Thursday May 06, 2010

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...

Comments:

Conversely, not having such leverage available will likely negatively impact traders who are using appropriate risk management. Reducing the leverage means that you will have less available margin for active positions, even if you are risking the same amount in both scenarios. This means that such traders are more likely to experience a margin call, assuming a consistent position risk, if the leveraging allowances were to be reduced forex

Posted by forex on December 11, 2010 at 09:07 AM UTC #

impossible to do. only 1 order at time can be made. only way that must use is trade allowed or is trade context busy look at editor section: checkup Thanks.................. ?????

Posted by ????? on January 22, 2011 at 10:49 AM UTC #

hhl playback Matte exhibit Quickly upgradable,Microsoft Office 2010 Product Key Cons Will get extremely very hot three hrs of battery lifestyle with 6-cell Battery sticks out Sluggish overall performance on battery mode Summary as far as design and ergonomics go,Office 2007 Key, the Lenovo ThinkPad X100e has the top keyboard and trackpad.

Posted by Office 2010 Key on June 30, 2011 at 01:31 AM UTC #

Post a Comment:
  • HTML Syntax: Allowed