GSD by MATA - Gold-Sensitive Divergence Indicator Overview: The GSD by MATA indicator is designed to analyze the inverse correlation between an instrument’s price movement and gold (XAU/USD) over a selected time period. It helps traders identify whether the instrument tends to move in the opposite direction of gold, providing insights into potential hedging opportunities or market sentiment shifts.
How It Works:
User-Defined Time Period:
The user selects a time frame for comparison (1 Day, 1 Week, 1 Month, 3 Months, 6 Months, or 12 Months). The indicator calculates the percentage change in both the instrument’s price and gold price over this period. Inverse Movement Calculation:
If gold increases and the instrument decreases, the indicator registers a negative inverse change. If gold decreases and the instrument increases, the indicator registers a positive inverse change. If both move in the same direction, no inverse movement is recorded. Cumulative Tracking:
The Reverse Change line shows the instant inverse movement. The Total Change line accumulates the inverse movements over time, helping traders spot trends and long-term divergences. How to Use:
A rising Total Change line (green) suggests that the instrument frequently moves in the opposite direction of gold, indicating a possible hedge effect. A falling Total Change line (red) means the instrument has been moving in sync with gold rather than diverging. The 0 reference line helps identify whether the cumulative effect is positive or negative over time.
Script de código aberto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.