Multicurrency EA: the order of forex pairs impacts the results

 
Hi everyone,
I'm developing a multicurrency expert advisor that trades multiple pairs simultaneously, specifying the forex pairs in an input string. I've noticed that changing the order of them sometimes changes the results as well. What can be the reason?
The EA opens only at the close of the candle and checks the conditions for each pair at every tick within 2 seconds of the opening of the new candle (I also tried to increase up to 10 seconds, but without getting any changes). Thanks
 
Your topic has been moved to the section: Expert Advisors and Automated Trading — In the future, please consider which section is most appropriate for your query.
MQL5 forum: Expert Advisors and Automated Trading
MQL5 forum: Expert Advisors and Automated Trading
  • www.mql5.com
How to create an Expert Advisor (a trading robot) for Forex trading
Reason: