Quick way to combine two EA's

 

Hi All,


Is there a quick way to combine two EA's? Such as using a line to start EA1, and then another before the second EA to start EA2, and a master start at the top to start the both of them?


Can't seem to find anything on this subject in the material on MQL4 book, or on here..


Thanks!

 
Jowin6789: Is there a quick way to combine two EA's?

You put one on one chart and the other on another chart. As long as they are coded to use a different magic number and you aren't subject to FIFO they will work.
          Multiple EAs on same symbol, order modify conflict - Trailing Stop - MQL4 and MetaTrader 4 - MQL4 programming forum

What happens if they open orders at the same time or disagree on direction? To handle those cases you will have to code them together.

 
whroeder1:

You put one on one chart and the other on another chart. As long as they are coded to use a different magic number and you aren't subject to FIFO they will work.
          Multiple EAs on same symbol, order modify conflict - Trailing Stop - MQL4 and MetaTrader 4 - MQL4 programming forum

What happens if they open orders at the same time or disagree on direction? To handle those cases you will have to code them together.


Excellent, thanks for that. I won't be able to use the  'strategy tester' under that scenario though right? I can only test one at a time?

 
Obviously
Reason: