Download MetaTrader 5

How to know amount of EA on charts?

To add comments, please log in or register
Speed up MQL5 Cloud Network. Install Strategy Tester Agent!
Jinsong Zhang
15613
Jinsong Zhang 2011.08.03 06:29 
If there are serveral EAs on charts, how to know the EAs' name in MQL5?
Rashid Umarov
Admin
11836
Rashid Umarov 2011.08.03 06:48  
Only one EA on one chart.
See also Running MQL5 Program Properties
Jinsong Zhang
15613
Jinsong Zhang 2011.08.03 06:52  
Rosh:
Only one EA on one chart.
See also Running MQL5 Program Properties
I mean the EAs are on different charts. Is it possible?
Jinsong Zhang
15613
Jinsong Zhang 2011.08.03 06:55  
If one EA sell eurusd but another EA buy the same symbol, that's a problem.
Jimmy
490
Jimmy 2011.08.03 11:35  
song_song:
If one EA sell eurusd but another EA buy the same symbol, that's a problem.

If you're the author of all of these EAs, there are several things you can use:

1. Each EA uses different magic/comment for its own orders, so the other can check whether this is its own order or not.

2. Create your own locking system using GLOBAL variables or File I/O.

To add comments, please log in or register