..@@ need help in select order codes @@..

 

hi all


please , i want help in this problem .......

my EA open many sell orders and buy orders in short period and each order has it's own stop and own take profit  the problem ,,,,,{ how i select specific order from all previous opened orders and  close or modify it but beware all orders have the same symbol and the same magic number and the same type }


so how to select for example a specific sell order from all 20 or more other sell orders opened..???


thank you ,

 
batttot:

hi all


please , i want help in this problem .......

my EA open many sell orders and buy orders in short period and each order has it's own stop and own take profit  the problem ,,,,,{ how i select specific order from all previous opened orders and  close or modify it but beware all orders have the same symbol and the same magic number and the same type }

so how to select for example a specific sell order from all 20 or more other sell orders opened..???

Identify the one you want by looping through all the open orders and process it how you need to.
Reason: