title: Pine Script Stop Loss profit calculation in strategy panel is not correct
body: <p>I'm using this partial take profit 1 and 2 then set full stop loss, take profit like below.
  But in strategy panel, even though my SL was hit and triggered, profit is still $-0.00.
  Any idea how I can make this calculation right?</p>
  <pre><code>strategy.entry('S', strategy.short, limit=close)
  strategy.exit('S TP1', 'S', qty_percent=tp1percent, limit=tp1Price)
  strategy.exit('S TP2', 'S', qty_percent=tp2percent, limit=tp2Price)
  strategy.exit('S SL/TP', 'S', qty_percent = 100, stop=shortSL, limit = shortTP)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/eRNEZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eRNEZ.png" alt="enter image description here" /></a></p>