Trading robot · MT5

Master Trader MT5

by rohanjq

Master Trader is an automated expert advisor for MetaTrader 5 that utilizes a multi-strategy engine based on UT Bot, Donchian Channels, and candlestick patterns.

GitHub stars1
Forks0
Last update3 months ago12 Jun 2026
LicenceNone stated

Overview

Master Trader MT5 analyzes market conditions across several timeframes, including M3, M5, and M15, to identify trend reversals and wick rejections. The EA features advanced risk management tools such as equity-percentage lot sizing, maximum daily trade limits, and automatic pauses after consecutive losses. It includes built-in trade management for breakeven and trailing stops. Unique CSV integration allows for external control and status monitoring during live trading.

Details

Author

rohanjq on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Mean reversion, Multi-strategy

Markets

Gold

Timeframes

M1-M5, M15-H1

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

NameTypeDefaultDescription
INP_RiskPctdouble3.0Risk % of equity per trade
INP_GlobalSLdouble7.5Default SL (dollars) if strategy SL=0
INP_GlobalRRdouble1.0Default reward:risk if strategy RR=0
INP_Magicint300Magic number
INP_MultiPositionboolfalseAllow multiple positions
INP_MaxPositionsint1Max simultaneous positions
INP_MaxDailyTradesint15Max trades per day
INP_CooldownSecint300Cooldown between trades (sec)
INP_ReversalCooldownint300Reversal cooldown (sec)
INP_MaxConsecLossint3Pause after N consec losses (0=off)
INP_ConsecLossPauseint1800Pause per consec loss (sec)
INP_Slippageint20Max slippage (points)
Show all 40 inputs
NameTypeDefaultDescription
INP_BreakevenStartdouble0.0Move SL to entry after $X profit (0=off)
INP_TrailStartdouble0.0Start trailing after $X profit (0=off)
INP_TrailStepdouble2.0Trail distance (dollars)
INP_UTBot_Periodint10UT Bot ATR period
INP_UTBot_Multdouble2.0UT Bot ATR multiplier
INP_DC_Lengthint20Donchian Channel length
INP_UseControlFileboolfalseRead ea_control.csv
INP_WriteStatusFileboolfalseWrite ea_status.csv
INP_ControlPollSecint5Poll interval (sec)
S01_Onbooltrue
S01_SLdouble5.0
S01_RRdouble1.0
S01_Buystringdc_M15.lower_wick_rej==TRUE|utbot_M3.bias==BULLISH
S01_Sellstringdc_M15.upper_wick_rej==TRUE|utbot_M3.bias==BEARISH
S02_Onbooltrue
S02_SLdouble7.5
S02_RRdouble1.0
S02_Buystring
S02_Sellstringutbot_M2.signal==SELL|ema50_M5.price_vs==BELOW|utbot_M5.bull
S03_Onbooltrue
S03_SLdouble7.5
S03_RRdouble1.0
S03_Buystring
S03_Sellstringutbot_M2.signal==SELL|utbot_M15.bias==BEARISH|utbot_M5.bulli
S04_Onbooltrue
S04_SLdouble7.5
S04_RRdouble1.0
S04_Buystring

How to install it

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

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

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

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master

Forex Master Multi Strategy

by simonokwundue-ops
2 stars

This MetaTrader 5 expert advisor utilizes a weighted signal scoring system to execute trades based on four technical indicators: Moving Average crossovers, RSI, Bollinger Bands, and MACD. It incorporates multi-timeframe analysis across M15, M30, and H1 periods to confirm trend direction. Risk management features includ

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 10 months ago None stated GitHub repository of Forex Master Multi Strategy

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