Download MetaTrader 5
To add comments, please log in or register
Store your source codes in MQL5 Storage. It is secure!
cryptex23
268
cryptex23 2014.04.10 17:08 
Is there any way that i can find the slippage from the price when a pending order became a market order and the entry price of the same? Any functions or reliable way?
qjol
3243
qjol 2014.04.10 17:25  
AFAIK there isn't such function built in in MQL but you can do it your self
cryptex23
268
cryptex23 2014.04.10 17:29  
qjol:
AFAIK there isn't such function built in in MQL but you can do it your self

Cool. But there is one issue. What about the prices that arrive just before the clock changes it edge (rising edge/falling edge) I will miss those quotes? average the last 2 prices?
qjol
3243
qjol 2014.04.10 18:00  

why do you need these quotes

opened transaction price minus the order sent price = slippage

/
To add comments, please log in or register