OPEN-SOURCE SCRIPT
Обновлено 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.
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.
Информация о релизе
AQUILA REALE GOLD/DXY CORRELATION v1.5🎯 WHAT THIS DOES
Monitors the inverse correlation between Gold (XAUUSD) and the US Dollar Index (DXY) in real-time.
📊 TWO COMPONENTS
1️⃣ CORRELATION LINE (Primary)
Shows strength of the inverse Gold/DXY relationship
Green (0.5+): Healthy inverse correlation
Yellow (0 to 0.5): Weak inverse correlation
Red (below 0): Correlation broken
2️⃣ DOLLAR STRENGTH SIGNAL (Optional Secondary)
Shows if the Dollar is above or below its moving average
LONG GOLD = Dollar below MA (weakening)
SHORT GOLD = Dollar above MA (strengthening)
➜ This signal is optional. Toggle it off if you trade correlation alone.
⚙️ KEY SETTINGS
Auto Window: M1-M5 (14), M15 (16), M30 (18), H1 (20), H4 (24)
Healthy Threshold: 0.5
NY Session Filter: ON (14:00-21:00 UTC)
Dollar SMA: 20 candles
💡 HOW TO USE
Add to XAUUSD chart
Watch the GREEN correlation line
When corr ≥ 0.5, relationship is healthy
Use as CONFLUENCE with your VSA/PA setup
🚨 ALERTS
Dollar crosses above MA → SHORT Gold
Dollar crosses below MA → LONG Gold
🦅 Royal Eagles, born to fly, born to dare
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
AQUILE REALI – Educational tools by giua64
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
AQUILE REALI – Educational tools by giua64
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.