Download MetaTrader 5

slippage in ordersend()

To add comments, please log in or register
dongming.zhao
24
dongming.zhao  

Do you guys know why the "slippage" doesn't work in the Ordersend() function? Anyone help?

 

I am now trading in forex.com and citi fxpro, the "slippage" does not work in both platform, I think these 2 companies block the function. Can some1 introduce me a better platform? 

 

Thank you very much for your help. 

Dua Yong Rew
5553
Dua Yong Rew  
mt4 or mt5?
Stanislav Korotky
23340
Stanislav Korotky  
dongming.zhao:

Do you guys know why the "slippage" doesn't work in the Ordersend() function? Anyone help?

 

I am now trading in forex.com and citi fxpro, the "slippage" does not work in both platform, I think these 2 companies block the function. Can some1 introduce me a better platform? 

 

Thank you very much for your help. 

How does it "not work" exactly? What happens?
dongming.zhao
24
dongming.zhao  
marketeer:
How does it "not work" exactly? What happens?

When I set "slippage" in Ordersend(), for example, I set "OP_BUY" of EURUSD @ 1.25000 and slippage @ 20, that means my execution price should be not more than 1.25020, right?

But finally, my execution price could be 1.25300. So I think there must be something wrong with my broker. 

dongming.zhao
24
dongming.zhao  
doshur:
mt4 or mt5?
MT4.
Alain Verleyen
Moderator
35042
Alain Verleyen  
dongming.zhao:
MT4.
Please read this topic : https://www.mql5.com/en/forum/150990
How to avoid the bad slippage? - MQL4 forum
  • www.mql5.com
How to avoid the bad slippage? - MQL4 forum
To add comments, please log in or register