Download MetaTrader 5
To add comments, please log in or register
Searching on MQL5.community is performed in all sections. Try it!
moonsboy
889
moonsboy 2016.01.24 08:33 

I don't want big slippage happen while opening or closing orders. 

However, the slippage is still often much higher as over "10" although I set "slippage=3" already.

Now that the slippage in "OrderSend()" and "OrderClose()" don't work at all, why MQ team added it as the function parameters?

How can I exactly prevent big slippage happen with my code? 

whroeder1
13602
whroeder1 2016.01.24 12:42  

They didn't add it when it doesn't work; it was in there before ECNs when it did. Removing it would break existing code.

There is nothing that can be done in your code; only in the broker's server.

/
To add comments, please log in or register