Sending orders simultaneously in Strategy Tester

 

Hi,

I'm trying to create an EA that opens two orders simultaneously with differenct currencies (specifically: GBPJPY & EURJPY). Problem is, when running in the Strategy Tester, it can only open orders in the selected currency.

For example, if I select "GBPJPY" as the currency in the tester, then whenever it tries to open an order in EURJPY it sends the following errors to the journal:

OrderSend error 4106

unknown symbol name EURJPY for OrderSend function

What should I do in order to open the orders successfully?

Thanks!

 

As far as my knowledge goes you can't. The Tester only loads data for 1 symbol


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


Russell

Reason: