Download MetaTrader 5

How to tell if a pending order has been activated???

To add comments, please log in or register
Searching on MQL5.community is performed in all sections. Try it!
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
6580
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