Download MetaTrader 5
To add comments, please log in or register
Millions of traders download codes from MQL5 library. Share your app with them!
jt27
46
jt27 2016.07.01 04:36 
I've written my EA so that it always places pending orders.  If I want my program to go back later and check if that pending order has been activated what is the easiest way to determine that?  If the order gets activated, does the OrderType change?
Carl Schreiber
6389
Carl Schreiber 2016.07.01 06:29  
jt27:
...
If the order gets activated, does the OrderType change?
Yes, check your position (ticket?) with OrderSelect() and OrderType()..
/
To add comments, please log in or register