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のURLを投稿すると自動的に埋め込まれます!
ヒント:この討論に参加しているユーザー名をオートコンプリートするには、@記号を入力します。