KEC Gold Engine
- Experts
-
Mohammed Maher Al-sayed Mohammed Ahmed Saleh
"I am an independent Trading Bot Developer specialized in creating automated trading solutions using advanced techniques on platforms like MetaTrader 4 and MetaTrader 5. I have experience in designing and developing custom trading strategies, including using technical indicators and data analysis to - Version: 3.10
- Updated: 21 September 2026
- Activations: 10
Gold trend trading, rule-based and automated
KEC Gold Engine reads the daily structure of XAUUSD and trades only in the direction of the dominant higher-timeframe trend. It takes one to two selective positions per day, protects each one with a hard stop-loss sized to the real daily volatility, secures winners at break-even, trails them, and closes flat before the daily market halt and before the weekend.
No martingale, no grid, no averaging down, no hedging, no recovery mode. One clear process, every day.
How it was built
The engine was developed on 241 million real ticks of XAUUSD from January 2022 to September 2026, covering both the choppy 2022-2023 market and the strong 2024-2026 bull run. More than twenty hypotheses were tested: mean reversion, liquidity sweeps, session ranges, round numbers, momentum filters, and others. Most were rejected.
Every parameter was selected on the 2022-2024 data only, then verified untouched on 2025-2026. Anything that performed well in the first half and failed in the second was removed. All published numbers come from the MetaTrader 5 Strategy Tester in every-tick-based-on-real-ticks mode, history quality 100%, with real spread and commission.
Strategy Tester results
XAUUSD, 2022.01.02 to 2026.09.18, 241 million real ticks, quality 100%, 10,000 USD start, 1.5% risk per trade, compounding.
| Net profit | +23,981 USD (+239.8%) |
| Profit factor | 1.47 |
| Maximum relative drawdown | 13.6% balance / 15.6% equity |
| Sharpe ratio | 3.01 |
| Recovery factor | 9.87 |
| Trades | 1,221 (about 22 per month) |
| Winning trades | 55.5% |
| Conservative setting (1.0% risk) | +115.3%, profit factor 1.43, drawdown 9.0% |
Every calendar year in the test closed positive:
| 2022 | +19.2% | PF 1.20 | DD 9.7% |
| 2023 | +16.4% | PF 1.18 | DD 11.8% |
| 2024 | +41.9% | PF 1.56 | DD 11.0% |
| 2025 | +40.9% | PF 1.82 | DD 6.9% |
| 2026 to September | +13.2% | PF 1.47 | DD 3.4% |
Setup
| Symbol and timeframe | XAUUSD (gold), M1, one chart |
| Account type | Hedging, ECN or Raw Spread, always-on VPS |
| Minimum balance | 7,000 USD standard account, or 500 USD on a cent account |
| Risk per trade | 1.0% to 1.5% |
In live trading the broker GMT offset is detected automatically. For a backtest, set Backtest GMT offset to your broker's offset in hours: 0 for UTC, 2 or 3 for most European brokers. Use model Every tick based on real ticks.
Parameters
Lot sizing — risk percent of balance (default) or fixed lot.
Risk per trade — percentage of balance risked on each position. Default 1.5%.
Fixed lot — used when risk sizing is switched off.
Prop-firm mode — one open trade at a time, for strict drawdown rules.
Close mode — daily flat (default and tested), weekly, or stop-loss and trailing only.
Engine ID — magic number, keeps this engine's trades separate.
Backtest GMT offset — your broker's UTC offset in hours, for the Strategy Tester only. Live trading detects it automatically.
Break-even — profit at which the trade is secured, in units of daily volatility.
Trailing stop distance — in units of daily volatility.
Dashboard — show or hide the on-chart panel.
What to expect
The weakest period was the choppy 2022-2023 market. The longest losing streak in the test was 11 trades in a row. A month can close red. Higher risk settings scale profit and drawdown together but do not change the edge.

