OPEN-SOURCE SCRIPT

SPX / Silver (XAGUSD) Ratio

284
This script visualizes the S&P 500 Index to Silver ratio (SPX/Silver) — a powerful tool for monitoring the relative strength of equities vs. precious metals over time.

📊 Use Case:

Helps traders assess macro sentiment shifts between risk-on (equities) and risk-off (commodities).

A rising ratio indicates equity outperformance vs Silver, often in growth-driven bull markets.

A falling ratio suggests Silver is outperforming — potentially due to inflation, geopolitical risk, or weakening equities.

⚙️ Data & Calculation:

SPX: SP:SPX (S&P 500 Index)

Silver: TVC:SILVER

Formula:
SPX / Silver
(Both are spot/index prices, updated on daily timeframe)

📈 Interpretation:

📈 Ratio Rising → SPX outperforming Silver → Risk-on sentiment

📉 Ratio Falling → Silver outperforming SPX → Possible flight to safety or inflation hedge

🧠 Ideal For:

Macro trend analysis

Intermarket strategy development

Asset rotation decision-making

Spotting Silver bottoms during SPX/Silver peak zones

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.