OPEN-SOURCE SCRIPT

Normalized Equity/Bond Ratio

135
This indicator calculates a normalized equity-to-bond ratio over a 252-day lookback (~1 trading year) to assess risk-on vs. risk-off sentiment. It addresses the issue of direct ratios (e.g., SPY/TLT) being visually dominated by high nominal stock prices, which can obscure bond price movements.

A rising ratio indicates equities are outperforming bonds, suggesting risk-on conditions, while a declining ratio signals a shift toward bonds, often associated with risk-off behavior. The normalization ensures better visibility and comparability of the trend over time.

A ratio > 1 means the equity (e.g., SPY) is outperforming the bond (e.g., AGG) since the lookback. A ratio < 1 means bonds are outperforming.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.