Trading robot ยท MT5

GoldForge ML

by pw4654918-jpg

GoldForge ML is a MetaTrader 5 expert advisor specialized for gold trading on the M15 timeframe using a machine learning ensemble.

GitHub stars2
Forks2
Last update5 months ago17 Apr 2026
LicenceNone stated

Overview

GoldForge ML combines CatBoost, XGBoost, and LightGBM models via ONNX with Smart Money Concepts such as liquidity sweeps and order blocks. The EA manages risk through ATR-based stop losses, trailing stops, and partial profit taking. It includes specific safety features for prop firm accounts, including hard daily loss limits and maximum drawdown stops. The system utilizes external ONNX models and includes a custom dashboard for real-time monitoring.

Details

Author

pw4654918-jpg on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

AI / machine learning, SMC / ICT / price action, Trend following, Breakout

Markets

Gold

Timeframes

M15-H1

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

Read from TradingAI_Predictor_EA_v10.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
MagicNumberint202603Magic Number
LotSizedouble0.10Fixed Lot (FundYourFX $10K challenge)
UseDynamicLotsbooltrueDynamic lot sizing
RiskPerTradePctdouble0.70Challenge-safe default risk per trade
MaxDailyLossPctdouble2.8Hard daily stop under 4% prop limit
MaxDailyDrawdownPctdouble5.5Hard equity stop under 6% prop limit
MaxConcurrentTradesint2Max simultaneous positions
PartialClosePercentdouble33.0% volume to close at TP1 (33% keeps 67% running)
BreakevenATRdouble1.0Move SL to breakeven after ATR * this
MaxConsecLossesint2Pause trading after N consecutive losses
UseConfidenceScalingbooltrueScale R:R and lots by AI confidence
SL_ATR_Multdouble2.0SL distance = ATR * this (wider for crash protection)
Show all 40 inputs
NameTypeDefaultDescription
TP1_ATR_Multdouble3.0TP1 = ATR * this (1.5:1 RR with SL=2.0)
TP2_ATR_Multdouble3.5TP2 = ATR * this (after partial)
TrailStart_ATRdouble1.5Start trailing after profit > ATR * this
TrailStep_ATRdouble0.5Trail step = ATR * this
ATR_Periodint14ATR period
UseSessionFilterbooltruetrue = Killzone filter (London/NY/Asia only)
TradeAsiabooltrueTrade Asian session
AsiaStartint0Asia start hour
AsiaEndint7Asia end hour
TradeLondonbooltrueTrade London session
LondonStartint7London start hour
LondonEndint12London end hour
TradeNYbooltrueTrade NY session
NYStartint12NY start hour
NYEndint21NY end hour
UseWeekendGapbooltrueSunday open gap trading
GapMinDollarsdouble5.0Min gap size in $ for gap trade
FridayCloseAllbooltrueClose positions Friday 16:00
AsiaBonusint1Confluence bonus during strong Asia momentum
MinScoreint8Challenge mode: favor quality over frequency
RSI_Periodint21RSI period (21 optimal for gold)
EMA_Fastint21Fast EMA
EMA_Slowint55Slow EMA
EMA_Trendint200Trend EMA (H4)
ADX_Periodint14ADX period
ADX_MinTrendint25ADX trending threshold (25 for gold)
MaxSpreadDollarsdouble0.60Tighter spread gate for prop protection
Slippageint20Max slippage points

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone pw4654918-jpg/goldforge-v10 from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

Prop Firm EA Fleet

by cgemise971
20 stars

Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 9 months ago None stated GitHub repository of Prop Firm EA Fleet

Fimathe EA

by yolisses
12 stars

Fimathe EA is a MetaTrader 5 robot designed to automate the Fimathe trading technique. It replaces manual channel drawing by analyzing a user-defined range of historical candles to determine reference channels and neutral zones. The system identifies price partitions and uses the median distance to set entry levels. Fo

MT5 Trading robot BreakoutTrend followingSMC / ICT / price action
Updated 5 years ago None stated GitHub repository of Fimathe EA

Code To Cash

by LUBANGAKENE
9 stars

Code To Cash is an end-to-end algorithmic trading system for MetaTrader 5 that combines deep learning forecasts with technical breakout logic. It utilizes a ZeroMQ bridge to receive real-time market predictions from an external Python backend. The system enters trades using BuyStop or SellStop orders at recent price ex

MT5 Trading robot AI / machine learningBreakoutTrend following
Updated 1 year ago None stated GitHub repository of Code To Cash

Ifvg London Breakout Algo

by 964quanyuan
3 stars

This Expert Advisor for MetaTrader 5 combines a London session breakout strategy with an Inverse Fair Value Gap (IFVG) trend continuation model. Designed for the EUR/USD M5 timeframe, it identifies price ranges during predefined morning hours to set pending breakout orders while simultaneously monitoring Smart Money Co

MT5 Trading robot BreakoutSMC / ICT / price actionTrend following
Updated 1 year ago None stated GitHub repository of Ifvg London Breakout Algo

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

This MetaTrader 5 expert advisor executes a multi-stage trading strategy focusing on H1 trendline breakouts and RSI divergences. It refines entries on the M5 timeframe using Change of Character and micro Break of Structure signals. The EA includes automated risk management with percentage-based lot sizing and ATR-based

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

More trading robots

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers