Trading robot · MT5

EMA Crossover RSI ADX Scalper

by n30dyn4m1c

This MetaTrader 5 expert advisor executes a momentum scalping strategy using fast and slow exponential moving average crossovers.

GitHub stars1
Forks0
Last update7 months ago30 Mar 2026
LicenceNone stated

Overview

Entries require confirmation from RSI overbought and oversold levels, ADX trend strength, a higher timeframe trend bias, and an optional pinbar or engulfing candle filter. It manages risk with stop losses calculated via ATR or recent swing points, take profits set by a configurable risk-reward ratio, and an optional fast EMA trailing stop. Position sizing supports fixed lots or a percentage of account balance, alongside spread and trading-hour filters. The strategy is designed for trending markets and requires manual pausing during major news or consolidation.

Details

Author

n30dyn4m1c on GitHub

Type

Trading robot

Strategy

Scalping, Trend following, Indicator crossover

Markets

Forex, Gold, Crypto, Indices

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

NameTypeDefaultDescription
FastEMA_Periodint9Fast EMA Period
SlowEMA_Periodint21Slow EMA Period
RSI_Periodint14RSI Period
RSI_Overboughtdouble80.0RSI Overbought Level (70-80)
RSI_Oversolddouble20.0RSI Oversold Level (20-30)
ADX_Periodint14ADX Period
ADX_Thresholddouble25.0ADX Minimum Threshold
HigherTimeframeENUM_TIMEFRAMESPERIOD_H1Higher Timeframe for Bias
UseCandleConfluenceboolfalseUse Pinbar/Engulfing Filter
SL_ModeSL_MODEATR_BASEDStop Loss Mode
ATR_Periodint14ATR Period (for ATR mode)
ATR_Multiplierdouble0.8ATR Multiplier (for ATR mode)
Show all 24 inputs
NameTypeDefaultDescription
SwingLookbackint5Swing Lookback Bars (for Swing mode)
RR_Ratiodouble1.8Risk-Reward Ratio
UseTrailingboolfalseUse Trailing Stop with Fast EMA
LotModeLOT_MODEFIXED_LOTLot Sizing Mode
FixedLotdouble0.01Fixed Lot Size
RiskPercentdouble1.0Risk % of Balance (if Risk mode)
MaxSpreadint30Maximum Spread (points)
StartHourint0Trading Start Hour (0-23)
EndHourint23Trading End Hour (0-23)
MagicNumberint234567Magic Number
TradeCommentstringEMA_RSI_ADXTrade Comment
Slippageint10Slippage (points)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone n30dyn4m1c/ema-crossover-rsi-scalper 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
266 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 5 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Scalpflip EA

by anthonycdp
27 stars

Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of Scalpflip EA

FG Scalping Pro

by FaizGusion00
11 stars

FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago Custom licence GitHub repository of FG Scalping Pro

Gold Scalper MT5

by autoea-online
5 stars

Gold Scalper is an educational MetaTrader 5 expert advisor designed for scalping XAUUSD on the one-minute timeframe. It is presented as a masterclass tutorial to demonstrate modular coding practices. The system utilizes a 200-period Exponential Moving Average for trend filtering and the Relative Strength Index for entr

MT5 Trading robot ScalpingTrend followingIndicator crossover
Updated 8 months ago MIT GitHub repository of Gold Scalper MT5

Trade Pro 1Min Scalper

by Justin-yzp
4 stars

Trade Pro 1Min Scalper is an automated trading robot for MetaTrader 5 that implements a strategy based on Bill Williams Fractals and a triple moving average system. It identifies market trends using fast, medium, and slow EMA periods and executes entries based on short-term price action. The expert advisor includes a f

MT5 Trading robot Trend followingScalpingIndicator crossover
Updated 2 years ago None stated GitHub repository of Trade Pro 1Min Scalper

XAUUSD Scalping EA

by AhsanAli013
3 stars

This MetaTrader 5 expert advisor is designed for gold scalping using a multi-timeframe approach. It analyzes price action across M5, M15, and H1 intervals using Exponential Moving Averages, Relative Strength Index, and Average Directional Index for entry confirmation. Trades are managed with ATR-based stop losses, take

MT5 Trading robot ScalpingIndicator crossoverTrend following

More gold EAs

Related on ForexR

Need a Broker for MT5?

Compare regulated brokers that support MT5, with spreads, minimum deposits and leverage side by side.

Compare MT5 brokers