PROTECTED SOURCE SCRIPT

OU Mean-Reversion Bands

116
This indicator applies the Ornstein-Uhlenbeck (OU) mean-reversion model to price or spread data and automatically visualizes the dynamic equilibrium (μ) and its deviation bands.
It estimates the OU parameters (φ, μ, σₛₜₐₜ) directly from price history, generating adaptive statistical bands that represent overbought and oversold zones.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.