waza123:
https://www.mql5.com/en/docs/basis/function/events#ontradetransaction
Is there a trigger, which will inform me when position is closed by stop loss ?
or i have to check every sec for history ?
thanks
![Documentation on MQL5: Language Basics / Functions / Event Handling Functions Documentation on MQL5: Language Basics / Functions / Event Handling Functions](/i/community/logo_mql5_small.png)
Documentation on MQL5: Language Basics / Functions / Event Handling Functions
- www.mql5.com
Language Basics / Functions / Event Handling Functions - Reference on algorithmic/automated trading language for MetaTrader 5
Or OnTrade.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Is there a trigger, which will inform me when position is closed by stop loss ?
or i have to check every sec for history ?
thanks