running the same EA on more than one chart

 

Hi,

I thought I could run the same EA on more than one chart in MetaTrader I was recently told by a programmer that I could not.

Is it possible to run an EA on more than one chart in one metatrader?

If the answer is yes, what should be done to avoid the EA confusing the orders?

Is the magic number not designed to solve this problem?

Thanks,

Brian

 
4000:

Hi,

I thought I could run the same EA on more than one chart in MetaTrader I was recently told by a programmer that I could not.

Is it possible to run an EA on more than one chart in one metatrader?

If the answer is yes, what should be done to avoid the EA confusing the orders?

Is the magic number not designed to solve this problem?


Yes, of course you can, perhaps you should find a competent coder. You can use a Magic Number but you can also just use OrderSymbol() unless you are putting the EA on the same symbol but different timeframes, then you need to use a Magic Number.
 
RaptorUK:
Yes, of course you can, perhaps you should find a competent coder. You can use a Magic Number but you can also just use OrderSymbol() unless you are putting the EA on the same symbol but different timeframes, then you need to use a Magic Number.


Thanks for your help.
Reason: