Checking result: SL or TP

To add comments, please log in or register
Gordon Gekko
629
Gordon Gekko  

Hi Gurus!


I make an order by this code:

ticket=OrderSend("EURUSD",OP_BUY,1,Ask,1,Ask-25*Point,Ask+25*Point,"",0,0,Green);


If this order closed (SL or TP), I'd like to check in my expert what kind of result had it: SL or TP?


Can you help me?

Thanks!

Ray
2646
Ray  
[sl] or [tp] are appended to the order comment.
Gordon Gekko
629
Gordon Gekko  
phy:
[sl] or [tp] are appended to the order comment.

Thank you phy!

Rashid Umarov
Admin
16963
Rashid Umarov  
You can also to compare Price() to OrderStopLoss().
To add comments, please log in or register