I have never done this, it can probably be done, what are you expecting this group to do? Some things in FX are set behind the scenes so it is best to follow this pre-set condition
If you double-click the smiley face the inputs will open, alternatively you could create an edit field, any value put into this on your screen and be used as the SL.
On YouTube there is a video on how to achieve this, the code can be implemented in FX, you just need to understand the variables to create and the sections to switch off when adding.
@urielacosta So you mean you need a combined profit for all open trades at the moment and in the future, regardless they are in profit or in loss right now. Is that correct? If so the easiest one is this: