OPEN-SOURCE SCRIPT

Growth Dashboard

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

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.