I am test running the 2008 championship EA on a demo account. It has an area where you can set parameters for up to 4 different currency pairs within the MT4 code. The EA then monitors the currency pair in the chart window (e.g. GBPUSD) that it is running in, if it matches with one of the four pairs within the code then it will trade that pair at the correct signal, manage it etc.
The problem I have is when I try to run the same EA in another window that matches the other three currency pairs; EURGBP GBPJPY EURUSD.
These will only trade if there is no GBPUSD trade going. If I close the GBPUSD then one of the other three pairs will instantly trade.
I wish for the EA to trade the currency pair it is attached to and each EA to manage its own currency pair.
So my question is what would stop the EA from trading? Could it be something like having the same magic number? That could be the only thing I can figure that would be common between the two EA's running in separate windows - i.e. if there is an open order with the same magic number it will not trade. That or it looks at the open orders and sets a flag if there is an open order.
Any suggestions what I should be looking for?
Thanking you in advance.
The problem I have is when I try to run the same EA in another window that matches the other three currency pairs; EURGBP GBPJPY EURUSD.
These will only trade if there is no GBPUSD trade going. If I close the GBPUSD then one of the other three pairs will instantly trade.
I wish for the EA to trade the currency pair it is attached to and each EA to manage its own currency pair.
So my question is what would stop the EA from trading? Could it be something like having the same magic number? That could be the only thing I can figure that would be common between the two EA's running in separate windows - i.e. if there is an open order with the same magic number it will not trade. That or it looks at the open orders and sets a flag if there is an open order.
Any suggestions what I should be looking for?
Thanking you in advance.