MetaTrader4: SymbolInfoTick error when testing on multiple symbols

 

Hi there,

When I run my EA without lines 5-6 I have NO problems at all when testing

1) MqlTick currency1;

2) MqlTick currency2;

3)   if ( !SymbolInfoTick( "EURUSD", currency1 ) )

4)       Alert("SymbolInfoTick() failed, error: ",GetLastError());

5)   if ( !SymbolInfoTick( "GBPJPY", currency2 ) )

6)       Alert("SymbolInfoTick() failed, error: ",GetLastError());

 but when testing using ALSO lines 5-6 I get the following error:

EURUSD,M5: Alert: SymbolInfoTick() failed, error: 4059

 Is there some kind of limitation of the Tester for working with only one Symbol? Is there a way around this problem so I can test my advisor?

Thanks for any help 

 
The limitation was always there.
 
Is there  a way around?
 
boris:
Is there  a way around?

No workaround, current symbol only.

Here is a link to some of the limitations

https://www.mql5.com/en/articles/1512

Weekly and Monthly timeframes do not exist either, although if you really need them you can build them up from the daily bars yourself.

Reason: