Trading robot · MT5

Adaptive Breakout AI

by Garrick852

This MetaTrader 5 expert advisor combines breakout and mean-reversion strategies within a framework optimized for proprietary trading firm requirements.

GitHub stars1
Forks1
Last update3 weeks ago1 Sep 2026
LicenceNone stated

Overview

Adaptive Breakout AI features adaptive logic that transitions between modes based on market drift detection. Users can configure breakout entries using Donchian channels or fixed time ranges. Risk controls include mandatory ATR-based stop loss and take profit targets, daily loss limits, and maximum equity drawdown protections. The system also includes session filters and trade cooldown timers to maintain disciplined execution.

Details

Author

Garrick852 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Breakout, Mean reversion, Multi-strategy

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

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

NameTypeDefaultDescription
InpUseSessionFilterboolfalse
InpSessionStartHourint8
InpSessionEndHourint16
InpDailyLossStopPctdouble5.0
InpMaxTotalDDPctdouble10.0
InpMinMinutesBetweenTradesint30
InpRiskPercentPerTradedouble1.0
InpStrategyModeStrategyModeMODE_AUTO
InpBoxModeBoxModeInputBOXMODE_DONCHIAN
InpBreakoutLookbackint24For Donchian
InpBreakoutTimeFromint0For TimeRange
InpBreakoutTimeToint6For TimeRange
Show all 26 inputs
NameTypeDefaultDescription
InpBreakoutBufferPtsdouble10.0
InpBreakoutUsePendingboolfalse
InpBreakoutRequiresCloseboolfalseIf true, waits for a candle to close outside the box
InpMinAtrFilterPtsdouble10.0Minimum ATR value in points
InpMR_EMAPeriodint200
InpMR_ZScoreThreshdouble2.0
InpAtrTimeframeENUM_TIMEFRAMESPERIOD_CURRENT
InpAtrPeriodint14
InpAtrMultSLdouble2.0
InpAtrMultTPdouble3.0
InpDriftBreakoutRatiodouble1.3
InpDriftMeanRevRatiodouble0.9
InpMaxGlobalRiskPctdouble10.0Max equity drawdown % before blocking new trades
InpGlobalStopOutPctdouble15.0Drawdown % to emit a critical portfolio alert

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Garrick852/Adaptive-Breakout-EA 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, and any .mqh files into the Include folder the code expects.
  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

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot

Sumting Wong EA

by definitelyfkd
2 stars

This multistrategy expert advisor for MetaTrader 5 combines currency strength analysis, breakout/reversal logic, and swap carry trading. It targets various markets including forex, gold, oil, indices, and crypto. Trade execution involves ATR-based stop losses, multiplier-based take profits, and partial closing mechanis

MT5 Trading robot BreakoutMean reversionMulti-strategy
Updated 3 months ago None stated GitHub repository of Sumting Wong EA
2 stars

This MetaTrader 5 expert advisor combines technical indicators with price action to automate trading decisions. It incorporates five individual strategies including EMA crossovers, candlestick engulfing patterns, and support or resistance breakouts. The system is specifically calibrated for the 30-minute timeframe and

MT5 Trading robot Indicator crossoverBreakoutMean reversion

Gold FX EA

by ajeet-trader
1 stars

Gold FX EA is a multi-asset trading robot for MetaTrader 5 that functions as a modular framework for various technical strategies. It allows users to toggle specific modules for forex, gold, silver, cryptocurrencies, and commodities. Strategies include trend following with moving averages, Bollinger Band mean reversion

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 9 months ago None stated GitHub repository of Gold FX EA

MT5 AutoEA

by Asura-lab
1 stars

MT5 AutoEA is a multi-strategy trading robot for MetaTrader 5 that utilizes an ensemble approach to market participation. It incorporates over twenty modular strategies, including trend following, mean reversion, and breakouts, which can be toggled individually. The EA supports two execution modes: a portfolio mode for

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 3 months ago None stated GitHub repository of MT5 AutoEA

Gold Adaptive Multi Regime EA

by cdimabusinessent-byte
1 stars

This MetaTrader 5 expert advisor is designed for gold trading using an adaptive, modular architecture. It features a regime detector that switches between trend-following, mean reversion, and breakout strategies based on market conditions. The system utilizes exponential moving averages, ADX for trend strength, and RSI

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 4 months ago None stated GitHub repository of Gold Adaptive Multi Regime 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