Trading robot · MT5

SMC Trading EA

by kustandy

This expert advisor for MetaTrader 5 implements a Smart Money Concepts strategy focused on automated order block detection.

GitHub stars1
Forks0
Last update1 year ago7 May 2025
LicenceNone stated

Overview

SMC Trading EA identifies market entries by scanning historical bars for specific price action patterns. The robot includes built-in risk management that calculates lot sizes based on a percentage of account equity and sets dynamic stop losses using an Average True Range multiplier. Trades are managed with a fixed risk-to-reward ratio and filtered by maximum spread. It also features session-based controls for London and New York hours. The repository documentation is minimal.

Details

Author

kustandy on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Scalping

Markets

Forex

Timeframes

M1-M5

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

NameTypeDefaultDescription
RiskPercentdouble1.0Risk percentage per trade
RiskRewardRatiodouble2.0Risk:Reward ratio
OrderBlockLookbackint20Bars to look back for order blocks
StopLossMultiplierdouble1.5ATR multiplier for stop loss
ATRPeriodint14ATR period for dynamic stops
MaxSpreadint30Maximum allowed spread (points)
TradeNewYorkSessionbooltrueTrade NY session (8AM-12PM EST)
TradeLondonSessionbooltrueTrade London session (3AM-7AM EST)
MagicNumberint202405EA magic number
Slippageint30Maximum allowed slippage (points)
TimeframeENUM_TIMEFRAMESPERIOD_M1Global timeframe setting

How to install it

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

EA Scalper XAUUSD

by francomascareloai
236 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 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Bakome Gold Scalper

by BAKOME-Hub
25 stars

Bakome Gold Scalper is an automated trading solution for MetaTrader 5 specifically designed for the gold market. It executes trades based on Inner Circle Trader concepts, incorporating Fair Value Gaps, Order Blocks, Liquidity Sweeps, and Silver Bullet kill zones. The system limits trading to specific sessions, primaril

MT5 Trading robot SMC / ICT / price actionScalping

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

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

This Expert Advisor for MetaTrader 5 automates a pure price-action strategy primarily designed for gold on the five-minute timeframe. It identifies market trends using swing point structures like higher highs and lower lows without lagging indicators. The EA creates supply and demand zones from engulfing candle pattern

MT5 Trading robot Trend followingSMC / ICT / price actionScalping

CRT TBS Gold Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for gold trading using Candle Range Theory and Time-Based Strategy principles. It identifies market structure through the Accumulation, Manipulation, and Distribution cycle while detecting Fair Value Gaps and Order Blocks. The robot executes trades exclusively during specifi

MT5 Trading robot SMC / ICT / price actionScalpingTrend 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