this https://www.mql5.com/en/articles/1361 could be interesting...SteveHopwood » Sat Apr 18, 2015 10:46 am wrote:Does anybody know a way to allow one Empty4 platform send a Global Variable to another platform?
Here is what I am thinking. We have a demo account that we use for HGB. There is a little manager on the demo that places a 'don't trade yet guys' Global Variable on our real trading platform. Once the demo account has gone into DD by x pips, the manager sends the trading account a Global that says, 'up and at them tigers cos the retrace has happened.' Then, when the demo has made its usual profit run of 1000 pips it replaces the 'don't trade yet guys' back on the trading platform.
So far as I know, EA's can only read/write files from and to specified folders in the installation folder, so we need a way of getting the messages from the demo platform to the trading platform.
Cheers
Tommaso