MQL5 Local Version 054: BUG? Groups can not controlled
-
Independent groups of position can not be controlled by the ea. I have the same problem with buid_060. Can you Check this?
......
Differend groups bug.jpg -
In MT5 you can't really have 2 positions with different... anything, because you can't have 2 positions (from the same symbol) at all. Group number (which is magic number basically) can be used for pending orders, but for positions - not really. If you open two positions with different group numbers, the end position will have the last group number (magic number). Maybe I should remove this parameter at some places.
-
Can an ea have differend group-no. of position or orders in MT4, witch can controlled independend?
-
In MT4 you can have 100 different trades if you want. Some of them can be created from EA1, some of them - from EA2. Magic number is to know which trades are created from EA1 and which from EA2. But in MT5 you just can't have two or more trades, you can only have one position (for a symbol). Let's say that in MT5 it's not very good idea to put two EAs for the same symbol, because they can't really separate the position.
But if you work with groups of pending orders, maybe you should move to "All (....)" option for "Group mode" parameter in blocks from "Manage positions/orders count" category.
-
Ok, I have understand it.
Manny thanks...
