slippage in ordersend()

 

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. 

 
mt4 or mt5?
 
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?
 
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. 

 
doshur:
mt4 or mt5?
MT4.
 
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