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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
TheRealMongoose
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
TheRealMongoose
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.