eseq:
Look at the OrderClosePrice(), compare it against the OrderStopLoss() decide if it is close enough to have been closed by the SL . . . there is no 100% method.
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?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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