Error 138 Resolution? New comment Forex Trader 2005.07.26 05:42 I keep on getting error 138 in my OrderSend function. The error discription indicates that it's a "re-quote". What exactly does that mean? How can I resolve it? Here's my code: double stop_loss = 500; double lots = 1; OrderSend( Symbol(), OP_SELL, lots, Ask,3, Ask + stop_loss * Point, Ask - 8 * Point, NULL, 0, 0, Aqua); PrintErrors("OrderSend: Sell Order"); OrderSend Error 138 Requote - what does it mean ? Error 138 OrderSend Failed Forex Trader 2005.07.26 13:34 #1 OrderSend( Symbol(), OP_SELL, lots, Ask,3, Ask + stop_loss * Point, Ask - 8 * Point, NULL, 0, 0, Aqua); should be OrderSend( Symbol(), OP_SELL, lots, Bid,3, Ask + stop_loss * Point, Bid - 8 * Point, NULL, 0, 0, Aqua); Forex Trader 2005.07.26 20:25 #2 "requote" means price is changed and broker gives You another price New comment
Here's my code:
double stop_loss = 500;
double lots = 1;
OrderSend( Symbol(), OP_SELL, lots, Ask,3, Ask + stop_loss * Point, Ask - 8 * Point, NULL, 0, 0, Aqua);
PrintErrors("OrderSend: Sell Order");