Multi EA

 

Hello 

 

I like to ask if i can use Multi EA in same platform  for example 

using EURUSD 1 m chart with 1 EA

using 30 M chart with EURUSD but another EA

is that possible ? kindly let me know

 

Thanks

Sameer

 

yes if you use different MagicNumber for each ea.

but you can also do it in one ea as well if you do not need to look at the actual chart itself, and if you do you can simply switch using,

ChartSetSymbolPeriod(), but for starters separate ea's might be easier to control.

 
Marco vd Heijden:

yes if you use different MagicNumber for each ea.

but you can also do it in one ea as well if you do not need to look at the actual chart itself, and if you do you can simply switch using,

ChartSetSymbolPeriod(), but for starters separate ea's might be easier to control.

Thanks alot for Answering 

 
Marco vd Heijden:

yes if you use different MagicNumber for each ea.

but you can also do it in one ea as well if you do not need to look at the actual chart itself, and if you do you can simply switch using,

ChartSetSymbolPeriod(), but for starters separate ea's might be easier to control.

I belive that using different magic numbers in each EA is not enough if coder or coders of both EAs didn't put into consideration to make the EA works well with others. For examples, if decision is needed to generate a new order if total opened orders less than 1. Which means no open orders. In this case it is a big mistake if OrdersTotal() is used. A function like, int CountOrders(int magic)  is needed. 
There are too many points like this must be considered to make the EA works well with others.