Download MetaTrader 5
To add comments, please log in or register
Do you have idle PCs? Connect them to MQL5 Cloud Network and earn money!
Josh Calow
39
Josh Calow 2016.04.05 14:24 

Is it possible for one EA to modify the External Variables of another EA?

If so how could this potential be done?


Many thanks.

Fernando Carreiro
1428
Fernando Carreiro 2016.04.05 15:26  

No, one EA cannot directly alter "extern" or "input" variables of another EA.

However, you can share "Terminal Global Variables" between EA's running on the same "Client Terminal" process, so that if one EA alters the values of "Terminal Global Variables", the other EA can see it, provided that other EA regularly checks their contents.

Alternatively, using system DLL's you can use inter-process communication to achieve something similar, but this is more complicated and requires programming knowledge, probably beyond what you are seeking.

/
To add comments, please log in or register