OPEN-SOURCE SCRIPT
Mis à jour

Show Position

Basic script that represents your position on the chart as a line along with your position size, price, change in price, and P&L.
Notes de version
  • Added ability to control the font size and line width separately
  • Added "barstate.islast" to speed up rendering.
Notes de version
Added P&L percentage
Notes de version

  • Added "equity" input to allow calculating P&L% more accurately when using leverage
  • Added ability to set label background color
Notes de version
Added showing "Equity", including current profit/loss, taking into account any leverage
Notes de version
Fixed formatting issue when profit is $0

Clause de non-responsabilité