OPEN-SOURCE SCRIPT
Portfolio-Übersicht (3 Assets)

Title: Portfolio Overview (3 Assets)
Description:
This simple indicator allows you to display a quick and clear portfolio overview of up to three different assets (stocks, ETFs, etc.) directly on your TradingView chart.
It is ideal for investors who want to keep an eye on their core positions without constantly switching to their broker.
Features:
Clear Table View: Displays all key metrics in a clean table at the bottom left of the chart.
Profit & Loss Calculation: Calculates the total purchase value, current value, and the resulting profit or loss for each position and the total portfolio.
Color-Coding: Profits are displayed in green and losses in red for immediate visual feedback.
Stable and Reliable: The code is intentionally kept simple to ensure stable functionality.
How to Use:
Add the indicator to your chart.
Open the indicator's settings (the gear icon).
For each of the three positions, enter the following data:
Symbol: The ticker symbol (e.g., NASDAQ:AAPL or GETTEX:EUNL).
Quantity: The number of shares you own.
Purchase Price: Your average purchase price per share.
The script will automatically update the table with the latest closing prices.
Description:
This simple indicator allows you to display a quick and clear portfolio overview of up to three different assets (stocks, ETFs, etc.) directly on your TradingView chart.
It is ideal for investors who want to keep an eye on their core positions without constantly switching to their broker.
Features:
Clear Table View: Displays all key metrics in a clean table at the bottom left of the chart.
Profit & Loss Calculation: Calculates the total purchase value, current value, and the resulting profit or loss for each position and the total portfolio.
Color-Coding: Profits are displayed in green and losses in red for immediate visual feedback.
Stable and Reliable: The code is intentionally kept simple to ensure stable functionality.
How to Use:
Add the indicator to your chart.
Open the indicator's settings (the gear icon).
For each of the three positions, enter the following data:
Symbol: The ticker symbol (e.g., NASDAQ:AAPL or GETTEX:EUNL).
Quantity: The number of shares you own.
Purchase Price: Your average purchase price per share.
The script will automatically update the table with the latest closing prices.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.