Collection · MT5

SMC Quant EA

by AgostarTech

The SMC Quant EA is a MetaTrader 5 robot that trades using a deterministic state machine based on smart money concepts.

GitHub stars1
Forks0
Last update2 weeks ago25 Sep 2026
LicenceNone stated

Overview

SMC Quant EA enters long or short positions when lower timeframe price action aligns with fair value gaps, order blocks, liquidity sweeps, and swing structures, with confirmation from the higher timeframe bias. Trades are exited at a minimum risk reward ratio of 1.5 or moved to break even after reaching 1:1. The EA controls risk through percentage lot sizing per trade, maximum daily loss limits, absolute drawdown protection, and an ATR based spread filter. It blocks trades during high impact news events and supports configurable modes for market and timeframe. The repository contains 21 similar expert advisors with minimal documentation.

Details

Author

AgostarTech on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action

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.

Input Parameters

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

NameTypeDefaultDescription
InpForceStateResetboolfalse
InpHTFENUM_TIMEFRAMESPERIOD_H1
InpLTFENUM_TIMEFRAMESPERIOD_M15
InpHistoryBarsint2000
InpMaxSimultaneousPositionsint1
InpTradingModeENUM_TRADING_MODETRADING_MODE_BALANCED
InpMaxTradesPerDayint15
InpMinimumBarsBetweenTradesint2
InpAllowMultipleTradesPerStructureboolfalse
InpCustRequireHTFBiasbooltrue
InpCustRequireLTFAlignmentbooltrue
InpCustRequireStructurebooltrue
Show all 40 inputs
NameTypeDefaultDescription
InpCustRequireLiquiditybooltrue
InpCustRequireFVGbooltrue
InpCustRequireOrderBlockboolfalse
InpCustMinConfluenceScoreint3
InpRiskPerTradePctdouble1.0
InpMaxDailyLossPctdouble3.0
InpMaxAbsoluteDDPctdouble10.0
InpMinRiskRewarddouble1.5
InpUseBreakEvenbooltrueMove to Break-Even at 1:1?
InpBreakEvenLockPointsdouble10Points to lock in profit for BE
InpUseATRSpreadbooltrueUse Dynamic ATR Spread Filter? (True for Crypto/Indices)
InpMaxATRSpreadPctdouble10.0Max Spread as % of current ATR
InpMaxSpreadPointsint25Fixed Spread filter (if ATR filter is false)
InpLiquidityTolerancePointsint20
InpMaxSweepAgeBarsint150
InpEnableExternalAPIsboolfalse
InpAPIRequestIntervalSecondsint60
InpAPITimeoutMillisecondsint2000
InpAPIMaxRetriesint2
InpUseExternalRiskMultiplierboolfalse
InpExternalRiskMultiplierValuedouble0.5
InpEnableEconomicAPIboolfalse
InpEconomicAPIURLstringhttps://nfs.faireconomy.media/ff_calendar_thisweek.json
InpBlockHighImpactNewsbooltrue
InpNewsBlockBeforeMinutesint30
InpNewsBlockAfterMinutesint15
InpEconomicCalendarRequiredboolfalse
InpEnableSentimentAPIboolfalse

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone AgostarTech/Trading-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 collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market

MT4MT5 Collection Indicator crossoverMartingaleGrid High risk
6 stars

This repository provides a collection of MetaTrader 5 expert advisors based on Smart Money Concepts and ICT methodologies. The tools implement price action strategies including Fair Value Gaps, Market Structure Shifts, and the Next Day Model. Each EA handles trade execution with automated risk-based lot sizing and conf

MT5 Collection SMC / ICT / price actionScalpingTrend following

MT5 Auto Backtest Pipeline

by 26730023-PhamPhuNguyenHung
4 stars

This repository features a headless CLI automation pipeline for MetaTrader 5, enabling users to compile, backtest, and rank MQL5 Expert Advisors through PowerShell. It contains a large collection of robots focused on candlestick patterns, such as Morning and Evening Star signals, combined with Stochastic or CCI filters

MT5 Collection SMC / ICT / price actionIndicator crossoverMean reversion

KolaTradebot SMC

by Sidoine1991
3 stars

KolaTradebot is a MetaTrader 5 expert advisor that executes a multi-asset strategy using Smart Money Concepts and a Global Order Model. It bridges the platform with a Python-based server to analyze market structures like order blocks, fair value gaps, and liquidity sweeps across multiple timeframes. The system includes

MT5 Collection SMC / ICT / price actionAI / machine learningBreakout High risk

Zerith EA Collection

by BlamzKunG
3 stars

This MetaTrader 5 repository provides a suite of algorithmic trading tools known as the Zerith series. The featured SwingGrid EA utilizes ADX trend filters and ATR-based volatility thresholds to execute trades, employing a recovery grid system with dynamic lot multipliers. Other tools in the set cover news straddle bre

MT5 Collection GridMartingaleSMC / ICT / price action High risk
3 stars

This MetaTrader 5 repository provides a diverse collection of automated trading systems, including tools for supply and demand, news fetching, and price action strategies. The primary expert advisor utilizes moving average crossovers and momentum filters to identify market pullbacks. It incorporates trade management fe

MT5 Collection Indicator crossoverMartingaleTrend following High risk

More collections

Need a Broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers