OPEN-SOURCE SCRIPT

Bitcoin vs VUG/VTV Rolling Ratio Analysis | Astral Vision

355
Bitcoin vs VUG/VTV Rolling Ratio Analysis | Astral Vision 🌠💠

This indicator measures the relative momentum of Bitcoin against the VUG/VTV ratio, which is the price of Vanguard's Growth ETF divided by Vanguard's Value ETF. This ratio is one of the most direct and liquid expressions of the growth-versus-value rotation dynamic in institutional equity markets: when VUG outperforms VTV the ratio rises, signaling that markets are rewarding high-multiple, long-duration assets; when VTV outperforms, the ratio falls, signaling a rotation toward defensive, cash-flow-heavy assets typically associated with tightening liquidity or rising rates.

Bitcoin is itself a long-duration, high-beta asset with structural similarities to growth equities: it tends to expand during the same liquidity-driven environments that favor VUG over VTV, and contract during the same risk-off environments that favor VTV over VUG. Tracking the VUG/VTV ratio alongside Bitcoin's own momentum reveals whether the macro environment is confirming or diverging from Bitcoin's price action, which historically has been a more reliable framework for identifying regime shifts than price-only signals.

The indicator operates in three modes.
  • Average Valuation mode averages the normalized momentum of Bitcoin and the VUG/VTV ratio into a single composite score, comparing it against configurable overbought and oversold percentile thresholds to identify when both are simultaneously extended or depressed.
  • Average Trend mode compares the composite score against its own midpoint to determine whether aggregate momentum is in its upper or lower historical half.
  • Double Signal mode plots Bitcoin and the VUG/VTV ratio momentum separately on the same normalized scale, making divergences between the two directly visible.


This is a cross-asset macro momentum and rotation indicator suited for swing trading and position trading on daily timeframes, functioning as a regime filter that connects Bitcoin's price action to one of the most closely watched equity style rotation signals in institutional markets.

How it differs from standard relative strength tools

A standard BTC/VUG ratio chart divides prices directly, producing a series with no statistical normalization and no connection to VTV. This indicator uses percentage returns normalized over a rolling window, making readings statistically consistent across different periods, and compares Bitcoin not against a single equity ETF but against the growth-value spread, which is a second-order signal capturing the macro liquidity regime rather than a single sector's performance. The three-mode architecture further distinguishes it from a simple ratio overlay by providing composite valuation, trend, and component-level views within a single indicator.

Plots 📊
  • Averaged normalized momentum oscillator with overbought and oversold threshold lines (Average Valuation mode)
  • Averaged normalized momentum with fill against the 50 midline (Average Trend mode)
  • Bitcoin and VUG/VTV normalized momentum plotted separately (Double Signal mode)
  • Overbought and oversold threshold lines (Average Valuation and Double Signal modes)
  • 50 midline reference
  • Background color on the price chart when average enters extreme zones (Average Valuation mode)
  • Candle coloring on the price chart reflecting current regime in all three modes


Inputs 🎛️
  • Mode: Average Valuation, Average Trend, or Double Signal
  • Normalization Period: rolling window for the min-max normalization of returns
  • Lookback Period: return calculation window for both Bitcoin and the VUG/VTV ratio
  • Overbought Threshold: upper percentile level for extreme zone detection
  • Oversold Threshold: lower percentile level for extreme zone detection
  • Transparency: opacity of the background color highlight


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

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.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.