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 update11 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

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 10 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 2 months ago None stated GitHub repository of Smart Trader 7CAS

EA Scalper XAUUSD

by francomascareloai
266 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 4 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Nyao Scalper

by elrizwiraswara
214 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 13 days ago BSD-3-Clause GitHub repository of Nyao Scalper

Prem Gold Advisor

by Premkumar238
13 stars

Prem Gold Advisor is an automated MetaTrader 5 expert advisor specialized for XAUUSD (Gold) trading on the five-minute timeframe. It initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits succe

MT5 Trading robot BreakoutTrend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Prem Gold Advisor

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

More gold EAs

Related on ForexR

Need a Broker for MT5?

Compare regulated brokers that support MT5, with spreads, minimum deposits and leverage side by side.

Compare MT5 brokers