Edit Your Comment
Off Quotes on MT4 Contest November 15th?
Nov 21, 2012 at 08:47
會員從May 11, 2011開始
219帖子
The above solution is for manual trades, if you are using an EA, you have to set the slippage in the EA:
In the examples the variable to set is 'Slippage', or just replace it with 10 or more.
Open:
OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, 0, 0, "MY_EA", 1, 0, Blue);
Close:
OrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_BID),Slippage,Red);
Even after these I still get off quotes on some majors & crosses, set it higher in this case. Also note that it seems the spread has an impact as well, higher spread need to have higher slippage setting.
In the examples the variable to set is 'Slippage', or just replace it with 10 or more.
Open:
OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, 0, 0, "MY_EA", 1, 0, Blue);
Close:
OrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_BID),Slippage,Red);
Even after these I still get off quotes on some majors & crosses, set it higher in this case. Also note that it seems the spread has an impact as well, higher spread need to have higher slippage setting.
For every loss there should be at least an equal and opposite profit.
會員從Aug 12, 2009開始
243帖子
Nov 28, 2012 at 03:32
會員從Aug 12, 2009開始
243帖子
vadds posted:"Off quotes"
I have this problem,
Hi Vadds,
If you're getting an 'off quotes' message, it's possible your Max Deviation setting is too low. Since FXCM uses 5-digit pricing (fractional pips), every 10 points for the Maximum Deviation is equivalent to one pip. If you adjust your Max Dev in the Order window, that should solve the problem. Try setting the max deviation to 20 or 30 as shown below.

Jason
會員從Aug 12, 2009開始
243帖子
Nov 30, 2012 at 20:34
會員從Aug 12, 2009開始
243帖子
jasonrogers posted:vadds posted:"Off quotes"
I have this problem,
Hi Vadds,
If you're getting an 'off quotes' message, it's possible your Max Deviation setting is too low. Since FXCM uses 5-digit pricing (fractional pips), every 10 points for the Maximum Deviation is equivalent to one pip. If you adjust your Max Dev in the Order window, that should solve the problem. Try setting the max deviation to 20 or 30 as shown below.
Jason
Just wanted to add that you can change the default Max Deviation setting for all orders by going to Tools > Options and the Trade tab as shown below.


*商業用途和垃圾郵件將不被容忍,並可能導致帳戶終止。
提示:發佈圖片/YouTube網址會自動嵌入到您的帖子中!
提示:鍵入@符號,自動完成參與此討論的用戶名。