M1 GOLD Precision EA
- Experts
-
Ade Ruswanda
MQL5/MT5 developer focused on XAUUSD systems.
Real tick data, 100% history quality, out-of-sample validation with data
reserved before parameters are chosen.
Questions answered within 24 hours. - Versão: 1.0
- Ativações: 20
M1 Gold Precision trades one specific situation on XAUUSD: an unusually large one-minute candle that prints inside a prior supply or demand zone.
Gold moves in bursts. When a single M1 candle expands beyond 2.25 times the recent average range, that move is usually driven by a short-lived imbalance rather than genuine repricing. When it happens where price has previously reversed, the odds favour a pullback.
The EA sells after an oversized bullish candle and buys after an oversized bearish one, then manages the position with a staged trailing stop.
No martingale. No grid. No averaging down. One position at a time, always with a hard stop loss attached from the moment of entry.
=== BACKTEST RESULTS ===
Broker: FBS | Symbol: XAUUSD | Timeframe: M1
Period: September 2025 to August 2026 (12 months)
Modelling: Every tick based on real ticks
History quality: 100%
Initial deposit: $100 | Fixed lot 0.01 | Leverage 1:100
Total net profit: $502.35 (502% return)
Profit factor: 6.53
Total trades: 211
Win rate: 84.83%
Short trades won: 81.32%
Long trades won: 87.50%
Balance drawdown: $34.44 (5.87%)
Equity drawdown: $68.62 (23.95%)
Largest single loss: -$20.11
Max consecutive losses: 2 (-$0.64 combined)
Max consecutive wins: 18 (+$76.03)
Recovery factor: 7.33
Results scale proportionally with lot size. The same test at 0.05/0.10 lots returned $2,514 with an identical profit factor of 6.53.
=== HOW THE FILTERS WERE CHOSEN ===
Twelve months of tick data were split in half. Parameters were selected on the first half and verified on the second. Any filter that only worked on the tuning half was discarded.
Filters that were tested and rejected: ADX, RSI, StochRSI, MACD, VWAP, moving average crossovers, trendlines, golden-zone retracement, hour-of-day and day-of-week filters, and several candle-pattern conditions.
What survived: the supply/demand zone filter, the staged trailing stop, the trading window, and a time limit on open positions.
This matters because most published backtests show the result of optimisation, not validation. A system tuned on the same data it is measured on will always look good.
=== SELECTIVE BY DESIGN ===
The EA produces roughly 18 trades per month.
Some days produce one or two positions. Many days produce none at all. The trigger condition is deliberately narrow: an oversized candle is not enough on its own, it must also appear inside a zone where price previously reversed.
If you expect constant activity, this is not the right EA for you. One month is too short a sample to judge it.
=== WHAT YOU SHOULD KNOW BEFORE BUYING ===
Equity drawdown reaches 24%.
Positions are given room to breathe. The stop loss sits at Fibonacci 4.236 of the trigger candle, which is deliberately wide. You will see open positions in the red, sometimes deeply, before the trailing stop engages.
In 12 months of testing, the ten deepest floating drawdowns all closed in profit or at breakeven. Tighter stops were tested from 2.0 to 5.0 and every one of them performed worse. But you need to be comfortable watching a position sit in drawdown before it recovers.
Spread matters. The system was developed on a broker averaging 33 points spread on XAUUSD. Wider spreads will reduce performance. A spread filter is built in and enabled by default.
XAUUSD on M1 only. It has not been validated on other instruments or timeframes.
This EA has not yet accumulated a live track record. The results above are from backtesting on real tick data at 100% history quality. Download the demo and run it in your own Strategy Tester before deciding.
=== PRICE REGIME DEPENDENCY — PLEASE READ ===
This EA was developed and tested on XAUUSD between September 2025 and
August 2026, a period when gold traded between roughly $3,500 and $5,000.
The entry filter requires the trigger candle's range to fall between 500
and 2,000 points. That threshold is absolute, while gold's volatility
scales with its price level. The consequence is that the EA becomes
progressively less active as gold trades lower.
I tested the frozen build on three earlier years to measure this:
Sep 2025 - Aug 2026 gold ~$4,400 average 211 trades
Sep 2024 - Aug 2025 gold ~$2,800 average 18 trades
Sep 2023 - Aug 2024 gold ~$2,100 average 3 trades
Sep 2022 - Aug 2023 gold ~$1,850 average 3 trades
At $1,850 gold, a 500-point candle is equivalent to demanding a
1,190-point candle at 2026 prices — more than twice as strict. The
trigger almost never fires.
What this means for you:
- At current gold prices the EA trades at roughly the tested frequency
- If gold falls substantially, expect trade frequency to drop sharply
- The EA will not start losing money in that scenario; it will simply
stop taking trades
If you want to keep the trade frequency roughly constant as prices
change, lower InpMinPoints proportionally. As a rough guide, the tested
setting of 500 points corresponds to about 0.114% of price. At $3,000
gold that would be approximately 340 points; at $2,500, approximately
285 points.
I have not tested those adjusted values, and I am not claiming the
strategy performs equivalently at lower price levels. I am telling you
what the parameter does and leaving the decision with you.
=== MINIMUM REQUIREMENTS ===
Platform: MetaTrader 5
Symbol: XAUUSD (Gold)
Timeframe: M1
Minimum deposit: $100
Recommended: $200 or higher
Leverage: 1:100 minimum
Account type: Hedging or Netting (both supported)
Broker spread: Below 40 points on XAUUSD
VPS: Strongly recommended
=== RECOMMENDED LOT SIZE ===
Capital $100 -> lot 0.01 -> expected equity drawdown around $69
Capital $200 -> lot 0.02 -> expected equity drawdown around $137
Capital $500 -> lot 0.05 -> expected equity drawdown around $343
Capital $1000 -> lot 0.10 -> expected equity drawdown around $686
Based on the 12-month backtest. Past results do not predict future performance.
=== IMPORTANT SETTINGS ===
InpServerOffset - Your broker's GMT offset. Default 3 (GMT+3).
SET THIS CORRECTLY or the trading window will be wrong.
InpLot - Position size. Start at 0.01 per $100 of capital.
InpMaxSpread - Maximum spread at entry, in points. Default 100.
Lower it to 60 if your broker's spread is volatile.
All other parameters were selected through two-half validation. Changing them moves the system away from what was tested.
=== FIRST RUN CHECKLIST ===
1. Attach to an XAUUSD M1 chart
2. Open the Experts tab - the startup log prints every active setting
3. Confirm the log shows point=0.01 and digits=2
4. Set InpServerOffset to match your broker
5. Enable AutoTrading
The log records every signal and every rejection with a reason. If the EA appears idle, the log will tell you why.
=== SUPPORT ===
Questions answered within 24 hours.
Version updates and technical notes: https://www.mql5.com/en/channels/m1goldprecision
Send me your Strategy Tester report or account statement and I will help you compare it against the reference results above.
=== DISCLAIMER ===
Trading foreign exchange, gold, and CFDs involves substantial risk and may not be suitable for every investor. Past performance does not guarantee future results, and losses are possible.
Results vary between brokers due to differences in execution, spread, slippage, and liquidity.
No system can eliminate trading risk. Test on a demo account before committing real capital.
