Download MetaTrader 5

How to konw a postion is close by stoploss or takeproft ,or others reason in history?

To add comments, please log in or register
Let your idle PCs do something useful. Join MQL5 Cloud Network!
haoxiang xie
1075
haoxiang xie 2013.10.20 05:18 

How to konw a postion is close by stoploss or takeproft ,or others reason in history?

I need some example code .

 Thanks. 

Dua Yong Rew
5422
Dua Yong Rew 2013.10.20 06:19  
If profit is more or less than 0?
If you want to know exactly if tp or sl is triggered then u need to work on the profit part.
To add comments, please log in or register