Hi, this is MQL4. I have a friend that's asked me to "combine" two EAs for him. Basically he wants to be able to run both of them in the same window. Is there an easy way to do this?
- Profit Generator EA
- Can you operate two or more accounts at the same time?
- it possible to run parameters on different periods in the same EA?
cuallito:
Hi, this is MQL4. I have a friend that's asked me to "combine" two EAs for him. Basically he wants to be able to run both of them in the same window. Is there an easy way to do this?
Hi, this is MQL4. I have a friend that's asked me to "combine" two EAs for him. Basically he wants to be able to run both of them in the same window. Is there an easy way to do this?
One can't run two EAs on the same chart - one can run one EA on one chart. So if you were to open two charts, each with the same time frame and same currency pair, then you might accomplish what you are looking for.
Or a slightly messy bit of work and turn each ea into a function which can then be called from the start function.
EA1 Start() ===> void function1 {}
EA2 Start() ====> void function2{}
Combined EA
Start()
{
function1() ;
function2() ;
}
all extern params to front of EA
all variables and function of the same name renamed to be different.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register