I'm creating a strategy where I use two different systems on different accounts.
Let's say I want to close both my positions if the total sum of open positions p&l is $100.
Is there a way to reference the single open position p&l and use them as a variable?
Example:
System A - Open P&L $20
System B - Open P&L $80
Total Open P&L = $100
Close my positions on both systems.
Thanks for any help

Comment