Trading robot · MT5

Sniper SMC-AI Bridge

by rhoi9602043-stack

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.

High risk

GitHub stars1
Forks0
Last update2 months ago9 Jul 2026
LicenceNone stated

Overview

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.

Details

Author

rhoi9602043-stack on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, News, AI / machine learning, Martingale

Markets

Gold

Timeframes

M1-M5, M15-H1

Risk Profile

  • Uses martingale lot scaling: losses can grow fast

Input Parameters

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

NameTypeDefaultDescription
InpHighTFENUM_TIMEFRAMESPERIOD_H1High timeframe (POI identification)
InpLowTFENUM_TIMEFRAMESPERIOD_M1Low timeframe (CHoCH detection)
InpBarsToFetchint100Number of historical bars to keep in memory
InpUseNewsFilterboolfalseEnable/disable file-based news restriction
InpNewsRefreshSecondsint1News control file refresh interval
InpSMCLookbackBarsint90Closed HTF bars scanned for SMC setup
InpSMCSwingStrengthint2Bars left/right required for a swing
InpSMCSessionStartHourint0Previous session start hour, broker time
InpSMCSessionStartMinint0Previous session start minute, broker time
InpSMCSessionEndHourint8Previous session end hour, broker time
InpSMCSessionEndMinint0Previous session end minute, broker time
InpSMCEqualLevelTolerancePipsdouble2.0EQH/EQL max distance
Show all 40 inputs
NameTypeDefaultDescription
InpSMCEqualLevelMinBarsApartint3Minimum bars between equal swings
InpSMCSweepMaxPiercePipsdouble1.0Minimum liquidity pierce
InpSMCSweepMaxPiercePipsdouble25.0Maximum valid liquidity pierce
InpSMCRejectionMinWickPipsdouble2.0Minimum rejection wick
InpSMCRejectionWickBodyRatiodouble1.5Wick must exceed body by this multiple
InpSMCRejectionWickRangeRatiodouble0.45Wick must be this fraction of range
InpSMCMSSMaxBarsAfterSweepint12Max bars from sweep to MSS
InpSMCMSSSwingSearchBarsint16Swing search depth for MSS
InpSMCMSSBreakPipsdouble0.5Body close beyond swing
InpSMCDisplacementAvgBarsint10Average range window
InpSMCDisplacementATRMultipledouble1.15Body multiple of average range
InpSMCDisplacementBodyRatiodouble0.60Body/range minimum
InpSMCInvalidationBufferPipsdouble0.5Close-through invalidation buffer
InpSMCMaxUsedZonesint100Used POI key memory
InpSMCDrawStructuresbooltrueDraw institutional SMC zones
InpSMCDeleteMitigatedZonesboolfalseDelete instead of dim mitigated zones
InpSMCVisualExtendBarsint80Bars to extend structure rectangles
InpSMCMaxVisualZonesint120Maximum active visual structures
InpTrendTF1ENUM_TIMEFRAMESPERIOD_H4Primary trend filter TF
InpTrendTF2ENUM_TIMEFRAMESPERIOD_H1Secondary trend filter TF
InpTrendEMAPeriodint50EMA period for trend bias
InpRiskPercentdouble1.0Risk % per trade (0.1-5.0)
InpSnowballGrowthRatedouble0.1Snowball: lot growth per 10% gain
InpPartialTPRatiodouble2.0RR ratio for 50% partial close
InpPartialTPClosePctdouble50.0% volume to close at partial TP
InpATRPeriodint14ATR period for volatility scaling
InpMaxLotSizedouble10.0Maximum lot size cap
InpMinLotSizedouble0.01Minimum lot size floor

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone rhoi9602043-stack/Sniper-SMC-ICT-Trading-Bot 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

1 stars

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

MT5 Trading robot SMC / ICT / price actionAI / machine learningMean reversion High risk
Updated 4 months ago None stated GitHub repository of Lqs Ai Institutional Engine

Pro Trader AI

by salmanrki
1 stars

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

MT5 Trading robot SMC / ICT / price actionAI / machine learningNews
Updated 5 months ago None stated GitHub repository of Pro Trader AI

Quantum Alpha MT5 ONNX

by yole-shop-oficial
1 stars

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

MT5 Trading robot SMC / ICT / price actionAI / machine learningTrend following High risk
Updated 7 weeks ago None stated GitHub repository of Quantum Alpha MT5 ONNX

TradeExpert

by nguemechieu
1 stars

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

MT4 Trading robot NewsMulti-strategyAI / machine learning High risk
Updated 2 years ago MIT GitHub repository of TradeExpert

EA Scalper XAUUSD

by francomascareloai
237 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

My Trading Bot

by carlosrod723
78 stars

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

MT5 Trading robot SMC / ICT / price actionAI / machine learningMulti-strategy
Updated 10 months ago MIT GitHub repository of My Trading Bot

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