OPEN-SOURCE SCRIPT
Updated XAU Index Extend

XAU Composite Index is a custom multi-factor indicator designed to analyze the broader market environment for XAUUSD.
The indicator combines gold price behavior with several related macro and risk-market inputs such as DXY, US500, USOIL, US10Y and inflation-related factors. These inputs are transformed into a composite score to help visualize whether the current gold environment is bullish, bearish, sideways, or conflicting.
Main features:
- Composite XAU market index
- Bullish, bearish, sideways and conflict regime detection
- Background regime zones directly on the chart
- Histogram panel for market bias visualization
- Optional alert conditions for bullish, bearish and conflict signals
- Designed for multi-factor gold market analysis
Color interpretation:
- Green: bullish gold bias
- Red: bearish gold bias
- Blue/gray: sideways or neutral condition
- Yellow/orange: conflict, warning, or mixed market condition
This indicator is not a standalone buy or sell system. It should be used together with price action, market structure, support and resistance, trend analysis, and proper risk management.
The purpose of this tool is to help traders understand the broader environment around gold, not to guarantee trading outcomes.
For educational and analytical purposes only. Not financial advice.
The indicator combines gold price behavior with several related macro and risk-market inputs such as DXY, US500, USOIL, US10Y and inflation-related factors. These inputs are transformed into a composite score to help visualize whether the current gold environment is bullish, bearish, sideways, or conflicting.
Main features:
- Composite XAU market index
- Bullish, bearish, sideways and conflict regime detection
- Background regime zones directly on the chart
- Histogram panel for market bias visualization
- Optional alert conditions for bullish, bearish and conflict signals
- Designed for multi-factor gold market analysis
Color interpretation:
- Green: bullish gold bias
- Red: bearish gold bias
- Blue/gray: sideways or neutral condition
- Yellow/orange: conflict, warning, or mixed market condition
This indicator is not a standalone buy or sell system. It should be used together with price action, market structure, support and resistance, trend analysis, and proper risk management.
The purpose of this tool is to help traders understand the broader environment around gold, not to guarantee trading outcomes.
For educational and analytical purposes only. Not financial advice.
Release Notes
DeprecateOpen-source script
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.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
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.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.