How does an EA handles requote

 

Hi

I use the IsTradeContextBusy and IsTradeAllowed to ensure a BUY or SELL order is made. However I encountered an occasion today where

the server accepted the order but no trade was taken. Reading the journal, there was apparently a requote. How can I get the EA to accept

the requote. My end result is that I want an order to be executed regardless. Thks in advance.

ronaldosim

 

Use GetLastError() to check if error 138 was generated....

ERR_REQUOTE138Requote.
Reason: