Trading robot · MT5

Advanced Trading Bot

by binhtrant87-coder

The Advanced Trading Bot is an MQL5 Expert Advisor for MetaTrader 5 that trades forex pairs on Exness.

GitHub stars1
Forks2
Last update6 months ago25 Mar 2026
LicenceNone stated

Overview

Advanced Trading Bot enters trades on multi-confluence signals requiring at least two of bearish reversal patterns, fractal resistance levels, fair value gaps, and MACD crossovers. It exits trades using fixed stop loss and take profit levels or optional trailing stop. Risk controls include dynamic lot sizing based on risk percentage and equity, maximum risk per trade, daily loss limits, spread filters, and breakeven automation. The EA features Python scripts for MT5 connection and trade analytics. It supports configurable trade direction and has a minimal README.

Details

Author

binhtrant87-coder on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Indicator crossover, SMC / ICT / price action

Markets

Forex

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

NameTypeDefaultDescription
InpLotSizedoubleDEFAULT_LOT_SIZEFixed Lot Size (0=dynamic)
InpMaxRiskPercentdoubleDEFAULT_MAX_RISK_PERCENTMax Risk % per Trade
InpDailyLossPercentdoubleDEFAULT_DAILY_LOSS_PCTMax Daily Loss %
InpMaxSpreadintDEFAULT_MAX_SPREADMax Spread (points)
InpStopLossintDEFAULT_STOP_LOSSStop Loss (points)
InpTakeProfitintDEFAULT_TAKE_PROFITTake Profit (points)
InpMinRRRatiodoubleDEFAULT_MIN_RR_RATIOMinimum Risk:Reward Ratio
InpBreakevenRRdoubleDEFAULT_BREAKEVEN_RRBreakeven at R:R (0=off)
InpTrailingStopintDEFAULT_TRAILING_STOPTrailing Stop (points, 0=off)
InpMACDFastintDEFAULT_MACD_FASTMACD Fast Period
InpMACDSlowintDEFAULT_MACD_SLOWMACD Slow Period
InpMACDSignalintDEFAULT_MACD_SIGNALMACD Signal Period
Show all 19 inputs
NameTypeDefaultDescription
InpTimeframeENUM_TIMEFRAMESPERIOD_M15Analysis Timeframe
InpFractalLookbackintDEFAULT_FRACTAL_LOOKBACKFractal Lookback Bars
InpFVGMinSizeintDEFAULT_FVG_MIN_SIZEFVG Minimum Size (points)
InpFractalMinTouchesint2Min Touches for S/R Level
InpMagicNumberintDEFAULT_MAGIC_NUMBERMagic Number
InpLogLevelENUM_LOG_LEVELLOG_LEVEL_INFOLog Level
InpTradeDirENUM_TRADE_DIRECTIONTRADE_DIR_SELL_ONLYTrade Direction

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone binhtrant87-coder/MT5-TradingBot 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

EA Scalper XAUUSD

by francomascareloai
237 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 4 months ago Custom licence GitHub repository of EA Scalper XAUUSD

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

Fvg Gold EA

by foeed
44 stars

Fvg Gold EA is an automated trading robot for MetaTrader 5 designed specifically for the gold market. It utilizes institutional trading concepts by identifying high-probability Fair Value Gaps with Order Block confluence. The system employs a scoring algorithm to evaluate trade quality based on displacement, gap size,

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 4 weeks ago MIT GitHub repository of Fvg Gold EA

ICT Gold EA

by darula-hpp
36 stars

This automated trading system for MetaTrader 5 focuses on spot Gold using Inner Circle Trader methodology. It identifies entries through order block detection, market structure analysis, and weekly opening price levels. The strategy is further filtered by dual moving averages and specific trading sessions, primarily Lo

MT5 Trading robot SMC / ICT / price actionIndicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of ICT Gold EA

Elephant Walk

by erlonfs
16 stars

Elephant Walk is a MetaTrader 5 expert advisor based on the trading methodology of Oliver Velez. It automates entries using moving average crossovers and price action patterns often associated with large bars or elephant candles. The EA provides extensive trade management options, including trailing stops, break-even a

MT5 Trading robot Indicator crossoverSMC / ICT / price action
Updated 7 years ago MIT GitHub repository of Elephant Walk
3 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy combining M15 trend direction with M5 trade execution. It identifies entries using Smart Money Concepts like break of structure and order blocks, confirmed by MACD, Stochastic, and Parabolic SAR indicators. Risk management is a primary focus, offeri

MT5 Trading robot SMC / ICT / price actionTrend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of Thinkwealth Smart Signal Pro

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