OPEN-SOURCE SCRIPT
已更新

Future Value Projection

80
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。