Download MetaTrader 5

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

To add comments, please log in or register
jt27
75
jt27  
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
7357
Carl Schreiber  
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