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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.