Trading robot · MT5

MRTRADER Expert Advisor

by reza-em

MRTRADER is an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD, EURUSD, and GBPUSD on the H1 timeframe using EMA crossover.

High risk

GitHub stars1
Forks0
Last update9 days ago2 Oct 2026
LicenceMIT

Overview

MRTRADER Expert Advisor enters long or short trades on fast-slow EMA signals and exits with stop loss and take profit based on ATR multiples. Lots are sized as a percentage of balance up to a maximum limit. A news filter pauses trading around economic events. The project also includes a FastAPI multi-user server. Demo accounts only.

Details

Author

reza-em on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Indicator crossover, Martingale

Markets

Forex, Gold

Timeframes

M15-H1

Risk Profile

  • Uses martingale lot scaling: losses can grow fast

Topics

algorithmic-tradingdockerexpert-advisorfastapiforexlegacymetatrader5mql5mt5pythontrading-bot

Input Parameters

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

NameTypeDefaultDescription
InpSymbolsstringXAUUSD,EURUSD,GBPUSDGold + two majors. Missing names are skipped.
InpTFENUM_TIMEFRAMESPERIOD_H1
InpFastEMAint21
InpSlowEMAint50
InpATRPeriodint14
InpSL_ATRdouble2.0stop loss = this * ATR
InpTP_ATRdouble3.0take profit = this * ATR
InpRiskPercentdouble0.5percent of balance per trade
InpMaxLotdouble0.50
InpMagicint8801
InpSlippagePointsint30
InpAllowTradingbooltruefalse = only show account / prices
Show all 19 inputs
NameTypeDefaultDescription
InpUseNewsFilterbooltrue
InpNewsMinsBeforeint30
InpNewsMinsAfterint30
InpNewsUrlstringhttps://nfs.faireconomy.media/ff_calendar_thisweek.xml
InpNewsCurrenciesstringUSD,EUR,GBPgold follows USD
InpStartHourint7
InpEndHourint21

How to Install It

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

EA Scalper XAUUSD

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

AI Enhanced HFT

by Marco210210
20 stars

This MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern

MT5 Trading robot Trend followingIndicator crossoverAI / machine learning High risk
Updated 1 year ago None stated GitHub repository of AI Enhanced HFT

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 5 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader

Trend EA

by hiepit127
1 stars

A trend-following trading robot for MetaTrader 5 that utilizes technical indicators and recovery lot scaling. It generates entry signals using a combination of the SuperTrend indicator, Exponential Moving Averages (EMA), and ADX filters. The expert advisor features a martingale-style lot multiplier that increases posit

MT5 Trading robot Trend followingMartingaleIndicator crossover High risk
Updated 2 years ago None stated GitHub repository of Trend 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