OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
- Added ability to control the font size and line width separately
- Added "barstate.islast" to speed up rendering.
Notas de Lançamento
Added P&L percentageNotas de Lançamento
- Added "equity" input to allow calculating P&L% more accurately when using leverage
- Added ability to set label background color
Notas de Lançamento
Added showing "Equity", including current profit/loss, taking into account any leverageNotas de Lançamento
Fixed formatting issue when profit is $0Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.