OPEN-SOURCE SCRIPT
XAUUSD 1H – Bounce & Breakdown Strategy

🚀 XAUUSD 1H – Breakout Momentum Strategy
📖 Overview
The Breakout Momentum Strategy is designed for XAUUSD (Gold/USD) on the 1-hour timeframe. It identifies powerful momentum breakouts above resistance (longs) and breakdowns below support (shorts), using a combination of EMA trend filtering, pivot levels, and ATR-based risk management.
This strategy is built for traders who prefer trend continuation setups rather than countertrend bounces — perfect for capturing explosive moves in Gold.
⚙️ Key Features
✅ EMA Trend Confirmation – Filters only high-probability breakouts aligned with trend.
✅ Pivot-Based Levels – Automatic support/resistance detection for breakout triggers.
✅ ATR Stops & Targets – Adaptive risk management with TP1 + TP2 exits.
✅ Smart Risk Control – Position sizing based on % equity risk.
✅ Backtest Ready – Pre-configured with commission & slippage for realistic results.
🎯 Trading Logic
Bullish Breakout Entry
EMA50 > EMA200 (bullish bias)
Price closes above pivot resistance
Long entry with ATR stop & multi-target exits
Bearish Breakdown Entry
EMA50 < EMA200 (bearish bias)
Price closes below pivot support
Short entry with ATR stop & multi-target exits
📊 Backtest Configuration
Symbol: XAUUSD (Gold/USD)
Timeframe: 1H
Initial Capital: $10,000
Risk Per Trade: 1% (adjustable)
Commission: 0.01% per side
Slippage: 2 ticks
These defaults can be modified to match broker conditions or your own strategy preferences.
⚡ How to Use
Load the strategy on the XAUUSD 1H chart.
Run a backtest to see historical performance.
Adjust EMA lengths, ATR multipliers, and risk % for optimization.
Use alerts for real-time breakout trade signals if converting to an indicator.
📌 Notes
Educational only – not financial advice.
Past results don’t guarantee future performance.
Always validate on multiple assets & timeframes.
📖 Overview
The Breakout Momentum Strategy is designed for XAUUSD (Gold/USD) on the 1-hour timeframe. It identifies powerful momentum breakouts above resistance (longs) and breakdowns below support (shorts), using a combination of EMA trend filtering, pivot levels, and ATR-based risk management.
This strategy is built for traders who prefer trend continuation setups rather than countertrend bounces — perfect for capturing explosive moves in Gold.
⚙️ Key Features
✅ EMA Trend Confirmation – Filters only high-probability breakouts aligned with trend.
✅ Pivot-Based Levels – Automatic support/resistance detection for breakout triggers.
✅ ATR Stops & Targets – Adaptive risk management with TP1 + TP2 exits.
✅ Smart Risk Control – Position sizing based on % equity risk.
✅ Backtest Ready – Pre-configured with commission & slippage for realistic results.
🎯 Trading Logic
Bullish Breakout Entry
EMA50 > EMA200 (bullish bias)
Price closes above pivot resistance
Long entry with ATR stop & multi-target exits
Bearish Breakdown Entry
EMA50 < EMA200 (bearish bias)
Price closes below pivot support
Short entry with ATR stop & multi-target exits
📊 Backtest Configuration
Symbol: XAUUSD (Gold/USD)
Timeframe: 1H
Initial Capital: $10,000
Risk Per Trade: 1% (adjustable)
Commission: 0.01% per side
Slippage: 2 ticks
These defaults can be modified to match broker conditions or your own strategy preferences.
⚡ How to Use
Load the strategy on the XAUUSD 1H chart.
Run a backtest to see historical performance.
Adjust EMA lengths, ATR multipliers, and risk % for optimization.
Use alerts for real-time breakout trade signals if converting to an indicator.
📌 Notes
Educational only – not financial advice.
Past results don’t guarantee future performance.
Always validate on multiple assets & timeframes.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
✨ Shared Success | Trusted Growth ✨
🚀 Profit Sharing 50/50 – Discipline & Transparency
📊 Free Signals: 👉 t.me/MSKHANTRADR35
💼 Account Management: DM me or join the channel
🚀 Profit Sharing 50/50 – Discipline & Transparency
📊 Free Signals: 👉 t.me/MSKHANTRADR35
💼 Account Management: DM me or join the channel
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
✨ Shared Success | Trusted Growth ✨
🚀 Profit Sharing 50/50 – Discipline & Transparency
📊 Free Signals: 👉 t.me/MSKHANTRADR35
💼 Account Management: DM me or join the channel
🚀 Profit Sharing 50/50 – Discipline & Transparency
📊 Free Signals: 👉 t.me/MSKHANTRADR35
💼 Account Management: DM me or join the channel
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.