I'm writing an EA for a specific method. My EA opens pending orders. . Either BUY STOP, BUY LIMIT, SELL STOP or SELL Limit.
This component is OK. What I want is that to open another pending order if a BUY STOP pending order has shifted into a BUY order.
So basically, in my code (in beginning method), I need to check if a pending order has shifted to an order..not certain how to do that. .
Appreciate any help or hints. .