Personal Site
Riyadh Almalki

Riyadh Almalki

Quantitative Developer · Trading Systems Engineer · Applied Machine Learning

Chief Executive, Riyadh International Group · Jeddah, Saudi Arabia

“Ideas are curious things — they will not move unless you do.”

Quantitative systems

ROYAL INDICATORS — a multi-strategy trading platform for MetaTrader 5

Designed, written and operated end-to-end without a team since 2022: a charting indicator that detects and renders signals, an Expert Advisor that executes and manages positions, and a machine-learning layer that filters and predicts.

~49,300lines of MQL5
120modules
15independent strategies
5markets
9live MT5 terminals
5,682recorded closed trades

Architecture

Expert Advisor 27,600 lines · indicator 18,400 · shared libraries 3,300. Fifteen strategies run in parallel, each isolated by its own magic number, entry logic, exit logic and risk parameters over a shared execution and reporting layer.

Gold (XAUUSD) · Bitcoin (BTCUSD) · German DAX (DE30) · US Nasdaq (USTEC) · Silver (XAGUSD). Nine terminals across a VPS estate and a local rig, synchronised over WireGuard and Syncthing with per-binary deployment and versioned rollback.

Machine learning

ONNX models loaded and evaluated inside MQL5 at signal time, applied as a probability-threshold filter on candidate entries.

k-NN behaviour-recurrence engines match the live 24-feature market state against historical analogues — raw price deliberately excluded to avoid level dependence.

A feature-based direction-prediction model trained on historical M15 data, with a live per-candle prediction-versus-outcome verification log and hit-rate reporting by confidence bucket.

Instrumentation

Forty-three fields recorded automatically per trade — entry, every stop and target level, maximum favourable and adverse excursion, close reason, realised P&L, balance before and after.

A class of repaint and non-determinism defects was identified and eliminated, so the same bar produces the same signal on every terminal — the precondition for any honest backtest.

Measured progression

Win rate across the recorded ledger window rose from 50.0% in the first week to 80.2% and 71.1% in the final full weeks. First thousand closed trades 47.1%; last thousand 66.6%.

Full window: 68.6% of 5,682 recorded closed trades finished in profit across fifteen strategies and six instruments. The strongest automated strategy ran at 74.3% over 2,400 trades.

The output of an iteration loop rather than one release — build V2.0.536, a documented change report per version, every cycle measured against the ledger and strategies revised or retired on that evidence.

Best recorded window

98.1%

106 trades · 24 hours

The highest the platform has reached so far. It is shown with the full distribution it came from, because a peak without its range is a selection, not a result.

  • 68.6% full window — 5,682 recorded closed trades
  • 25.0% – 94.5% daily win rate inside that same week
  • 5.2% weakest 24-hour window on that strategy — 115 trades

Research and development continue against that number: the work now is to break the ceiling and, more than that, to lift the floor beneath it. Exit and stop-multiple design is the current focus — signal accuracy is no longer the binding constraint.

Research — documented negative results

Research here is run to falsify, not to confirm. Each of the following was implemented, measured out-of-sample, and removed from production.

  • Directional prediction on Gold and Bitcoin — no persistent edge; closed.
  • Averaging into drawdown and pullback reinforcement — measurably worse across all five markets; closed.
  • Cross-sectional momentum, and Gold–Silver same-bar agreement — no exploitable signal; closed.
  • Close-location-value entry filter and an efficiency-ratio regime gate — removed after live evidence that they filtered out winners.
  • An apparent 12:00–16:00 GMT session-window edge — shown to be a two-week sampling artefact; discarded.

Figures are measured from the platform’s per-trade ledgers over 22 June – 7 September 2026. Live-market forward testing: the strategies ran in real time against live broker prices, and the majority of the recorded trades were on simulated accounts. Win rate is quoted because it is the one statistic independent of account size across a distributed test estate.

Career

From infrastructure engineering to quantitative development

2022 — Present

Quantitative Developer & Trading Systems Engineer

ROYAL INDICATORS · Founder & sole developer

Designed, built and operate a multi-strategy automated trading platform for MetaTrader 5, end-to-end without a team. Version 2.0, in continuous development and live testing.

2015 — Present

Chief Executive Officer & Owner

Riyadh International Group · Jeddah

Founded and run a multi-sector group spanning IT solutions, recruitment, training, telecommunications and hospitality, with offices in Jeddah, Riyadh, Nairobi and Kampala. Full ownership of P&L, capital allocation and governance across all subsidiaries — building the technology used internally rather than procuring it.

2005 — 2021

Information Technology Specialist · Computer Instructor

Royal Commission for Yanbu Colleges & Institutes

Laboratory network and web-server administration — hosting, FTP and mail — for colleges and institutes, with security controls, backup and disaster-recovery procedures. Designed and delivered technical training to faculty, staff and students, and led infrastructure upgrade projects across departments.

1999 — 2005

Engineering roles

Ministry of Education · Al Anani Omrah · Computer Network Contracting · Al Kalej Computer

Windows Server deployment and administration, client/server connectivity, DHCP, DNS and TCP/IP configuration; Frame Relay, PPP and VoIP on Vanguard routers and Motorola modems; hardware assembly and LAN build-out.

Education

King Abdulaziz University

BSc in Computer Science

College of Computing — King Abdulaziz University, Jeddah

Establishments

Nine establishments under the group

All active, each led by its own chief executive.

Riyadh for Recruitment

Recruitment

Wahba for Recruitment

Recruitment

Oxagon Recruitment Limited

Manpower

Black Diamond Recruitment Limited

Manpower

Green Crescent Manpower

Manpower

Digital Generation Telecom

Telecom

Golden Cloud Systems

Recruitment & Manpower

Maria Jeddah

Serviced apartments & hospitality

Bwasiq Training Center

Training

Get in touch