Re: MT4 Charts Do Not Trade Equally
PT -- this is excellent! I recall also seeing a lot of 'Context Busy' errors...
Could you try another test to see if OnTimer fixes the problem on your VPS. It requires 3 minor changes:
1. In the OnInit() function, near the bottom add this line:
EventSetTimer(10);
2. Rename OnTick() to OnTimer().
NOTE: It is important to actually rename OnTick() so that the 'OnTick' symbol no longer exists in the *.ex4 and MT4 knows not to keep calling it.
3. Near the bottom of the OnDeinit() function add this line:
EventKillTimer();
Of course you'll need to reclone your EA so that all 32 are using OnTimer (and OnTick is no longer present).
I'm curious to see if all the 'ContextBusy' errors go away. Substituting OnTick with OnTimer that fires every 10 seconds still gives strategies lots of opportunities to execute, but MT4 is no longer under the burden to keep calling OnTick. Instead, each EA keeps calling its own OnTimer every 10 seconds. Also, from TaskManager, I think you'll see overall CPU usage go way down for MetaTrader.