EA works only on one pair.

 

I‌'d written my first EA and tested it on GBPJPY primary. But if i change the pairs in Strategy Tester - it does not work (EURUSD for example).
I checked my code and it does not include GBPJPY symbol.

The order command looks like:

---------------OrderSend(Symbol(),OP_BUY,0.1,Ask,2,Bid-300*Point,Bid+900*Point) ----

Symbol() should place the trades on current chart/chosen pari in strategy tester i guess. 


Anyone can help me?

Regards 
Rafal

 
Symbol() trades the chart symbol.