Trading robot · MT5

SmartTradingBot

by aliaskari56

SmartTradingBot is a MetaTrader 5 expert advisor that automates forex trading by scanning market watch for setups based on H4 trend direction, M15 CHoCH/BOS patterns, fair value gaps, order blocks, RSI, and CCI oscillators with adaptive scoring.

GitHub stars2
Forks0
Last updateyesterday18 Oct 2026
LicenceNone stated

Overview

SmartTradingBot enters trades using auto pending orders with manual gap settings and manages executions through a trade manager module including dashboard monitoring. Risk controls feature equity percentage lot sizing, maximum volume caps, spread filters, and setup cooldowns while supporting swing and intraday timeframes. The README notes current limitations including unverified production status and recommends local compilation and testing before use.

Details

Author

aliaskari56 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, SMC / ICT / price action, Indicator crossover

Markets

Any symbol

Timeframes

H4 and above, 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 SmartTradingBot_FINAL.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpMagiculong26093001
InpAutoTradingboolfalse
InpScanSecondsint10
InpAllowUniversalbooltrue
InpOneSetupPerSymbolbooltrue
InpScannerSymbolsstringempty = selected Market Watch; comma/semicolon separated
InpScannerMinQualitydouble45.0
InpScannerMinScoredouble55.0
InpScannerMinTopGapdouble3.0
InpScannerMaxWatchlistint50
InpScannerTopNint10
InpScannerMaxQuoteAgeSecint300
Show all 40 inputs
NameTypeDefaultDescription
InpManualPendingGapPipsdouble5.0
InpTesterForceAutoTradingbooltruetester only; prevents stale/missing .set state from disabling order placement
InpTesterChartSymbolOnlybooltruetester only; isolates the test universe to _Symbol
InpOscillatorConfirmationbooltrue
InpOscTFENUM_TIMEFRAMESPERIOD_M15
InpRSIPeriodint14
InpCCIPeriodint20
InpRSIBuyLeveldouble55.0
InpRSISellLeveldouble45.0
InpCCIBuyLeveldouble50.0
InpCCISellLeveldouble-50.0
InpRSIWeightdouble7.0
InpCCIWeightdouble8.0
InpOscillatorHardFilterboolfalse
InpMaxSpreadPipsdouble0.00 = disabled; broker-symbol specific
InpSetupCooldownMinutesint15
InpMaxSetupAgeBarsint00 = disabled; M15 bars
InpUseRiskSizingboolfalsefalse preserves fixed-lot mode
InpRiskPercentdouble0.50account equity risk per setup
InpMaxRiskVolumedouble0.00 = broker max only
InpAdaptiveLearningbooltrue
InpAdaptiveBaseScoredouble50.0
InpAdaptiveMinScoredouble45.0
InpAdaptiveMaxScoredouble75.0
InpAdaptiveStepdouble5.0
InpAdaptiveWeakWinRatedouble0.40
InpAdaptiveStrongWinRatedouble0.65
InpAdaptiveMinSamplesint20

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone aliaskari56/SmartTradingBot-Production 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

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
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

3711 Single EA

by hakimibob
2 stars

This expert advisor for MetaTrader 5 utilizes a multi-timeframe technical approach, scanning H1, M30, M15, and M5 periods simultaneously. It generates signals using a stochastic stack combined with RSI and stochastic divergence detection. The system incorporates a formula pack for market structure analysis, including B

MT5 Trading robot Indicator crossoverMean reversionSMC / ICT / price action
Updated 8 weeks ago None stated GitHub repository of 3711 Single EA

Swift Algo Bot

by connectfazla
2 stars

This MetaTrader 5 expert advisor provides an automated trading system with two primary operation modes: a multi-confluence signal engine and a Smart Money Concepts strategy. The confluence engine aggregates signals from RSI, MACD, Bollinger Bands, and EMA crossovers, while the Smart Money mode focuses on liquidity swee

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 6 months ago None stated GitHub repository of Swift Algo Bot

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