Gold Tri Engine
- Experts
-
Elsayed Mohamed Elsayed Ahmed Hammad
MQL5 developer with 10+ years of hands-on MetaTrader 5 EA development and backtesting.
I build:
- Expert Advisors from your trading rules (breakout, mean reversion, scalping, grid with strict risk control)
- Custom indicators with alerts (push, email, Telegram) and multi-timeframe dashboards - Versão: 2.31
- Ativações: 5
Gold Tri Engine is an Expert Advisor for XAUUSD on H1. It combines two gold strategies, rebuilt from the behaviour of top-performing MQL5 gold signals, and only enters when an 8-point confluence check agrees with the trade direction.
Engine E: Asian-range breakout
- Builds the range from 02:00 to 08:00 server time.
- Enters when an M15 bar closes outside the range, between 08:00 and 18:00.
- Stop loss = half the range, take profit = twice the range.
- One trade per day; any open E trade is closed at 23:00.
- Skips days when the range is under $5 or over $60.
Engine B: late New York scalper
- Buy only, 19:00-20:00 and 22:00-24:00 server time.
- Needs price in the top 15% of the last 24 hours with upward momentum.
- Fixed stop loss $16, take profit $3, trailing stop from +$0.6.
- No new trades on Friday.
Confluence score (0-8)
Before every entry the EA counts how many conditions agree: the engine signals, D1 trend, H4 trend and M15 momentum. Each engine has its own minimum score.
Risk controls
- Every trade has a stop loss and take profit.
- No martingale, no grid, no averaging.
- Lot of 0.01 per $1,000 balance, or a fixed lot.
- Maximum spread filter and a daily loss stop (default 6%).
Backtest (Strategy Tester, XAUUSD H1, 1 Jan - 1 Nov 2026, 70% real ticks, $1,000 deposit, default inputs)
- 425 trades, profit factor 1.55
- Maximum equity drawdown 15%
- 78% winning trades
Inputs were tuned on 2025 data and then checked on unseen 2026 data.
Recommendations
- Symbol: XAUUSD (gold), timeframe H1.
- Hedging account, ECN / raw-spread broker preferred.
- Session hours are server hours tuned for brokers on UTC+2 / UTC+3 (e.g. IC Markets). Adjust the hour inputs if your broker uses a different server time.
- Minimum deposit: $1,000 with default lot settings.
- Test on a demo account first.
Main inputs
- InpLotPer1000: lot per $1,000 of balance (0 = use InpFixedLot)
- InpMaxSpread: maximum spread in $
- InpDailyLossPct: stop new trades after this daily loss %
- E_On / B_On: enable or disable each engine
- E_RangeStart, E_RangeEnd, E_TradeEnd, E_CloseHour: engine E hours
- B_Start1, B_End1, B_Start2, B_End2: engine B hours
- B_SL, B_TP, B_TrailStart, B_Trail: engine B distances in $
- E_MinScore, B_MinScore: minimum confluence score
Past results, including backtests, do not guarantee future results. Trading leveraged products carries a high level of risk.
