Gold H4 Pullback Breakout
- エキスパート
-
Kizhi Hamashima
独学でMQL5によるEA開発を学び、XAUUSD(ゴールド)を中心に、自動売買の研究・開発を続けています。
これまでに数百のEAを作成し、改良や設定の検証を含め、数万回にわたるテストを重ねてきました。その試行錯誤の中から、自分自身の検証基準を満たし、実運用に使えると判断したEAだけを厳選して出品しています。
開発で大切にしているのは、利益だけでなく、ドローダウンやリスク管理にも目を向けること。無料・有料を問わず、実際に使う人にとって価値のあるEAを届けたいと考えています。
開発の経緯や検証の記録は、noteでも公開しています。 - バージョン: 1.0
Gold H4 Pullback Breakout is a simple trend-following EA for XAUUSD (Gold), built from the author's own discretionary gold trading method.
How it works
- Trend: when EMA 30 crosses EMA 200 on H4, the EA takes that direction as the trend.
- Pullback: it waits for a closed H4 bar that touches EMA 30, and records that bar's high and low.
- Entry: when a later H4 bar closes above that high (buy) or below that low (sell), it enters in the trend direction.
- Exit: Stop Loss = ATR(14) x 1.5, Take Profit = ATR(14) x 4.0, both set at entry.
- All decisions are made on closed H4 bars only.
Safety
- Fixed lot. No martingale, no grid, no averaging.
- One position at a time. No new trade while any position is open on the same symbol (including manual trades and other EAs).
- After being attached, it waits for the next new bar and does not enter on old signals.
- Checks free margin before every order and skips the trade if margin is not enough.
Backtest (MT5 Strategy Tester)
- Symbol: XAUUSD (XM GOLD#), H4
- Period: 2020.01.01 - 2026.10.18
- Model: 1 minute OHLC
- Lot: 0.01 fixed, initial deposit 100,000 JPY
- Trades: 182
- Profit factor: 1.68
- Net profit: +280,344 JPY
- Profitable in 6 of the 7 calendar years tested
Inputs
- FastEMA = 30
- SlowEMA = 200
- ATRPeriod = 14
- SL_ATR = 1.5
- TP_ATR = 4.0
- Lots = 0.01
- Magic = 20261125
- DeviationPoints = 20
Recommendations
- Symbol: XAUUSD (Gold)
- Calculations always use H4, regardless of the chart timeframe.
- Trading frequency is low (about 2 trades per month on average).
Past performance does not guarantee future results.
