Check the deal reason with ...
Gets the value of specified integer type property
- DEAL_REASON — ENUM_DEAL_REASON
DEAL_REASON_SL
The deal was executed as a result of Stop Loss activation

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
hi,
unfortunatelly cannot get this information from CDealInfo.
https://www.mql5.com/en/docs/standardlibrary/tradeclasses/cdealinfo
i will be very glad for a small exaple.
regards