Download MetaTrader 5

[Beginner] How to find out if last order was stopped?

To add comments, please log in or register
Publish your article to let the traders see it in MetaTrader 5!
symbaa
5
symbaa 2011.03.09 01:40 

The title says it all, how can I find out whether my last order was stopped (reached the stop loss) with MQL5? Is there an event, is there a way to find out within the onTick method?

Thanks in advance.

Rashid Umarov
Admin
11812
Rashid Umarov 2011.03.09 17:38  
If Stop Loss trigger then this  position we be closed. It's simple. See also articles Trade Events in MetaTrader 5 and Orders, Positions, and Deals in MetaTrader 5

To add comments, please log in or register