Gold Donchian Breakout
- Experts
-
Kizhi Hamashima
I am a self-taught MQL5 EA developer focused on researching and building automated trading systems, primarily for XAUUSD (Gold). - 버전: 1.3
- 업데이트됨: 1 11월 2026
- 활성화: 5
Gold Donchian Breakout | MT5 EA that trades GOLD range breakouts
An automated trading EA for GOLD (XAUUSD) on M5 that enters when a candle closes beyond the high or low of a recent range. It checks the direction and strength of the H4 trend and the tick volume, and trades only breakouts where all conditions line up. It also avoids chasing moves that have already run too far.
Key features
- Signals on closed M5 candles (Donchian period 20)
- H4 EMA (direction and distance) and ADX trend confirmation
- Tick-volume check on the signal candle
- Skips oversized candles and breakouts after an extended run
- Stop loss based on H4 ATR, with upper and lower limits as a percentage of price
- Take profit set relative to the stop distance; the stop is moved near break-even once the trade is sufficiently in profit
- No averaging down, martingale or grid. Every order has a stop loss and a take profit
- One position at a time by default. Daily loss limit, consecutive-loss stop and Friday close included
Backtest results (real ticks)
XM GOLD#, M5, every tick based on real ticks (history quality 100%), random delay
Period: 1 Jan 2025 – 31 Oct 2026 / Initial deposit: 200,000 JPY / Fixed 0.01 lot
- Trades: 240
- Profit factor: 2.04
- Net profit: +536,680 JPY
- Win rate: 63.8% (buys 65.6%, sells 62.0%)
- By year: 2025 PF 2.06 (+207,973 JPY), 2026 PF 2.03 (+328,707 JPY)
- By month: 20 of 22 months profitable
These are past test results and do not guarantee future profits. Please check the EA in the Strategy Tester and on a demo account with your own broker's data and account conditions.
How to use
Attach the EA to a GOLD M5 chart with the default settings. The symbol suffix, maximum spread (price difference), Friday close time (server time) and magic number can be changed in the inputs if needed.
Other GOLD EAs
- Gold Fractal Core: trades M5 fractal breakouts
- Gold Impulse Volume EA: trades short-term acceleration based on M1 candles and tick volume
About version 1.3
With version 1.3, the exit logic has been improved, and the product has moved to a paid version. Thank you to everyone who downloaded it while it was free.

사용자가 평가에 대한 코멘트를 남기지 않았습니다