PROTECTED SOURCE SCRIPT
์
๋ฐ์ดํธ๋จ ๐ Portafoglio con Breakeven, Commissioni e Net ROI (5 titoli)

๐ Portfolio with Breakeven, Commissions & Net ROI (up to 5 Assets)
This script displays a detailed portfolio performance table directly on your chart.
It supports up to 5 tickers with customizable inputs for entry price, quantity, and commissions.
Features:
Up to 5 assets, individually enabled/disabled.
Breakeven price with commissions (fixed or %).
Displays: price, entry, qty, cost, value, gross P/L, taxes (26%), net P/L, and ROI%.
Table position customizable.
Color-coded results for quick P/L and ROI visualization.
๐ Suitable for traders who need a precise overview of portfolio performance, accounting for fees and taxes.
This script displays a detailed portfolio performance table directly on your chart.
It supports up to 5 tickers with customizable inputs for entry price, quantity, and commissions.
Features:
Up to 5 assets, individually enabled/disabled.
Breakeven price with commissions (fixed or %).
Displays: price, entry, qty, cost, value, gross P/L, taxes (26%), net P/L, and ROI%.
Table position customizable.
Color-coded results for quick P/L and ROI visualization.
๐ Suitable for traders who need a precise overview of portfolio performance, accounting for fees and taxes.
๋ฆด๋ฆฌ์ฆ ๋
ธํธ
๐ Portfolio with Breakeven and Net ROI (Header & Rows Color)This Pine Scriptโข for TradingView allows you to monitor up to 5 tickers inside a dynamic table, showing in real time prices, costs, profits, and return on investment (ROI).
It is designed to provide a clear overview of your portfolio directly on the chart, with extensive options for color customization and calculation parameters.
๐น Key Features
- Multi-ticker table (up to 5 symbols) with the ability to enable/disable each asset.
- Customizable Breakeven text color (independent from the rest of the table).
- Automatic calculations of:
- Current price
- Entry price
- Breakeven price (including commissions)
- Quantity
- Total cost (including entry commissions)
- Current position value
- Gross Profit/Loss
- CGT taxation (set individually per ticker)
- Net Profit/Loss after taxes
- Net ROI (%)
- Configurable commissions for both entry and exit:
- Fixed
- Percentage of trade value
- Full color customization:
- Header background and text
- Row background and text
- Border color and thickness
- Dedicated breakeven color
๐น Table Settings
- Positionable in 9 areas of the chart (top/middle/bottom ร left/center/right).
- Colors adjustable via the settings panel.
- Predefined columns:
1. Ticker
2. Price
3. Breakeven
4. Buy
5. Qty
6. Cost
7. Value
8. P/L
9. CGT
10. P/L Net
11. Net ROI
๐น Purpose of the Script
To provide a portfolio monitoring dashboard directly on your chart, useful for traders and investors who want to keep track of:
- The real-time situation of their positions
- Net ROI after costs and taxes
- Breakeven levels for each symbol
The script is designed for practical and flexible use, with a clear visualization thanks to advanced color management and the tabular layout.
๋ณดํธ๋ ์คํฌ๋ฆฝํธ์ ๋๋ค
์ด ์คํฌ๋ฆฝํธ๋ ๋น๊ณต๊ฐ ์์ค๋ก ๊ฒ์๋ฉ๋๋ค. ํ์ง๋ง ์ ํ ์์ด ์์ ๋กญ๊ฒ ์ฌ์ฉํ ์ ์์ต๋๋ค โ ์ฌ๊ธฐ์์ ์์ธํ ์์๋ณด๊ธฐ.
๋ฉด์ฑ ์ฌํญ
์ด ์ ๋ณด์ ๊ฒ์๋ฌผ์ TradingView์์ ์ ๊ณตํ๊ฑฐ๋ ๋ณด์ฆํ๋ ๊ธ์ต, ํฌ์, ๊ฑฐ๋ ๋๋ ๊ธฐํ ์ ํ์ ์กฐ์ธ์ด๋ ๊ถ๊ณ ์ฌํญ์ ์๋ฏธํ๊ฑฐ๋ ๊ตฌ์ฑํ์ง ์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ ์ด์ฉ ์ฝ๊ด์ ์ฐธ๊ณ ํ์ธ์.
๋ณดํธ๋ ์คํฌ๋ฆฝํธ์ ๋๋ค
์ด ์คํฌ๋ฆฝํธ๋ ๋น๊ณต๊ฐ ์์ค๋ก ๊ฒ์๋ฉ๋๋ค. ํ์ง๋ง ์ ํ ์์ด ์์ ๋กญ๊ฒ ์ฌ์ฉํ ์ ์์ต๋๋ค โ ์ฌ๊ธฐ์์ ์์ธํ ์์๋ณด๊ธฐ.
๋ฉด์ฑ ์ฌํญ
์ด ์ ๋ณด์ ๊ฒ์๋ฌผ์ TradingView์์ ์ ๊ณตํ๊ฑฐ๋ ๋ณด์ฆํ๋ ๊ธ์ต, ํฌ์, ๊ฑฐ๋ ๋๋ ๊ธฐํ ์ ํ์ ์กฐ์ธ์ด๋ ๊ถ๊ณ ์ฌํญ์ ์๋ฏธํ๊ฑฐ๋ ๊ตฌ์ฑํ์ง ์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ ์ด์ฉ ์ฝ๊ด์ ์ฐธ๊ณ ํ์ธ์.