Edit Your Comment
Off Quotes on MT4 Contest November 15th?
Nov 21, 2012 at 08:47
Mitglied seit May 11, 2011
235 Posts
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.
Mitglied seit Aug 12, 2009
272 Posts
Nov 28, 2012 at 03:32
Mitglied seit Aug 12, 2009
272 Posts
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
Mitglied seit Aug 12, 2009
272 Posts
Nov 30, 2012 at 20:34
Mitglied seit Aug 12, 2009
272 Posts
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.
*Kommerzielle Nutzung und Spam werden nicht toleriert und können zur Kündigung des Kontos führen.
Tipp: Wenn Sie ein Bild/eine Youtube-Url posten, wird diese automatisch in Ihren Beitrag eingebettet!
Tipp: Tippen Sie das @-Zeichen ein, um einen an dieser Diskussion teilnehmenden Benutzernamen automatisch zu vervollständigen.