Issue with strategy tester and custom symbols

 

I have an EA that runs on the startegy tester for optimization

I have created 5 custom symbols that are 5min timeframe minimum and all are loaded and fine

I try to run optimization on all the 5 symbols and diffrent timeframes at same time

the issue is some passes fail on the tester while tring this

Although if I run only one custom symbol using its 
then no issues happen but if runed ETHUSDT for example using BTCUSDT i get this error some time




So basically optimization only works fine if the symbol in the code is the same as the testing symbol else it fails alot of cases 

Files:
BBands.mq5  56 kb
 
Moamen Ahmed Mamoun Hassan Ghazy:

I have an EA that runs on the startegy tester for optimization

I have created 5 custom symbols that are 5min timeframe minimum and all are loaded and fine

I try to run optimization on all the 5 symbols and diffrent timeframes at same time

the issue is some passes fail on the tester while tring this

Although if I run only one custom symbol using its 
then no issues happen but if runed ETHUSDT for example using BTCUSDT i get this error some time




So basically optimization only works fine if the symbol in the code is the same as the testing symbol else it fails alot of cases 

Do you have all of your custom symbols in your Market Watch window?