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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
TheRealMongoose
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
TheRealMongoose
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。