Trading robot · MT5

MT5 AutoEA

by Asura-lab

MT5 AutoEA is a multi-strategy trading robot for MetaTrader 5 that utilizes an ensemble approach to market participation.

GitHub stars1
Forks0
Last update3 months ago15 Jun 2026
LicenceNone stated

Overview

MT5 AutoEA 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 independent strategy execution and a voting mode requiring a consensus for entries. Risk management features include hard guards for daily drawdown, total drawdown, and minimum margin levels. Positions are managed with ATR-based stop loss and trailing stop parameters.

Details

Author

Asura-lab on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Multi-strategy, Trend following, Mean reversion, Breakout

Markets

Gold, Forex

Timeframes

M15-H1, H4 and above

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 AutoEA.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpLTFENUM_TIMEFRAMESPERIOD_H1signal timeframe
InpHTFENUM_TIMEFRAMESPERIOD_H4higher timeframe (MTF)
InpMagiculong990001magic to isolate this EA's orders
InpRiskPctdouble1.0OPTIMIZABLE risk per trade (%)
InpMaxDailyDDdouble5.0hard guard: max daily drawdown %
InpMaxTotalDDdouble20.0hard guard: max total drawdown %
InpMinMarginLeveldouble200.0hard guard: min margin level %
InpMaxPositionsint3hard guard: max concurrent positions
InpUseTrendbooltrueinclude TrendFollow
InpUseMeanRevboolfalseinclude MeanReversion
InpUseBreakoutboolfalseinclude Breakout
InpUseMacdboolfalseinclude MACD
Show all 40 inputs
NameTypeDefaultDescription
InpUseStochboolfalseinclude Stochastic
InpUseKeltnerboolfalseinclude Keltner
InpUseRsiMaboolfalseinclude RSI-MA
InpUseCciboolfalseinclude CCI
InpUseAdxboolfalseinclude ADX/DMI
InpUsePsarboolfalseinclude Parabolic SAR
InpUseIchiboolfalseinclude Ichimoku
InpUseDemaboolfalseinclude DEMA cross
InpUseTemaboolfalseinclude TEMA cross
InpUseEnvboolfalseinclude Envelopes
InpUseMomboolfalseinclude Momentum
InpUseAoboolfalseinclude Awesome Oscillator
InpUseForceboolfalseinclude Force Index
InpUseWprboolfalseinclude Williams %R
InpUseDemboolfalseinclude DeMarker
InpUseRviboolfalseinclude RVI
InpCombineModeENUM_COMBINECOMBINE_PORTFOLIOPORTFOLIO=independent, VOTE=consensus
InpVoteMinAgreeint2VOTE: min strategies agreeing
InpTF_FastEMAint20; input int InpTF_SlowEMA = 50
InpTF_ATRPeriodint14; input double InpTF_ATR_SLmult = 2.0
InpTF_TP_Rmultdouble2.0; input bool InpTF_UseHTF = true
InpTF_TrailATRdouble0.0
InpMR_BBPeriodint20; input double InpMR_BBDev = 2.0
InpMR_RSIPeriodint14; input double InpMR_RSI_OS = 30.0
InpMR_RSI_OBdouble70.0; input int InpMR_ATRPeriod = 14
InpMR_ATR_SLmultdouble2.0; input double InpMR_TP_Rmult = 0.0
InpMR_TrailATRdouble0.0
InpBO_Channelint20; input int InpBO_ATRPeriod = 14

How to Install It

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

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

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
1 stars

WannaBeQuant Strategy Selection is a multi-strategy expert advisor for MetaTrader 5 designed to trade cryptocurrency and equity markets. It combines six distinct trading logic modules, including Ichimoku trend following, mean reversion, and breakout strategies. The EA executes on a timer-based loop rather than every ti

MT5 Trading robot Trend followingMean reversionBreakout

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Autumn Harvest

by wait4signal
8 stars

Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy. It functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls l

MT5 Trading robot Mean reversionTrend followingMulti-strategy
Updated 1 year ago GPL-3.0 GitHub repository of Autumn Harvest

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