Trading robot · MT5

Zbbot

by zbgerman

This Expert Advisor for MetaTrader 5 implements trading logic based on Smart Money Concepts, specifically the ICT 2022 mentorship model.

High risk

GitHub stars1
Forks0
Last update3 months ago18 Jun 2026
LicenceNone stated

Overview

Zbbot automatically identifies market structures such as Fair Value Gaps, fractals, and rejection blocks across multiple timeframes to locate entries. The system includes a time-based filter for session-specific trading and utilizes Fibonacci retracement levels for price action confirmation. Risk management features include a daily loss percentage limit, automatic lot sizing based on account risk, and a hard stop loss. An integrated on-chart panel provides manual control buttons for order execution and technical visibility.

Details

Author

zbgerman on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Trend following, Martingale

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
MaxDailyLossPercentdouble3.0Maxima perdida diaria en %
Time_Frame_HTFENUM_TIMEFRAMESPERIOD_D1Select time frame for high time frame
Time_Frame_M2022ENUM_TIMEFRAMESPERIOD_M3Select time frame for Model 2022
velas_verificar_fractalint4Velas verificar fractal modelo 2022
inpnumerofvgint1Numero de FVG para las alarmas
Numero_velasint6Numero Velas para detectar FVG
inpumbraldouble1inpumbral
inphorainicialint7Hora inicial
inpminutoinicialint30Minuto inial
inphorafinalint10Hora final
inpminutofinalint00Minuto final
inpporcentajeGananciadouble1Porcentaje de utilidad
Show all 40 inputs
NameTypeDefaultDescription
inpporcentajeRiesgodouble1Porcentaje de Riesgo
inpporcentajeRetrocesodouble70Porcentaje retroceso para comprar o vender
inptendenciabooltrueverdadero alcista falso bajista
lotaje_automaticobooltrue
inpcompra_automatica_M2022booltrue
mostrar_fvgbooltrue
mostrar_fibobooltrue
mostrar_fractalbooltrue
mostrar_phplbooltrue
mostrar_macros_killzoneboolfalse
Pips_sldouble0Pips Stop Loss + Soporte o Resistencia
showFVGbooltrueMostrar FVG?
velas_fractalint200Velas Fractal
ColorLineaPromediocolorclrWhiteAverage line color
GrosorLineaPromedioint2Average Line width
Velas_FVG_HTFint10000Max bars back for calculate HTF
Velas_FVG_Currentint1000Max bars back for calculate current time frame
EstiloLineaPromedioENUM_LINE_STYLESTYLE_SOLID
Color_SellcolorC'89,9,24'Color para ventas
Color_BuycolorC'0,105,108'Color para compras
Color_Bullish_HTFcolorC'45,45,45'
Color_Bullish_HTF_CEcolorC'132,132,0'
Color_Bearist_HTFcolorC'45,45,45'
Color_Bearist_HTF_CEcolorclrRed
Color_Bullish_CurrentcolorC'132,132,0'
Color_Bullish_Current_CEcolorclrWhite
Color_Bearist_CurrentcolorC'255,113,137'
Color_Bearist_Current_CEcolorclrWhite

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone zbgerman/zbbot 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

EA Scalper XAUUSD

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

Prop Firm EA Fleet

by cgemise971
20 stars

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

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 9 months ago None stated GitHub repository of Prop Firm EA Fleet

Simba Sniper EA

by oriokie
6 stars

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

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper EA
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

Breakout FVG Bot

by Covenantmondei
1 stars

This MetaTrader 5 expert advisor implements a breakout strategy combined with Fair Value Gap alignment, primarily optimized for Gold (XAUUSD). It enters trades based on momentum and price range breaks, utilizing ATR-based calculations for dynamic stop loss and take profit levels. The system includes comprehensive risk

MT5 Trading robot BreakoutSMC / ICT / price actionTrend following High risk
Updated 9 months ago None stated GitHub repository of Breakout FVG Bot
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

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