MQL4: Call another EA's under Expert Advisor MT4

To add comments, please log in or register
Piotr
1271
Piotr  

Hi,


I have 4 expert advisor's I would like to make another ea and call my ea's under the MQL4 code.

It is possible?


If YES, then HOW TO?


Rgds,

Ubzen
5299
Ubzen  
Nope, calling EA from EA is just not allowed. The best I've seen is removing EA using Windows Manipulation techniques. Search Google for more info if you wish to go that route.
William Roeder
20214
William Roeder  

puncher:

I have 4 expert advisor's I would like to make another ea and call my ea's under the MQL4 code.

It is possible?

Not possible and not necessary. Just put them on separate charts (with different magic numbers.)
Alireza Yadegar
4169
Alireza Yadegar  
i have an EA with .ex4 file and want to put an expiry on it, but i have not the source code, is there a way that i can call this .ex4 EA in a new EA, so i would be able to add expiry on the new EA.
Marius Ovidiu Sunzuiana
1842
Marius Ovidiu Sunzuiana  
Alireza Yadegar:
i have an EA with .ex4 file and want to put an expiry on it, but i have not the source code, is there a way that i can call this .ex4 EA in a new EA, so i would be able to add expiry on the new EA.

you cannot put expire if you have only binary file (.ex4)

you cannot because you can t call an EA inside of another EA

special functions of EA cannot be called... 

OMNBSH
5
OMNBSH  

Calling one EA is possible. I'm doing it using a trick.

How to do this ...

Use the command, ChartOpen(Currency1, PeriodForNewChart);

Open any chart, adjust it the way you like to see it, add any indicators you 

want with the settings you prefer, time frame, ... etc ...

Add the new EA to that chart .... Use your preferred settings for this EA ...

then, save the chart template as "default" ...


Close the chart ... Run your first EA, now once you call the Chart open command, 

it will open a new chart with the second EA installed on it.


I call all my 28 pairs from one chart with single click.

I wish this helps.

To add comments, please log in or register