Download MetaTrader 5

How to know amount of EA on charts?

To add comments, please log in or register
Jinsong Zhang
17971
Jinsong Zhang  
If there are serveral EAs on charts, how to know the EAs' name in MQL5?
Rashid Umarov
Admin
13421
Rashid Umarov  
Only one EA on one chart.
See also Running MQL5 Program Properties
Jinsong Zhang
17971
Jinsong Zhang  
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
17971
Jinsong Zhang  
If one EA sell eurusd but another EA buy the same symbol, that's a problem.
Jimmy
490
Jimmy  
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