Rangehound Gold
- Experts
-
Kim Seongyu
I approach investing by asking what drives an investment’s return, what could undermine it, and what evidence would change my view. - Versione: 1.0
- Attivazioni: 5
Rangehound Gold gives you two ways to trail hourly gold breakouts in one MetaTrader 5 Expert Advisor. Gold Breakout and Gold Trend use the same entry rule on XAUUSD. In the free MT5 Strategy Tester demo, change just the Strategy input to compare their stops and exits on your broker's price history.
Choose a strategy
- Gold Breakout (default) uses a trailing distance of twice the 14-bar hourly average true range (ATR).
- Gold Trend uses four ATRs while the trend filter is active and two otherwise. A wider setting leaves an existing stop in place until it can be tightened.
The entry signal is an hourly close beyond the range of the previous 20 bars. Each entry requests an initial stop-loss. Once peak open profit before costs reaches twice the initial price risk, the EA checks for a tighter stop on each new hourly bar. The 10-bar channel exit applies from entry. An hourly close below the previous 10-bar low triggers a request to exit a long position. A close above the previous 10-bar high does the same for a short position.
Try both strategies in MT5
- Open the Free Demo in the MT5 Strategy Tester. Choose your broker's gold symbol and H1, then set the dates, deposit and execution delay for your test.
- Run Gold Breakout with the default inputs. Change only Strategy to Gold Trend and repeat. Compare where each stop moved, when the trade closed and how far equity fell from its peak.
- To use a purchased or rented copy on a chart, attach it to one gold chart and enable Algo Trading in both the EA and the terminal. It reads the chart symbol, including broker suffixes. On a netting account, keep that symbol dedicated to the EA.
A year in the Strategy Tester
These four independent simulations used Rangehound Gold v1.0 with its default settings. Each ran on XAUUSD.r H1 from January through December 2025, with a USD 10,000 starting deposit and 1:100 leverage. MT5 reported real ticks throughout the period. Only the strategy and fixed execution delay varied.
| Strategy | Delay | Trades | Net result (USD) | Max equity drawdown |
|---|---|---|---|---|
| Gold Breakout | 0 ms | 182 | +7,339.62 | 18.78% |
| Gold Breakout | 1,000 ms | 183 | +7,282.94 | 18.86% |
| Gold Trend | 0 ms | 173 | +8,491.78 | 20.22% |
| Gold Trend | 1,000 ms | 175 | +7,380.19 | 20.66% |
In these 2025 simulations, Gold Trend had the higher net result and Gold Breakout had the smaller equity drawdown at both tested delays. Results include the tester's commission and swap. Your broker's quotes, costs and fills can change both the trade count and the drawdown.
Follow one breakout
In an MT5 test on 5 November 2024 using ticks generated from one-minute bars, gold closed an hourly bar at 2,728.53, below the previous 20-bar low of 2,731.79. The EA sold 0.16 lots at 2,728.52. The initial stop at 2,738.85 filled at 2,738.88 later that morning. The gallery marks the signal, entry and stop on this simulated trade.
Risk and day-to-day operation
Position size. The default risk budget is 2% of current account equity per trade. The EA skips an entry when the broker's minimum lot would exceed the budget. A gap, delayed fill or trading costs can take the loss beyond the estimate.
Daily loss limit. By default, a 2% drop from the first account equity reading of the broker day triggers a request to close the EA's own position and suspends new entries for the day. The separate peak-equity drawdown stop is off by default.
When the EA is waiting. A fresh hourly breakout is required. A volatility shock, a wide spread or insufficient price history can also hold an entry. Check the chart status and the Experts log. A strategy change takes effect once open exposure and outstanding order requests clear.
When MT5 is offline. The last stop accepted by the broker stays in place. Trailing and channel exits need the EA running and connected with Algo Trading enabled. Renew a rental before expiry or take over any open position.
