OPEN-SOURCE SCRIPT

Growth Dashboard

79
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.

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.