Forum

Checking orders closed on StopLoss

Hi All, I am struggling with writing a code to detect orders closing with SL. I know that in MQL4 we can compare OrderClosePrice() against the OrderStopLoss(), but don't know what to use in MQL5. I am new to it. Thanks for help

How to count orders which were closed by StopLoss

Hello, I am trying to write EA which will change lot size depending on number of losses. Is there a way to count StopLoss execution in MQL4? Regards