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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
✨ 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
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
✨ 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
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.