Do groups work for all ea's opened on mt4
-
Hi, I have a question. Does someone know if groups used in a ea also works for other ea's opened on other charts?
Example: If i have a chart EURUSD open with EA X running on it, and my "buy now" group is numbered group: 1, And I have a second chart USDJPY opened with EA Y running on it that begins with a "no trade" block, and it is grouped: 1.
Will it prevent opening trades by EA Y on USDJPY because i have a trade running from the EA X that is grouped or not?
Does my EA in chart 1 has an effect on my other EA in chart 2?(i can test this out myself but its another two days before market opens so that's why i asked here
) -
@yyaanniicckk Groups get added to the magic no, if group is 3, magic number is 1111, magic number becomes 1114, as long as group and magic numbers match all trades on same platform should work together.
-
Thanyou for your answer. The magic number needs to be entered once you set up the EA in metatrader and not in fxdreema itself right ?
-
@yyaanniicckk Correct. Group numbers will be added to that new magic number.
-
Thankyou both for the help.
@l-andorrĂ , just to be correct. If I want EA A and EA B to work with eachother i have to use the same group numbers and the same magic number, can this magic number be a random number or should it be a specific number?
-
Hi, so i did some testing. I synchronized all the group numbers in the EA's I want to connect (see screenshots), and when i set up the EA's on the charts i used the same kind of magic number for both of the EA's (i chose a random number).
I still see them taking trades at the same time tho... Does any of you know what i did wrong?
I think i have put in the wrong magic number i guess it can't be a random one?

-
@yyaanniicckk Can you please share the link to the project instead? That would help a lot.
-
@l-andorrĂ Yes of course, lets say i want to connect these two EA's with each other.
I want that if they place trades on the same moment or one of them is already in a trade, that only one of them places the trade and not both of them. (to avoid overexposure when trading multiple pairs in the same time)
I synchronized the groups with each other and when i set up the magic number in mt4, i chose the same magic number for both the EA's. I noticed that if one of the EA's is already in a trade, the other one will not take a trade, which is good. But when they get a signal at the same time, they both place trades which i would like to avoid...https://fxdreema.com/shared/0JMuHKxPb
https://fxdreema.com/shared/upWxs6Q4
Thanks for your help, i've been trying alot for this particular problem
-
@yyaanniicckk I'm afraid groups are not 'recognized' by other EAs. Only groups created within one EA can be distinguised within that same EA. The only way I know of of connecting two EAs is by using terminal variables, but you will need a programmer to tell you how to do it, I'm afraid.
-
@l-andorrĂ yes no problem, still thank you for your help!
-
@yyaanniicckk You're welcome.