How to let the EA working on different cross

 

Hi Guys,

I have an EA that works properly on EURUSD...

Now I want it to work on others 10 different cross...

What is the best practice in this case ?

Should I have to implement a loop on each cross ?

Thanks to support!

 
curr[0]="EURGBP";
curr[1]="GBPUSD";
curr[2]="EURAUD";
...
...
curr[9]="NZDUSD";

for(int j=0; j<=9; j++)
  {
    if(ADX(curr[j])>0) Buy(curr[j],0.01);
    if(ADX(curr[j])<0) Sell(curr[j],0.01);
  }

something like this I think

 
Dario T.: I have an EA that works properly on EURUSD...

Now I want it to work on others 10 different cross...

Assuming it was coded to trade the current symbol, just put it on other charts. Done.

Do not trade multiple currencies in one EA.
 

Thanks Samih, I'm on the right way... Now you confirmed !

Reason: