OPEN-SOURCE SCRIPT
Growth Dashboard

The Multi-Year Growth Dashboard provides a high-level snapshot of an asset’s historical performance directly on your chart. It calculates the total percentage growth for 1-year, 3-year, and 5-year periods based on exact calendar dates.
Unlike simple bar-counting scripts, this indicator uses a "Time-Capsule" logic:
- Calendar Precision: It calculates specific timestamps for 365, 1,095, and 1,825 days ago.
- Persistent Memory: Using the var keyword, the script scans historical bars and "captures" the closing price as it crosses those specific dates.
- Dividend Adjustment: It respects the chart's ADJ (Adjusted for Dividends) toggle, ensuring your total return figures are accurate for stocks like AAPL or MSFT.
Unlike simple bar-counting scripts, this indicator uses a "Time-Capsule" logic:
- Calendar Precision: It calculates specific timestamps for 365, 1,095, and 1,825 days ago.
- Persistent Memory: Using the var keyword, the script scans historical bars and "captures" the closing price as it crosses those specific dates.
- Dividend Adjustment: It respects the chart's ADJ (Adjusted for Dividends) toggle, ensuring your total return figures are accurate for stocks like AAPL or MSFT.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.