OPEN-SOURCE SCRIPT

📊 Portafoglio Verticale Personalizzabile (5 Tickers, Net ROI)

58
📊 Customizable Vertical Portfolio (5 Tickers, Net ROI)

Type: Pine Script v6 Indicator (TradingView)
Layout: Vertical table (up to 5 tickers + header)

🔹 Features

Tracks up to 5 tickers simultaneously

Table position selectable (top, middle, bottom; left, center, right)

Customizable colors (header, rows, borders)

Optional header display

🔹 Calculations

For each ticker:

Total cost = Entry price × Qty + Entry commissions

Current value = Current price × Qty – Exit commissions

Net P/L = Current value – Cost – Taxes

Net ROI (%) = (Net P/L ÷ Cost) × 100

🔹 Commission & Tax

Entry/Exit: Fixed or Percentage

CGT: user-defined %, applied only on profits

🔹 Output Table

| Ticker | Net P/L | Net ROI (%) |

Color-coded: Green = Profit, Red = Loss, Silver = Neutral/NA

✅ Best for

Multi-asset tracking in one chart

Real-time evaluation of profits after fees & taxes

Clear, visual portfolio monitoring

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。