Trading robot · MT5

Deriv SMC EA

by Dave-4u

Deriv SMC EA is an MT5 expert advisor designed for synthetic indices, gold, and forex markets.

GitHub stars2
Forks0
Last update2 weeks ago10 Nov 2026
LicenceNone stated

Overview

Deriv SMC EA trades Smart Money Concepts setups using Order Blocks, Rejection Blocks, and Candle Range Theory across M5 setups aligned with H1 and M15 trends and M1 entry timing. Risk management includes fixed dollar lot sizing, daily account loss limits, consecutive loss pauses, max open trade limits, and custom risk per symbol. Exits feature structure-based take profit targets, trailing stops, break-even triggers, and partial trade closing. Additional filters handle volatility surges, market structure room, session hours, and news events.

Details

Author

Dave-4u on GitHub

Type

Trading robot

Strategy

SMC / ICT / price action, Trend following, Multi-strategy

Markets

Forex, Gold, Indices

Timeframes

M1-M5, 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.

EA Files

Input Parameters

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

NameTypeDefaultDescription
SymbolsListstringVolatility 75 Index,Volatility 100 Index,Boom 1000 Index,Cra
SymbolsFromFilebooltrueRead names from a .txt in MQL5\\Files
SymbolsFilestringDaveSymbols.txtone name per line or comma-separated, # = comment
RiskMoneydouble3.0Default risk in $
SpikeRiskMoneydouble2.0Risk in $ for Boom/Crash/DEX/Jump (CustomRiskList still overrides)
MaxOpenTradesint3Positions + pending limits
CustomRiskListstringOptional: Symbol:Risk,Symbol:Risk (e.g. XAUUSD:5,Volatility 75 Index:2.5)
DailyLossLimitPercentdouble3.0
MagicNumberint20261109
MaxSpreadPointsint150
MaxDailyLossMoneydouble9.0Stop new entries after this closed loss today ($, server day; 0 = off)
ConsecLossPauseint2Losses in a row on one symbol before pausing it (0 = off)
Show all 40 inputs
NameTypeDefaultDescription
SymbolPauseHoursint3Pause length for that symbol
UseSpikeDirectionFilterbooltrueNo SELL on Boom / DEX..UP, no BUY on Crash / DEX..DOWN
EnableCRTbooltrue
EnableRejectionBlockbooltrue
EnableOrderBlockbooltrue
TrendTFENUM_TIMEFRAMESPERIOD_H1
EntryTFENUM_TIMEFRAMESPERIOD_M5Setup timeframe (strategies + structure)
ExecTFENUM_TIMEFRAMESPERIOD_M1Timing chart for market entry
ConfirmTFENUM_TIMEFRAMESPERIOD_M15Middle trend timeframe (must agree with TrendTF)
EMA_Periodint50
CooldownBarsint12
UseMarketStructurebooltrueRequire setup-TF structure to agree with trend
StructureLookbackint50Bars on EntryTF to read swings
SwingStrengthint2Pivot bars on each side
UseConfirmTFTrendbooltrueRequire ConfirmTF EMA trend to agree with TrendTF
UseBigCandleFilterbooltrueSkip after an oversized candle
BigCandleATRMultdouble2.0Last closed M1/M5 bar range > this x ATR(14) = skip
MaxChaseATRdouble0.5Skip if price is this x ATR beyond the setup zone (0 = off)
UseEntryAlignmentbooltrueBefore ANY order: M1 must be moving the setup's way
AlignFastEMAint9M1 fast EMA (buy: fast > slow and bid > fast)
AlignSlowEMAint21M1 slow EMA
AlignWaitBarsint5Not aligned: wait this many M1 bars, then drop the setup
UseStabilityFilterbooltrueSkip entries when the setup chart is unstable (surge, chop, wicks)
StabilityATRBarsint50Bars for the average ATR on the setup chart
MaxATRSurgedouble1.8Skip if ATR now > this x its average (volatility surge; 0 = off)
MinADXdouble18.0Skip if ADX(14) on the setup chart is below this (choppy; 0 = off)
WickBarsint5Recent closed setup-chart bars checked for wicks
MaxWickRatiodouble0.65Skip if wicks average more than this share of the bar range (0 = off)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Dave-4u/Deriv-SMC-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

Gold Trader EA

by mehdi-jahani
146 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
87 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 4 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

SMC Master Pro

by Kanishkar01
4 stars

This MetaTrader 5 expert advisor implements an automated strategy based on Smart Money Concepts and the Trading Hub Juka Method. It analyzes market structure, institutional order blocks, and fair value gaps to identify high-probability entry points. The robot features multi-timeframe analysis, evaluating alignment betw

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 9 months ago Unlicense GitHub repository of SMC Master Pro
4 stars

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA

Omak FxYO

by GoyBoi
3 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy based on the TTrades Fractal Model and Dow Theory. It operates using two distinct execution branches: Intraday (D1/H1/M5) and Swing (W1/H4/M15). The system analyzes market structure to identify points of interest, employing wick ratios and optional

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 5 months ago None stated GitHub repository of Omak FxYO
2 stars

This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion

More gold EAs

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers