MQL4 - automated forex trading   /  

Forum

Does it possible to generate an event when an order is closed?

Back to topics list To post a new topic, please log in or register

avatar
28
pisceswzh 2008.10.30 08:30 

Since generally I set a target for an open position, there is no way I can be notified if the order reaches the TP or ST. Is there a way to generate an event triggered when the order reaches the TP or ST?

Thanks!

article

Interview with Yuri (Gorez)

A robot should act for sure; it is not subject to emotions.


avatar
747
fbj 2008.10.30 12:56 

well... u use EA and EA called each new data tick from server - fwiw, generally one would be comparing latest price data against EAs TP/ST

and that test is ur 'event' and EA can do watevr when see 'event', OrderModify(),OrderClose()... oh u know... any stuff

Best


avatar
1515
DxdCn 2008.10.30 13:12 
check, check, and check again.....
Back to topics list  

To add comments, please log in or register