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.
High-performance C++ DLL integration for signal generation
Automated detection of Order Blocks and Fair Value Gaps
Read from EA_SMC.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpMagic
ulong
202601
Magic Number
InpMarketType
ENUM_MARKET_TYPE
MARKET_AUTO
Market Type
InpComment
string
SMC
Order Comment
InpHistoryBars
int
1000
Historical Bars to Feed on Init
InpSwingLength
int
5
Swing Detection Length
InpBiasSwingLength
int
0
HTF Bias Swing Length (0=auto 3x)
InpOBLookback
int
50
Order Block Lookback (bars)
InpLiqRangePct
double
0.01
Liquidity Range (% of price range)
InpCloseBreak
bool
true
BOS/CHoCH on Close (vs High/Low)
InpCloseMitigation
bool
false
OB Mitigation on Close
InpJoinFVG
bool
false
Join Consecutive FVGs
InpSLZoneBuffer
double
0.20
SL Buffer (% of zone height)
Show all 40 inputs
Name
Type
Default
Description
InpSweepLookback
int
15
Sweep Lookback (bars)
InpMinSLPoints
int
150
Global Min SL Distance (points)
InpMaxSLPoints
int
1000
Global Max SL Distance (points, 0=unlimited)
InpMinTPPoints
int
300
Global Min TP Distance (points)
InpMaxTPPoints
int
0
Global Max TP Distance (points, 0=unlimited)
InpMinRR
double
0.0
Global Min TP/SL Ratio (0=disabled)
InpMaxTPLookback
int
100
Max TP Lookback (bars)
InpBOS_Enable
bool
true
Enable BOS Continuation
InpBOS_Lookback
int
50
BOS Lookback (bars)
InpBOS_MinScore
double
0.40
BOS Min Score
InpBOS_MaxVisits
int
0
BOS Max Zone Visits (0=off)
InpBOS_ReqOTE
bool
false
BOS Require OTE Zone
InpBOS_ReqHP
bool
false
BOS Require High-Prob OB
InpBOS_ReqKZ
bool
false
BOS Require Kill Zone
InpBOS_MaxSL
int
0
BOS Max SL (points, 0=use global)
InpOB_Enable
bool
true
Enable OB Bounce
InpOB_Lookback
int
30
OB Lookback (bars, shorter)
InpOB_MinScore
double
0.40
OB Min Score (higher = stricter)
InpOB_MaxVisits
int
1
OB Max Zone Visits (1=fresh only)
InpOB_ReqOTE
bool
false
OB Require OTE Zone
InpOB_ReqHP
bool
false
OB Require High-Prob OB
InpOB_ReqKZ
bool
false
OB Require Kill Zone
InpOB_MaxSL
int
500
OB Max SL (points, tight)
InpCH_Enable
bool
true
Enable CHoCH Reversal
InpCH_Lookback
int
50
CHoCH Lookback (bars, post-reversal pullback)
InpCH_MinScore
double
0.40
CHoCH Min Score
InpCH_MaxVisits
int
1
CHoCH Max Zone Visits
InpCH_ReqOTE
bool
false
CHoCH Require OTE Zone
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Pauloeduspbr/EA-SMC-Engine from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
MT5Trading robotSMC / ICT / price actionBreakoutTrend following
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
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
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
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
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