can 2 EAs working at the same time on one currency pair?.......one given command to another !

 

Is it possible to program an EA the will be given a certain command to another EA; may be an EA attached on 1 hr chart given a certain command to another EA on a 5 min. chart? For example an EA on 1 hr. chart when a certain condition is meet on it, it will give a command to another EA on 5 min. chart to trade either only buy/sell. Please can someone explain……………..

 
  1. If they are running on different terminal, files (common directory,) named pipes, quick channel.
  2. If they are running on the same terminal, files (mql4 files) and Global variables
  3. Not necessary, the EA can be on the M5 and read everything about the H1 directly, no communication necessary.



 
Everdyke:

Is it possible to program an EA the will be given a certain command to another EA; may be an EA attached on 1 hr chart given a certain command to another EA on a 5 min. chart? For example an EA on 1 hr. chart when a certain condition is meet on it, it will give a command to another EA on 5 min. chart to trade either only buy/sell. Please can someone explain……………..

Make one an Indicator and use iCustom to read it's buffers in the EA.
 
Everdyke:

Is it possible to program an EA the will be given a certain command to another EA; may be an EA attached on 1 hr chart given a certain command to another EA on a 5 min. chart? For example an EA on 1 hr. chart when a certain condition is meet on it, it will give a command to another EA on 5 min. chart to trade either only buy/sell. Please can someone explain……………..

The answer is yes and it does not have to be 2 EAs, it can be just 1 EA and this 1 EA can read data from all time frame despite it only attached to 1 timeframe.
Reason: