Trading robot · MT5

EA SMC Engine

by Pauloeduspbr

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture.

GitHub stars3
Forks3
Last update5 months ago3 Apr 2026
LicenceMIT

Overview

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, including Break of Structure (BOS) and Change of Character (CHoCH), alongside liquidity sweeps and Order Block mitigation. Risk management features include configurable stop loss buffers, minimum risk-reward ratios, and global point-based limits for exits.

Details

Author

Pauloeduspbr on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Breakout, Trend following, Mean reversion

Markets

Any symbol

Timeframes

Any timeframe

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.

EA files

Input parameters

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

NameTypeDefaultDescription
InpMagiculong202601Magic Number
InpMarketTypeENUM_MARKET_TYPEMARKET_AUTOMarket Type
InpCommentstringSMCOrder Comment
InpHistoryBarsint1000Historical Bars to Feed on Init
InpSwingLengthint5Swing Detection Length
InpBiasSwingLengthint0HTF Bias Swing Length (0=auto 3x)
InpOBLookbackint50Order Block Lookback (bars)
InpLiqRangePctdouble0.01Liquidity Range (% of price range)
InpCloseBreakbooltrueBOS/CHoCH on Close (vs High/Low)
InpCloseMitigationboolfalseOB Mitigation on Close
InpJoinFVGboolfalseJoin Consecutive FVGs
InpSLZoneBufferdouble0.20SL Buffer (% of zone height)
Show all 40 inputs
NameTypeDefaultDescription
InpSweepLookbackint15Sweep Lookback (bars)
InpMinSLPointsint150Global Min SL Distance (points)
InpMaxSLPointsint1000Global Max SL Distance (points, 0=unlimited)
InpMinTPPointsint300Global Min TP Distance (points)
InpMaxTPPointsint0Global Max TP Distance (points, 0=unlimited)
InpMinRRdouble0.0Global Min TP/SL Ratio (0=disabled)
InpMaxTPLookbackint100Max TP Lookback (bars)
InpBOS_EnablebooltrueEnable BOS Continuation
InpBOS_Lookbackint50BOS Lookback (bars)
InpBOS_MinScoredouble0.40BOS Min Score
InpBOS_MaxVisitsint0BOS Max Zone Visits (0=off)
InpBOS_ReqOTEboolfalseBOS Require OTE Zone
InpBOS_ReqHPboolfalseBOS Require High-Prob OB
InpBOS_ReqKZboolfalseBOS Require Kill Zone
InpBOS_MaxSLint0BOS Max SL (points, 0=use global)
InpOB_EnablebooltrueEnable OB Bounce
InpOB_Lookbackint30OB Lookback (bars, shorter)
InpOB_MinScoredouble0.40OB Min Score (higher = stricter)
InpOB_MaxVisitsint1OB Max Zone Visits (1=fresh only)
InpOB_ReqOTEboolfalseOB Require OTE Zone
InpOB_ReqHPboolfalseOB Require High-Prob OB
InpOB_ReqKZboolfalseOB Require Kill Zone
InpOB_MaxSLint500OB Max SL (points, tight)
InpCH_EnablebooltrueEnable CHoCH Reversal
InpCH_Lookbackint50CHoCH Lookback (bars, post-reversal pullback)
InpCH_MinScoredouble0.40CHoCH Min Score
InpCH_MaxVisitsint1CHoCH Max Zone Visits
InpCH_ReqOTEboolfalseCHoCH Require OTE Zone

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Pauloeduspbr/EA-SMC-Engine 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.
  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

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

Gold Trading Bot Pro

by pollycarp
1 stars

This MetaTrader 5 expert advisor focuses on trading gold and other instruments using a trend-following breakout and retest methodology. It filters market conditions using three moving averages and ATR-based consolidation detection. Entries are triggered by RSI pullbacks and liquidity grab patterns during specific intra

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago None stated GitHub repository of Gold Trading Bot Pro

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

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper EA

ICT System EA

by 26730023-PhamPhuNguyenHung
5 stars

This MetaTrader 5 expert advisor automates trading strategies based on Inner Circle Trader (ICT) and Smart Money Concepts (SMC). It utilizes a confluence engine to evaluate market structure, PDA zones, fair value gaps, order blocks, and SMT divergence against correlated symbols like the DXY. Designed specifically for p

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
Updated 6 months ago None stated GitHub repository of ICT System EA

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