Delete existing Pending Orders when Trade opened
-
I want all Pending Orders of "XXXYYY" currency pair to be deleted when a new trade is opened for the "XXXYYY" pair.
The XXXYYY pair is not unknown at the time of building the EA.
-
My sequence of events are as follows:
My EA will create a Sell Pending Order and a Buy Pending Order.
If my Sell Pending Order gets triggered, I want the Buy Pending Order to be deleted and vice versa.How do I achieve this?
-
Can someone please help?
-
Hi @yalgaar
Do this...
