OPEN-SOURCE SCRIPT
Mis à jour

Future Value Projection

72
Future Value Projection with Actual CAGR

This indicator calculates the future value (FV) of the current ticker’s price using its historical Compound Annual Growth Rate (CAGR). It measures how much the price has grown over a chosen lookback period, derives the average annual growth rate, and then projects the current price forward into the future.

Formulae:

CAGR:

Pine Script®
CAGR = ( PV_now / PV_past )^(1 / t) - 1



Future Value:

Pine Script®
FV = PV_now × ( 1 + CAGR / n )^( n × T )



Where:

PV_now = Current price

PV_past = Price t years ago

t = Lookback period (years)

CAGR = Compound Annual Growth Rate

n = Compounding periods per year (1=annual, 12=monthly, 252=daily, etc.)

T = Projection horizon (years forward)

How it works:

Select a lookback period (e.g., 3 years).

The script finds the price from that time and computes the CAGR.

It then projects the current price forward by T years using the CAGR.

The chart shows:

Current price (blue)

Projected FV target (green)

A table with CAGR and projection details

Use case:
Helps investors and traders visualize long-term growth projections if the ticker continues growing at its historical pace.
Notes de version
Color improements

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.