High Tide Gold Breakout EA
- Uzmanlar
-
Mark Christopher Small
I'm Mark, a UK trader who has traded full time since 2023. I build MT5 Expert Advisors under High Tide Trading and run them with my own money.
Every EA starts with written rules and pass criteria, gets one clean backtest and is dropped if it fails. - Sürüm: 3.1
- Etkinleştirmeler: 5
High Tide Gold Breakout trades gold (XAUUSD) and silver (XAGUSD) on one chart. It waits for price to break a swing high or swing low on the daily chart and enters with a stop order placed just inside that level. Every trade has a stop loss and a take profit at the broker from the moment it opens. There is no grid, no martingale and no averaging into losers.
This is the gold and silver part of the High Tide EA, sold on its own for traders who only want metals.
How it trades
The EA finds swing highs and lows on the daily chart using two settings (a 20/3 swing and a 10/2 swing). A buy stop sits a small distance below each unbroken swing high and a sell stop a small distance above each unbroken swing low. The distance is 0.05 x the daily ATR, so it adjusts to how much gold or silver is moving.
The stop loss is 0.5 x the daily ATR. The take profit is 3 times the stop distance. When a trade is 0.5R in profit the stop moves to +0.1R. From +2R a trailing stop follows 1.5R behind the best price. Each swing level is traded once.
Gold and silver use the same rules with separate magic numbers. In the backtest their monthly results had a correlation of 0.15, so a losing month in one was often not a losing month in the other. Each metal made about half the profit.
Backtest (IC Markets, every tick based on real ticks, USD 5,000, January 2018 to October 2026, commission included)
Drawdown first:
- Conservative: maximum equity drawdown 6.1% (MT5 relative), 15.2% a year, profit factor 2.88.
- Default: maximum equity drawdown 8.9%, 24.6% a year, profit factor 3.10.
- Aggressive: maximum equity drawdown 11.9%, 33.5% a year, profit factor 3.27.
- Very Aggressive: maximum equity drawdown 18.6%, 54.7% a year, profit factor 3.69.
- Default with C3 (H4) on for gold: maximum equity drawdown 13.7%, 28.3% a year, profit factor 2.52.
On Default: 817 trades, 75% of them winners, 65% of months positive. Worst month -4.6%. Worst 12 months -2.2%. The longest time below a previous high was about 10 months.
I also ran it on Dukascopy real-tick data (100% real ticks), a separate price source with wider spreads at times. Results were weaker: Default made 22.5% a year with a 15.9% maximum equity drawdown.
A backtest is not a forecast. Live results will be lower once slippage, spread changes and changing markets are taken into account. Plan on less than the test shows.
Risk settings
Pick one preset. Conservative risks 0.5% of balance per trade, Default 0.75%, Aggressive 1.0% and Very Aggressive 1.5%. You can also set your own multiplier. Very Aggressive is for traders who accept a drawdown near 20%. Its worst month in the backtest was -9.1%.
The EA watches account equity against its high:
- Reduce Risk: new trades at half size once drawdown passes 60% of the Monitor level.
- Monitor: an alert when drawdown reaches it.
- Stop & Assess: every trade closed, orders deleted and trading paused until you choose to resume.
Monitor and Stop & Assess are 8% / 14% (Conservative), 12% / 20% (Default), 16% / 25% (Aggressive) and 24% / 35% (Very Aggressive). You can set your own.
Extra trades: C3 (H4)
C3 adds a third swing setting on the H4 chart (18/6) for gold. It is off by default. On Default risk it nearly doubled the number of trades (1,556 against 817) and raised growth from 24.6% to 28.3% a year. It also raised the maximum drawdown from 8.9% to 13.7%. Positive months fell from 65% to 54%. If you want more return, Aggressive without C3 gave more growth with less drawdown in the same test. C3 suits traders who would rather have more trades at the same risk per trade.
Prop firm rules (all off by default): daily loss limit with a pre-trade check, maximum overall loss (fixed or trailing), close before the weekend, pause around high-impact news.
Other features
- No new trades from 100 minutes before US Non-Farm Payrolls until 60 minutes after.
- Finds your broker's gold and silver names automatically (XAUUSD.a, XAUUSDm and similar). You can also type them in.
- Works on hedging and netting accounts (netting: one position per metal at a time).
- Dashboard on the chart: status, month, total, closed drawdown, open P/L and slippage for gold, silver and both together.
- Alerts by pop-up, MT5 phone push or Telegram. Weekly and monthly reports.
- Slippage check and a live-versus-backtest check that warn you if results drift well below the test.
- Order retries on temporary broker errors.
Recommended setup
- Attach one copy to any chart, for example XAUUSD H1. The EA reads gold and silver itself.
- A low-spread ECN account with commission is best. Gold spreads above 100 points block new orders.
- A VPS, so the EA runs around the clock.
- Account size: USD 5,000 or more is recommended. On smaller accounts more trades round to the broker minimum lot, so risk per trade is less exact.
- Server time GMT+2/+3 with US daylight saving is the default. Change GB_ServerGMTWinter and GB_ServerDST if your broker differs (used for the Non-Farm Payrolls times).
Who should not buy this
If you want a trade every day, this is the wrong EA. It made about 92 trades a year across both metals and can go several weeks without one. One month in three was a losing month in the backtest. If a 9% drawdown on Default (16% on the Dukascopy data) would make you switch it off, use Conservative or don't buy it.
Questions are welcome through MQL5 messages.
