Basic script that represents your position on the chart as a line along with your position size, price, change in price, and P&L.
版本注释:
- Added ability to control the font size and line width separately
- Added "barstate.islast" to speed up rendering.
版本注释:
Added P&L percentage
版本注释:
- Added "equity" input to allow calculating P&L% more accurately when using leverage
- Added ability to set label background color
版本注释:
Added showing "Equity", including current profit/loss, taking into account any leverage
版本注释:
Fixed formatting issue when profit is $0