
Overview
Simulates many price paths over a chosen horizon, switches drift and volatility with a hidden regime, and summarises the result as quantile bands and a table of expected value and tail risk.
How it is built
- 1
Estimate a small number of hidden market regimes from returns and volatility (hidden Markov model).
- 2
Give each regime its own drift and volatility, with probabilities of switching from one to another.
- 3
Simulate many paths in which the regime can change along the way.
- 4
Summarise the paths as quantile bands, expected value and tail-risk figures in a table.
How to read it
- Bands are simulation quantiles; the median is not a prediction of direction.
- Tail figures depend on the recent history used to fit the model.
Limits
- Regimes are estimated on past data and can change faster than the model adapts.
- Tail estimates rely on the history available: rare events are rare in the sample too.
Data
- Runs on TradingView, on any symbol and timeframe your TradingView plan offers.
