creating a magic number - page 5

 
So far, based on your description, I believe you can easily handle multiple orders independently with one EA:

- orders gets opened

- have a 2 dimensional global array store orderticket, and other necessary info to track or manipulate order.

- on each tick have an OrderChecker look at open orders and decides on actions based on info in the global array.

- maintain your array by clearing entries or whatever when possible.

I don't know the complexity of the data that your EA's store after you open an order that makes it necessary to focus on just one trade per EA, but it sounds like you can work in multiple orders.

If it doesn't need to store much(like doubles), you can even skip the use of an array and store info in the magic and have persistence across reboots and different machines.
 

Thanks for the idea! I'll try it. It seems better than what I came up with.