@PhiLykia I just want to correct few things that.
Scenario 1
We gonna trade here on two pairs together let's say
GBPUSD and EURUSD. Trades will open here when we load EA on any of the one chart either GBPUSD or EURUSD. So when condition of pair 1 on which EA is loaded it opens a trade for that pair 1 and other trade will also get open which we enter as Pair 2 in inputs. These trades get opened together and get closed together then a certain input profit is reached on global space, This is clear and sorted, no need to do anything there
Scenario 2.
Not if I want to trade on 6 currencies in 3 sets. let's say.
Set 1 - GBPUSD/EURUSD
Set 2 - AUDUSD/GBPUSD
Set 3 - AUDCHF/CADCHF
I want no interferance of any set to the other one's profit/loss.
So in global space when profit of set 1 reached it closes only set 1. And do not disturb other one.
So as you said to specify the pair in closing function, when I tried it closes only the pair we enter into it.
For example we specify Pair 1 (GBPUSD) from set 1 (GBPUSD/EURUSD) in specify symbol space, it close only GBPUSD and leave EURUSD open.