Communication between EA's

 

Hi Guys,


I just want to ask what is your idea on dealing with 2 EA's communicating in one Client Terminal. For example, same EA's are placed on EURUSD and GBPUSD both have ample amount of trades, when EA on EURUSD reach a condition to which it will close all opened trades because it reach certain profit, the EA on GBPUSD will not be permitted to open a trade while the EA on EURUSD is executing the condition.


Thanks...

 
Use GlobalVariable.
 
deysmacro:
Use GlobalVariable.

do you have any simple example that uses boolean...


Thanks.

 
Look in the MT4-Reference: "GlobalVariable"..
Reason: