The Sniper SMC-AI Bridge is an automated trading robot for MetaTrader 5 designed to trade Gold (XAUUSD) using Smart Money Concepts (SMC) and ICT principles.
The system identifies institutional points of interest on high timeframes and triggers entries on low-timeframe structure shifts. It incorporates a Python-based bridge that processes market sentiment, volatility indicators, and high-impact news events to filter trade signals. Risk is managed using percentage-based lot sizing, ATR-based volatility calculations, and configurable partial take-profits to capture market moves while securing gains.
Read from Sniper_SMC_EA_V1.04.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpHighTF
ENUM_TIMEFRAMES
PERIOD_H1
High timeframe (POI identification)
InpLowTF
ENUM_TIMEFRAMES
PERIOD_M1
Low timeframe (CHoCH detection)
InpBarsToFetch
int
100
Number of historical bars to keep in memory
InpUseNewsFilter
bool
false
Enable/disable file-based news restriction
InpNewsRefreshSeconds
int
1
News control file refresh interval
InpSMCLookbackBars
int
90
Closed HTF bars scanned for SMC setup
InpSMCSwingStrength
int
2
Bars left/right required for a swing
InpSMCSessionStartHour
int
0
Previous session start hour, broker time
InpSMCSessionStartMin
int
0
Previous session start minute, broker time
InpSMCSessionEndHour
int
8
Previous session end hour, broker time
InpSMCSessionEndMin
int
0
Previous session end minute, broker time
InpSMCEqualLevelTolerancePips
double
2.0
EQH/EQL max distance
Show all 40 inputs
Name
Type
Default
Description
InpSMCEqualLevelMinBarsApart
int
3
Minimum bars between equal swings
InpSMCSweepMaxPiercePips
double
1.0
Minimum liquidity pierce
InpSMCSweepMaxPiercePips
double
25.0
Maximum valid liquidity pierce
InpSMCRejectionMinWickPips
double
2.0
Minimum rejection wick
InpSMCRejectionWickBodyRatio
double
1.5
Wick must exceed body by this multiple
InpSMCRejectionWickRangeRatio
double
0.45
Wick must be this fraction of range
InpSMCMSSMaxBarsAfterSweep
int
12
Max bars from sweep to MSS
InpSMCMSSSwingSearchBars
int
16
Swing search depth for MSS
InpSMCMSSBreakPips
double
0.5
Body close beyond swing
InpSMCDisplacementAvgBars
int
10
Average range window
InpSMCDisplacementATRMultiple
double
1.15
Body multiple of average range
InpSMCDisplacementBodyRatio
double
0.60
Body/range minimum
InpSMCInvalidationBufferPips
double
0.5
Close-through invalidation buffer
InpSMCMaxUsedZones
int
100
Used POI key memory
InpSMCDrawStructures
bool
true
Draw institutional SMC zones
InpSMCDeleteMitigatedZones
bool
false
Delete instead of dim mitigated zones
InpSMCVisualExtendBars
int
80
Bars to extend structure rectangles
InpSMCMaxVisualZones
int
120
Maximum active visual structures
InpTrendTF1
ENUM_TIMEFRAMES
PERIOD_H4
Primary trend filter TF
InpTrendTF2
ENUM_TIMEFRAMES
PERIOD_H1
Secondary trend filter TF
InpTrendEMAPeriod
int
50
EMA period for trend bias
InpRiskPercent
double
1.0
Risk % per trade (0.1-5.0)
InpSnowballGrowthRate
double
0.1
Snowball: lot growth per 10% gain
InpPartialTPRatio
double
2.0
RR ratio for 50% partial close
InpPartialTPClosePct
double
50.0
% volume to close at partial TP
InpATRPeriod
int
14
ATR period for volatility scaling
InpMaxLotSize
double
10.0
Maximum lot size cap
InpMinLotSize
double
0.01
Minimum lot size floor
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone rhoi9602043-stack/Sniper-SMC-ICT-Trading-Bot 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.
LQS AI Institutional Engine is a MetaTrader 5 robot designed for trading gold using market microstructure analysis. It combines four analytical modules focusing on liquidity sweeps, order flow divergence, Wyckoff accumulation and distribution phases, and multiple anchored VWAP levels. The system features an integrated
This MetaTrader 5 expert advisor integrates Large Language Models such as OpenAI and Anthropic Claude with technical analysis to automate trading across forex, gold, crypto, and indices. It utilizes a confluence scoring system based on Smart Money Concepts, Ichimoku Cloud, and standard indicators like RSI and MACD. The
This expert advisor for MetaTrader 5 combines traditional quantitative strategies with machine learning via the ONNX runtime. It features multiple trading modes including Order Blocks, market structure analysis, and a hybrid AI strategy using neural network predictions trained in PyTorch. The system incorporates compre
TradeExpert is a multi-functional expert advisor for MetaTrader 4 that combines technical indicator analysis with external data integration. It executes trades using market or limit orders across a wide range of forex pairs and cryptocurrencies. The system features a built-in news filter to manage volatility during eco
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
This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts. It identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning fil