Edit Your Comment
Off Quotes on MT4 Contest November 15th?
Tham gia từ May 11, 2011
219bài viết
Nov 21, 2012 at 08:47
Tham gia từ May 11, 2011
219bài viết
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.
Tham gia từ Aug 12, 2009
243bài viết
Nov 28, 2012 at 03:32
Tham gia từ Aug 12, 2009
243bài viết
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
Tham gia từ Aug 12, 2009
243bài viết
Nov 30, 2012 at 20:34
Tham gia từ Aug 12, 2009
243bài viết
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.


*Nghiêm cấm sử dụng cho mục đích thương mại và spam, nếu vi phạm có thể dẫn đến việc chấm dứt tài khoản.
Mẹo: Đăng ảnh/url youtube sẽ tự động được nhúng vào bài viết của bạn!
Mẹo: Dùng @ để tự động điền tên người dùng tham gia vào cuộc thảo luận này.