There is only one way as you said:
checking the status of all orders through OrderSelect etc
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
For modifying an EA, I need a piece of code to trigger an action when any order is closed at its stop loss.
I hope that there is a more simple way rather than checking the status of all orders through OrderSelect etc. After all, the terminal window receives that information from the server and displays it immediately.
I would appreciate any examples or hints how to write the code.