Trading robot · MT5

My Trading Bot

by carlosrod723

This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts.

GitHub stars77
Forks37
Last update10 months ago19 Nov 2025
LicenceMIT

Overview

My Trading Bot identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning filter that communicates with an external Python-based LSTM model via CSV files. Risk management is robust, featuring daily drawdown limits, spread filters, session validation, partial exits, and trailing stops.

Details

Author

carlosrod723 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, AI / machine learning, Multi-strategy

Markets

Forex, Gold

Timeframes

M15-H1, H4 and above

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 MyTradingBot.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
RiskPerTradedouble1.0% risk per trade
DailyDrawdownLimitdouble5.0Daily loss limit (%)
UsePartialExitboolfalse
PartialExitRatiodouble0.5
UseTrailingStopboolfalse
TrailStopPipsdouble20.0
UseMAboolfalse
UseRSIboolfalse
UseATRboolfalse
UseBollingerboolfalse
UseOrderBlocksbooltrue
FibEntryLeveldouble0.5
Show all 24 inputs
NameTypeDefaultDescription
MagicNumberint2025
BaseSymbolParamstring
MainTFENUM_TIMEFRAMESPERIOD_M15
HigherTFENUM_TIMEFRAMESPERIOD_H4
UseMLSignalboolfalse
ML_Thresholddouble0.55
MaxRetryAttemptsint3Maximum retry attempts for failed trades
RetryDelayMsint1000Delay between retries (milliseconds)
UseSpreadFilterbooltrueEnable spread filter
MaxSpreadPointsint30Maximum allowed spread in points
CheckMarketHoursbooltrueCheck if market is open
GMTOffsetint0Broker GMT offset for market hours

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone carlosrod723/MQL5-Trading-Bot 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

1 stars

This MetaTrader 5 expert advisor utilizes a Naive Bayes probabilistic model integrated with Smart Money Concepts and ICT principles to identify trading opportunities. It primarily targets gold bias and pullbacks but includes logic for universal symbol support. The system uses a machine learning engine that self-retrain

MT5 Trading robot AI / machine learningSMC / ICT / price actionMulti-strategy

Quantum Alpha MT5 ONNX

by yole-shop-oficial
1 stars

This expert advisor for MetaTrader 5 combines traditional quantitative strategies with machine learning via the ONNX runtime. It features multiple trading modes including Order Blocks, market structure analysis, and a hybrid AI strategy using neural network predictions trained in PyTorch. The system incorporates compre

MT5 Trading robot SMC / ICT / price actionAI / machine learningTrend following High risk
Updated 5 weeks ago None stated GitHub repository of Quantum Alpha MT5 ONNX

RapidPass EA

by jonahgrigoryan
1 stars

RapidPass EA (RPEA) is an MT5 trading robot designed specifically for passing prop firm challenges. It utilizes a hybrid ensemble architecture combining Burst-Weighted Imbalance with Session Confluence (BWISC) and mean-reversion strategies. The EA incorporates machine learning through Q-learning and contextual bandits

MT5 Trading robot SMC / ICT / price actionMean reversionAI / machine learning High risk
Updated 5 months ago None stated GitHub repository of RapidPass EA

Gold Trader EA

by mehdi-jahani
141 stars

Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n

MT5 Trading robot Multi-strategyTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Gold Trader EA
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

Makets GA

by nopaixx
20 stars

Makets GA is a neural network trading system for MetaTrader 5 that utilizes genetic algorithms to optimize weights for multi-layer perceptrons. Instead of standard price prediction, the EA evolves trading strategies by processing price data across several major currency pairs simultaneously. It implements evolutionary

MT5 Trading robot AI / machine learningMulti-strategy
Updated 8 years ago None stated GitHub repository of Makets GA

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