OPEN-SOURCE SCRIPT
AI Agent XAU Scalper V1

AI Agent XAU Scalper V1 is a custom indicator designed to help traders read the XAU/USD (Gold) market direction more quickly and clearly, especially on lower timeframes (M1–M15).
This indicator provides automatic BUY/SELL signals along with a dynamic trail line that can be used as a guide for moving support and resistance levels. With a clean and informative display, it is suitable for day traders who need fast decision-making in the highly volatile gold market.
🎯 Key Features
Automatic BUY/SELL signals with clear and easy-to-read labels.
Dynamic trail line as a guide for support and resistance.
Optional Heikin Ashi mode for smoother trend visualization.
Alert system → supports TradingView notifications so traders never miss an entry.
Optimized for XAU/USD scalping → works best on M1, M5, and M15 timeframes.
⚡ How to Use
Add the indicator to the XAU/USD chart.
Adjust the parameters as needed:
ATR Period (default 10)
Sensitivity (default 1.0)
Heikin Ashi mode: optional
Follow the signals:
Green label = BUY
Red label = SELL
Trail line = dynamic support/resistance guide
📌 Notes
This indicator is not a guaranteed profit tool. Always apply proper risk management and trading discipline.
Recommended for scalping on lower timeframes, but can also be tested on higher timeframes depending on the trader’s style.
This indicator provides automatic BUY/SELL signals along with a dynamic trail line that can be used as a guide for moving support and resistance levels. With a clean and informative display, it is suitable for day traders who need fast decision-making in the highly volatile gold market.
🎯 Key Features
Automatic BUY/SELL signals with clear and easy-to-read labels.
Dynamic trail line as a guide for support and resistance.
Optional Heikin Ashi mode for smoother trend visualization.
Alert system → supports TradingView notifications so traders never miss an entry.
Optimized for XAU/USD scalping → works best on M1, M5, and M15 timeframes.
⚡ How to Use
Add the indicator to the XAU/USD chart.
Adjust the parameters as needed:
ATR Period (default 10)
Sensitivity (default 1.0)
Heikin Ashi mode: optional
Follow the signals:
Green label = BUY
Red label = SELL
Trail line = dynamic support/resistance guide
📌 Notes
This indicator is not a guaranteed profit tool. Always apply proper risk management and trading discipline.
Recommended for scalping on lower timeframes, but can also be tested on higher timeframes depending on the trader’s style.
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.
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.