slippage don't work

 
while closing some orders i have set slippage to zero but still some orders end up at different prices....how can i make orders close at exactly ask or bid as it is a scalping ea......
OrderClose(OrderTicket(),OrderLots(),Bid,0);


OrderClose(OrderTicket(),OrderLots(),Ask,0);

 
ankit29030:
while closing some orders i have set slippage to zero but still some orders end up at different prices....how can i make orders close at exactly ask or bid as it is a scalping ea......

You should talk to your Broker about this.

Also you should run this test code to see what happens:  https://www.mql5.com/en/forum/143997/page2#788828