Download MetaTrader 5

running the same EA on more than one chart

To add comments, please log in or register
Have you just installed MetaTrader 5? Learn it in details!
Brian
498
Brian 2014.01.25 23:05 

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

Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2014.01.25 23:10  
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.
Brian
498
Brian 2014.01.25 23:26  
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.
To add comments, please log in or register