Trading robot ยท MT5

Breakout FVG Bot

by Covenantmondei

This MetaTrader 5 expert advisor implements a breakout strategy combined with Fair Value Gap alignment, primarily optimized for Gold (XAUUSD).

High risk

GitHub stars1
Forks1
Last update9 months ago1 Dec 2025
LicenceNone stated

Overview

Breakout FVG Bot 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 management features such as daily loss limits, equity drawdown protection, and a news blackout filter. Trade management is handled via partial closes, breakeven triggers, and trailing stops. The repository includes multiple versions, including one variant with martingale lot scaling.

Details

Author

Covenantmondei on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Breakout, SMC / ICT / price action, Trend following, Martingale

Markets

Gold

Timeframes

M15-H1

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
LotSizedouble0.10
UseRiskPercentbooltrue
RiskPercentdouble0.2
ATRPeriodint14
ATRTimeframeENUM_TIMEFRAMESPERIOD_M30
ATRMultiplierSLdouble3.0
ATRMultiplierTPdouble2.0
SLBufferPointsdouble5.0
RRdouble2.0
MinBarsInRangeint8
MaxRangePctdouble0.15
MagicNumberint12345
Show all 40 inputs
NameTypeDefaultDescription
RequireBreakoutFVGAlignboolfalse
AllowMomentumEntrybooltrue
RetraceTolerancePctdouble0.20
MaxSpreadPointsdouble1500
MaxATRToTradedouble999999
MaxConcurrentTradesPerSymbolint3
MinATRMultiplierdouble1.5
StopTradingAfterWinboolfalse
StopTradingAfterLossbooltrue
EquityMaxDrawdownPercentdouble0.05
DailyMaxLossPercentdouble0.02
MinimumSlDistancePointsdouble50
BreakevenTriggerATRMultdouble0.5
TrailATRMultdouble0.5
EnableDebugPrintsbooltrue
DebugPrintIntervalint100
UseTrendFilterbooltrue
TrendMAPeriodint50
TrendMATimeframeENUM_TIMEFRAMESPERIOD_M30
TrendSlopeMinPointsdouble100
EnableAdxMarketFilterbooltrue
AdxPeriodint14
AdxTrendingThresholddouble22.0
UseNewsBlackoutbooltrue
NewsBlackoutWindowsstring12:25-13:05;14:25-14:45
EnforceDirectionalCapbooltrue
MaxTradesPerDirectionint2
UseDynamicAtrStopsbooltrue

How to install it

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

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

Smart Trader 7CAS

by andersonclement
1 stars

Smart Trader 7CAS is an automated trading robot for MetaTrader 5 designed specifically for commodities including Gold, Silver, and Oil. It implements seven distinct trading modules or scenarios covering trend following, scalping, range trading, breakouts, Smart Money Concepts, reversals, and Fibonacci levels. The syste

MT5 Trading robot Multi-strategySMC / ICT / price actionTrend following High risk
Updated 6 weeks ago None stated GitHub repository of Smart Trader 7CAS

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

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper

Fimathe EA

by yolisses
12 stars

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

MT5 Trading robot BreakoutTrend followingSMC / ICT / price action
Updated 5 years ago None stated GitHub repository of Fimathe EA

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

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