MT5 Platform - How to create "Group control" ?
-
please add a way to group the same trades(for example two or more positions of the same symbol)
-
Hi fxDreema
I use MT5 platform.
How can I separate trade inside EA on MT5 ? I try to "Group number, magic start, magic number..." already but it's not working or maybe I create wrong code !!!
(Question 1) "Group number" is not working on MT5, right ?
(Question 2) Could you please give me some example on MT5 platform ? How to separate "group trade" ?
Thank you very much
-
Group should work, but more for pending orders, because positions are already grouped by their market (symbol). So you can't logically group two positions of EURUSD, because there are no two positions at all, it's always only one position. But I think you can use Group to group two different position (EURUSD and GBPUSD for example) if it's easier to manage numbers like 1, 2 instead of EURUSD and GBPUSD...
I can admit that I don't have good experience with multicurrency strategies, so in fact I never cared about the Group number in MT5, for a single marked it always work. In the beginning I wanted to make MT5 strategies to be able to work with virtual trades, similar to how it is in MT4... and that's why I keep MT4 and MT5 blocks very similar... but this is still no fact and I think it will not be

Well, I can remove this Group parameter from MT5 if it's not really needed, but I guess someone who backtests multicurrency strategies should tell me that it's not helpful at all.
-
Hi fxDreema,
Thanks for your reply and explanation. I understand now.
In fact, I would prefer your current design with group number because in the future, I may(or may not) need to use it for multicurrency.
So, if you don't mind please do not remove group parameter from MT5
Thank you for your explanation
