Edit Your Comment
Off Quotes on MT4 Contest November 15th?
Nov 21, 2012 at 08:47
Membre depuis May 11, 2011
posts 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.
Membre depuis Aug 12, 2009
posts 243
Nov 28, 2012 at 03:32
Membre depuis Aug 12, 2009
posts 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
Membre depuis Aug 12, 2009
posts 243
Nov 30, 2012 at 20:34
Membre depuis Aug 12, 2009
posts 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.


*Lutilisation commerciale et le spam ne seront pas tolérés et peuvent entraîner la fermeture du compte.
Conseil : Poster une image/une url YouTube sera automatiquement intégrée dans votre message!
Conseil : Tapez le signe @ pour compléter automatiquement un nom dutilisateur participant à cette discussion.