OPEN-SOURCE SCRIPT
已更新

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.
版本注释
Color improements

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。