This MetaTrader 5 expert advisor combines breakout and mean-reversion strategies within a framework optimized for proprietary trading firm requirements.
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.
Adaptive breakout and mean-reversion strategy switching
Proprietary firm risk management with daily loss limits
Read from AdaptiveBreakoutAI.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpUseSessionFilter
bool
false
InpSessionStartHour
int
8
InpSessionEndHour
int
16
InpDailyLossStopPct
double
5.0
InpMaxTotalDDPct
double
10.0
InpMinMinutesBetweenTrades
int
30
InpRiskPercentPerTrade
double
1.0
InpStrategyMode
StrategyMode
MODE_AUTO
InpBoxMode
BoxModeInput
BOXMODE_DONCHIAN
InpBreakoutLookback
int
24
For Donchian
InpBreakoutTimeFrom
int
0
For TimeRange
InpBreakoutTimeTo
int
6
For TimeRange
Show all 26 inputs
Name
Type
Default
Description
InpBreakoutBufferPts
double
10.0
InpBreakoutUsePending
bool
false
InpBreakoutRequiresClose
bool
false
If true, waits for a candle to close outside the box
InpMinAtrFilterPts
double
10.0
Minimum ATR value in points
InpMR_EMAPeriod
int
200
InpMR_ZScoreThresh
double
2.0
InpAtrTimeframe
ENUM_TIMEFRAMES
PERIOD_CURRENT
InpAtrPeriod
int
14
InpAtrMultSL
double
2.0
InpAtrMultTP
double
3.0
InpDriftBreakoutRatio
double
1.3
InpDriftMeanRevRatio
double
0.9
InpMaxGlobalRiskPct
double
10.0
Max equity drawdown % before blocking new trades
InpGlobalStopOutPct
double
15.0
Drawdown % to emit a critical portfolio alert
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Garrick852/Adaptive-Breakout-EA from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
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
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
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 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
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