OPEN-SOURCE SCRIPT

OTHERS/USDT.D Z-Score | Astral Vision

789
OTHERS/USDT.D Z-Score | Astral Vision 🌠💠

This indicator constructs a ratio between the OTHERS market cap dominance and USDT dominance, then applies Z-Score normalization in log space to measure how statistically extreme the current positioning of altcoin capital relative to stablecoin dry powder is compared to its own history.
OTHERS dominance tracks the combined market cap share of all cryptocurrencies excluding Bitcoin, Ethereum, and the top few large caps, making it a direct proxy for altcoin season conditions. USDT dominance measures the share of total crypto market cap held in Tether, which rises when capital exits risk assets into stablecoins and falls when stablecoin capital is deployed into crypto assets.

Calculation ⚙️

The ratio is computed as OTHERS dominance divided by USDT dominance on a daily timeframe. A high ratio means altcoin capital is large relative to stablecoin reserves, indicating that available dry powder has been deployed and the altcoin market is extended. A low ratio means stablecoin dominance is high relative to altcoin exposure, indicating that capital has retreated to safety and dry powder is accumulating.

The natural logarithm of this ratio is then taken before all subsequent calculations. Working in log space normalizes the exponential growth of both series across different market cycles, ensuring that a ratio change from 2 to 4 is treated as equivalent in magnitude to a change from 4 to 8, which is the correct treatment for proportional dominance relationships.

A simple moving average and standard deviation are computed over the configurable Z-Score lookback window, producing the Z-Score as: (log ratio minus mean) / standard deviation. This expresses the current ratio in units of standard deviations above or below its own historical average, making readings directly comparable across cycles regardless of the absolute dominance levels involved.

In Trend mode, an EMA of configurable length is applied to the Z-Score itself, functioning as a signal line. When the Z-Score is above its EMA, the momentum of the ratio is positive and altcoin conditions are improving relative to stablecoin reserves; when below, the momentum is negative.

Plots 📊
  • Z-Score oscillator colored by mode and regime
  • Two upper threshold lines marking statistically elevated altcoin exposure (Extremes mode)
  • Two lower threshold lines marking statistically depressed altcoin exposure (Extremes mode)
  • Fill highlights when Z-Score enters the outer extreme zones
  • Zero baseline
  • EMA signal line (Trend mode)
  • Background color on the price chart when Z-Score enters the outer extreme zones (Extremes mode)
  • Candle coloring on the price chart reflecting current regime in both modes


Inputs 🎛️
  • Visualization: Extremes or Trend
  • Z-Score Lookback: normalization window for mean and standard deviation
  • Upper Z 1 and Upper Z 2: configurable inner and outer upper threshold levels
  • Lower Z 1 and Lower Z 2: configurable inner and outer lower threshold levels
  • EMA Length: smoothing period for the trend signal line (Trend mode)


Colors 🎨
5 Astral Vision presets + custom override. Default: Futura.

Purpose 🎯
Standard altcoin season indicators use fixed dominance thresholds or simple moving average crossovers on raw dominance values, which are not statistically normalized and behave differently across cycles as the total crypto market cap grows. This indicator normalizes the ratio in log space over a long rolling window, making a Z-Score of +2.0 in 2021 and a Z-Score of +2.0 in 2024 carry equivalent statistical weight despite the absolute dominance percentages being different. The dual threshold system further separates moderate elevated conditions from statistically severe ones, allowing a more nuanced reading than a single overbought/oversold line can provide.

Disclaimer ⭕️
This indicator is for informational and educational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making investment decisions.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.