Aquila Reale Gold/DXY Correlation v1.4 by giua64🦅 Aquila Reale Gold/DXY Correlation — by giua64
WHAT IT DOES
This indicator measures the rolling inverse correlation between Gold and the US Dollar in real time. Gold and the Dollar normally move in opposite directions — when that relationship holds, the Dollar is the driver and you can trust it. When the relationship breaks, something else is pushing Gold (real yields, safe-haven flows, fear). Spotting that break is the real edge.
HOW TO READ IT
The correlation is inverted so the chart is intuitive:
Line HIGH and GREEN = strong inverse link (healthy). Gold and Dollar move opposite as they should.
Line YELLOW = the link is weakening.
Line LOW and RED (below zero) = the link is broken. Gold and Dollar are moving the same way — anomaly. Gold is running on its own, not on Dollar weakness.
The midline (zero) is the key reference: above it the inverse relationship is still alive, below it the relationship has flipped.
WHY USDX AND NOT DXY
By default you can use any Dollar symbol in the input. I personally use USDX instead of TVC:DXY because USDX carries volume data, while the TVC Dollar index does not. Correlation is symmetrical (corr A,B = corr B,A), so you only need this indicator on ONE chart — Gold or Dollar, it reads the same link from either side. Using USDX simply lets you keep volume on the Dollar panel.
SETTINGS
Gold symbol and Dollar symbol: fully editable.
Length mode: Auto (preset per timeframe) or Manual. Auto adapts the lookback to the chart TF: 5m=14, 15m=16, 30m=18, 1h=20, 4h=24.
Healthy-link threshold: the level above which the inverse link is considered strong. Suggested sets — Scalping 0.4, Intraday 0.5, Swing 0.6.
ALERTS
Link BROKEN (correlation drops below threshold)
Link RESTORED (correlation back above threshold)
ANOMALY (correlation turns negative — moving together)
DISCLAIMER
This script is for educational and informational purposes only. It is not financial advice. Trading involves risk; always do your own analysis and manage your risk.
🦅 Royal Eagles — born to fly, born to dare!
🦅 Aquile Reali — Be Stable. Be Strong.
Indicator


