OPEN-SOURCE SCRIPT
Mis à jour

Copper_to_Gold_Ratio by Zeche

97
Cu/Au Ratio – LINES + LABELS is a clean, macro-oriented indicator built around the Copper/Gold price ratio — a well-known gauge of economic strength, market sentiment, and shifts between risk-taking and risk-aversion.

The script calculates:

the 120-day SMA of the Copper/Gold ratio

the standard deviation over the same period

the ±1σ, ±1.5σ, and ±2σ deviation bands

automatic labels on the last bar for maximum clarity

The design is minimalistic and visually optimized so users can quickly understand where the current ratio sits relative to long-term norms. The deviation zones help highlight moments when the market transitions into RISK-ON or RISK-OFF behavior.

How to interpret the signals:

Above +2σ → RISK-OFF environment (defensive tone, macro stress)

Below −2σ → RISK-ON environment (increased risk appetite)

±1σ bands represent normal cyclical movements

The SMA acts as the long-term equilibrium level
Notes de version
Cu/Au Ratio – LINES + LABELS is a clean, macro-oriented indicator built around the Copper/Gold price ratio — a well-known gauge of economic strength, market sentiment, and shifts between risk-taking and risk-aversion.

The script calculates:

the 120-day SMA of the Copper/Gold ratio

the standard deviation over the same period

the ±1σ, ±1.5σ, and ±2σ deviation bands

automatic labels on the last bar for maximum clarity

The design is minimalistic and visually optimized so users can quickly understand where the current ratio sits relative to long-term norms. The deviation zones help highlight moments when the market transitions into RISK-ON or RISK-OFF behavior.

How to interpret the signals:

Above +2σ → RISK-OFF environment (defensive tone, macro stress)

Below −2σ → RISK-ON environment (increased risk appetite)

±1σ bands represent normal cyclical movements

The SMA acts as the long-term equilibrium level

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.