Halberd Gold user guide: how to test it properly, choose a preset and read the panel
Halberd Gold is a swing-breakout Expert Advisor for XAUUSD. It trades about 3 to 5 times a month, so the most common mistake with it is a test that is too short. This guide shows how I test it, how to choose a risk preset for your balance, and how to read the chart panel. All results below are Strategy Tester backtests, not real trading results.
1. Test at least 12 months, not one
The EA places a buy stop above the most recent H1 swing high only when the H4 and D1 candles are above their 50-period EMA. In a month where gold falls or moves sideways it may not trade at all. A one-month test can therefore show 0 or 1 trade and tells you nothing. Use these settings in the Strategy Tester:
- Symbol XAUUSD, any timeframe (the EA reads H1, H4 and D1 itself).
- Model: "Every tick based on real ticks" if your broker has the history, otherwise "1 minute OHLC".
- Period: at least 12 months, for example 1 January 2025 to today.
- Deposit 10,000 USD, default inputs (Medium preset).
For reference, on MetaQuotes-Demo with real ticks from 15 January 2025 to 31 October 2026 the default settings made 101 trades, profit factor 2.53, maximum equity drawdown 6.4%. On 2010 to 2024 data, which was not used to choose the settings, the result was weaker: 625 trades, profit factor 1.33, maximum drawdown 17.5%. I treat the second number as the realistic long-term reference.
2. Choose the preset by your balance
- Low: 0.5% risk per trade, daily loss limit 2%, drawdown stop 10%. Needs about 2,000 USD.
- Medium (default): 1% risk, daily limit 3%, drawdown stop 20%. Needs about 1,000 USD.
- High: 2% risk, daily limit 5%, drawdown stop 30%.
With a smaller balance the minimum lot check skips many signals: if the smallest lot would risk more than twice the target, the EA does not trade and writes the reason to the Journal. It never raises the risk to fit a small account.
3. Read the panel
The first line of the panel shows one state:
- Active: waiting for a breakout.
- Waiting: outside trading hours: outside 07:00 to 20:00 GMT.
- Paused: news window or Paused: daily loss limit: the news filter (30 minutes before and after high-impact USD events) or the daily limit is in effect.
- Stopped: max drawdown: the drawdown stop was reached. Trading resumes only when you change the reset input on purpose.
- Not trading: enable Algo Trading: Algo Trading is off in the terminal or in the EA's properties.
Below the state you see today's result, the drawdown from the peak, the next news event, the spread and the open positions.
4. Questions I get
No trades for two weeks. Is it broken? Probably not. Check the panel state first. If it reads Active, the trend filter or the distance rule (the level must be within 1.5 ATR of the price) has simply not allowed an entry. Some months have none.
Does it work on my broker? It reads digits and contract size from the symbol, so 2- and 3-digit gold quotes both work. The server time zone is detected for GMT+2/+3 servers or can be set by hand. Results depend on spreads and execution, so a low-spread account and a VPS are recommended.
Will it touch my other trades? It manages only its own magic number. On a netting account it places no orders while any position is open on the symbol.
Losing years? Yes. In the 2010 to 2024 test, 2012 lost 11.7R and 2020, 2021 and 2024 were close to flat. Every order has a stop loss and a take profit; there is no grid and no martingale.
Trading gold with leverage carries a high risk of loss. Test on a demo account first. Product page and free demo: https://www.mql5.com/en/market/product/207186


