how to detect if SL was triggered?
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
Check the deal reason with ...
Gets the value of specified integer type property
| DEAL_REASON_SL | The deal was executed as a result of Stop Loss activation |
You agree to website policy and terms of use
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