PROTECTED SOURCE SCRIPT

unrealized pnl for btcusdt (or any linear perp)

2 208
haven't seen this published, so i made it to watch my position while looking at my TV chart

right now, code works for just linear contracts (base currency margined, not quote currency) and i will have to add the code for inverse perps soon in the next update

very simple tool... not much to explain

just enter
  • long or short
  • average entry
  • position size (designed for btc since i'm a maxi, but entering the amount of any base currency should work)
  • take profit


then you'll get candles for your position and a line for your TP (and its amount)

next version will add a feature to plot inverse perps

(sorry TV if this doesn't abide by the House Rules exactly)

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.