OPEN-SOURCE SCRIPT
Mongoose Unified Volatility Index (UVI)

The Mongoose Unified Volatility Index (UVI) combines multiple volatility measures into a single normalized framework, helping traders track the full volatility cycle at a glance.
Methodology
UVI blends the following components:
Bollinger Band Width%
ATR% (Average True Range)
Historical Volatility (close-to-close)
Parkinson Volatility (high-low log range)
Donchian Width%
TR% (True Range percent)
Each input is normalized into a 0–100 scale and weighted. A smoothed EMA acts as a trend filter. Adaptive percentiles define Quiet / Neutral / Active regimes, making UVI responsive across assets and timeframes.
Features
Composite Line (UVI) with dynamic coloring
Green = volatility expanding above EMA
Red = volatility decaying below EMA
EMA Baseline (white) for context
Regime Shading (Quiet, Neutral, Active) based on adaptive percentiles
Expansion Signals (Exp Up / Exp Dn) when volatility crosses EMA around squeeze conditions
Compact Stats Table (top-right) showing UVI, Percentile, Squeeze state, and Regime
How to Use
Quiet → Exp Up: Prime breakout setups. Market energy igniting.
Active → Exp Dn: Trend exhaustion. Manage risk or fade extremes.
Neutral Regime: Mid-volatility, expect chop and tactical swings.
Gradient Fill: Quick bias check — green favors trend trades, red favors patience.
UVI is best used as a volatility state detector to time entries/exits around compressions and expansions, rather than a standalone buy/sell tool.
Methodology
UVI blends the following components:
Bollinger Band Width%
ATR% (Average True Range)
Historical Volatility (close-to-close)
Parkinson Volatility (high-low log range)
Donchian Width%
TR% (True Range percent)
Each input is normalized into a 0–100 scale and weighted. A smoothed EMA acts as a trend filter. Adaptive percentiles define Quiet / Neutral / Active regimes, making UVI responsive across assets and timeframes.
Features
Composite Line (UVI) with dynamic coloring
Green = volatility expanding above EMA
Red = volatility decaying below EMA
EMA Baseline (white) for context
Regime Shading (Quiet, Neutral, Active) based on adaptive percentiles
Expansion Signals (Exp Up / Exp Dn) when volatility crosses EMA around squeeze conditions
Compact Stats Table (top-right) showing UVI, Percentile, Squeeze state, and Regime
How to Use
Quiet → Exp Up: Prime breakout setups. Market energy igniting.
Active → Exp Dn: Trend exhaustion. Manage risk or fade extremes.
Neutral Regime: Mid-volatility, expect chop and tactical swings.
Gradient Fill: Quick bias check — green favors trend trades, red favors patience.
UVI is best used as a volatility state detector to time entries/exits around compressions and expansions, rather than a standalone buy/sell tool.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
TheRealMongoose
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
TheRealMongoose
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.