I have 2 position opened on 2 different instruments. I would like to set an alert if the difference of the total PnL is above ...let's say $50.
It goes like this: Instrument 1 total PnL $100. Instrument 2 total PnL $ - 50 . Account PnL 100 - 50 = 50 . Trigger alert.
I have been using market analyzer , chose my 2 instruments and add a column "Profit Loss" then set conditions : ProfitLoss ...greater ...numeric value.
The problem is that the alert is triggered when the PnL of any of my intruments is higher than my numeric value (50 in my example). The first time when instrument 1 gets to 50 my alert is triggered.
But as you can see in my example instrument 1 needs to get to 100 for the alert to be triggered .
Is there a way around this?

Comment