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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.