How change parameters in EA ?

 

Can I use the same EA for different symbols with different parameters?

Can I have a 20 Moving Average for a symbol, and a 50 Moving Average in another?

Thanks for help.

 

lets see i think TSD (which i believe is the namesake of this forum) has some multi pair action. may wanna study that. also the 1st value of an indicator is the pair.

iMA("EURUSD",0,13,8,MODE_SMMA,PRICE_MEDIAN,i);

for interbank mini and micro i guess it would be

iMA("EURUSDm",0,13,8,MODE_SMMA,PRICE_MEDIAN,i);

Files:
 

one way i set up my code when using a moving average in an ea is like this;

adding a global variable:

extern double emaperiod = 20;[/PHP]

and changing where you define your variable to this:

[PHP]double ma iMA(NULL,0,emaperiod,1,0,PRICE_CLOSE,1);

of course you can adjust this to however you want your moving average set up, but the3 purpose of doing this is that when you apply the ea, you can just change the inputs (inputs tab) to what you desire your trailing stop to be.