Download MetaTrader 5
To add comments, please log in or register
Have you just installed MetaTrader 5? Learn it in details!
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
2200
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