You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
- 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.