PROTECTED SOURCE SCRIPT
Cập nhật XAUUSD 9-Grid Scalper (9-levels, 3pt TP)

📈 Overview
The XAUUSD 9-Grid Scalper is a precision-based intraday strategy designed for gold scalping around key 9-based price zones. Gold (XAUUSD) often reacts strongly to levels that are multiples of 9, and this script builds a dynamic grid of 18 levels around the current price to capture short-term momentum moves.
This strategy uses 9-point take profits (TP) and configurable stop-loss levels, allowing for fast in-and-out scalps within volatile gold sessions. It’s optimized for short-term traders who focus on 1M–5M charts.
⚙️ Core Logic
Dynamic 9-Multiples Grid: Automatically plots 18 nearby levels spaced by multiples of 9.
Entry Signals:
Long when price breaks above a 9-level.
Short when price breaks below a 9-level.
Take Profit: Fixed at 9 points (configurable).
Stop Loss: Adjustable for flexible risk management.
Backtest-Ready: Uses strategy() for full performance analytics (win rate, profit factor, drawdown).
💡 Best Use Cases
Ideal for gold scalpers during London and New York sessions.
Works best on 1M–5M timeframes with high volatility.
Combine with volume or trend filters (e.g., RSI, MA slope) for improved accuracy.
🧠 Customization Options
Number of grid levels (default: 18)
Take profit & stop loss distance (default: 9pt TP)
Display toggle for 9-grid visualization
Optional filters for session time or volatility
⚠️ Disclaimer
This strategy is for educational and research purposes only.
Past performance does not guarantee future results. Always test on demo before trading live.
The XAUUSD 9-Grid Scalper is a precision-based intraday strategy designed for gold scalping around key 9-based price zones. Gold (XAUUSD) often reacts strongly to levels that are multiples of 9, and this script builds a dynamic grid of 18 levels around the current price to capture short-term momentum moves.
This strategy uses 9-point take profits (TP) and configurable stop-loss levels, allowing for fast in-and-out scalps within volatile gold sessions. It’s optimized for short-term traders who focus on 1M–5M charts.
⚙️ Core Logic
Dynamic 9-Multiples Grid: Automatically plots 18 nearby levels spaced by multiples of 9.
Entry Signals:
Long when price breaks above a 9-level.
Short when price breaks below a 9-level.
Take Profit: Fixed at 9 points (configurable).
Stop Loss: Adjustable for flexible risk management.
Backtest-Ready: Uses strategy() for full performance analytics (win rate, profit factor, drawdown).
💡 Best Use Cases
Ideal for gold scalpers during London and New York sessions.
Works best on 1M–5M timeframes with high volatility.
Combine with volume or trend filters (e.g., RSI, MA slope) for improved accuracy.
🧠 Customization Options
Number of grid levels (default: 18)
Take profit & stop loss distance (default: 9pt TP)
Display toggle for 9-grid visualization
Optional filters for session time or volatility
⚠️ Disclaimer
This strategy is for educational and research purposes only.
Past performance does not guarantee future results. Always test on demo before trading live.
Phát hành các Ghi chú
Some Improvement in there Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.