Trading robot · MT5

Scalping Bot

by ilearncoding247

This automated expert advisor for MetaTrader 5 focuses on short-term technical trading using a combination of trend and momentum indicators.

GitHub stars3
Forks0
Last update10 months ago6 Nov 2025
LicenceCustom licence

Overview

Scalping Bot triggers entries based on RSI levels, Exponential Moving Average crossovers, and Bollinger Band deviations. Risk is managed through dynamic lot sizing and ATR-based stop loss and take profit levels. The EA includes protective features like a trailing stop, maximum daily loss percentage, and a trade frequency cap. It also provides filters for trading hours and maximum spread to avoid unfavorable market conditions.

Details

Author

ilearncoding247 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Scalping, Indicator crossover, Mean reversion

Markets

Forex

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.

EA files

Input parameters

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

NameTypeDefaultDescription
RiskPercentdouble1.0Risk per trade (%)
MinLotSizedouble0.01Minimum lot size
MaxLotSizedouble0.1Maximum lot size
MagicNumberint123456Magic number for this EA
RSI_Periodint14RSI Period
RSI_Overboughtint70RSI Overbought Level
RSI_Oversoldint30RSI Oversold Level
Fast_EMA_Periodint9Fast EMA Period
Slow_EMA_Periodint21Slow EMA Period
ATR_Periodint14ATR Period for volatility
BB_Periodint20Bollinger Bands Period
BB_Deviationdouble2.0Bollinger Bands Deviation
Show all 25 inputs
NameTypeDefaultDescription
StopLossMultiplierdouble1.5Stop Loss (ATR multiplier)
TakeProfitMultiplierdouble2.5Take Profit (ATR multiplier)
UseTrailingStopbooltrueUse Trailing Stop
TrailingStopMultiplierdouble1.0Trailing Stop (ATR multiplier)
MaxDailyLossPercentdouble5.0Max Daily Loss (%)
MaxTradesPerDayint10Max Trades Per Day
UseTimeFilterbooltrueUse Time Filter
StartHourint8Start Trading Hour (Server Time)
EndHourint22End Trading Hour (Server Time)
AvoidNewsbooltrueAvoid high spread times
Slippageint10Max Slippage (points)
MinSpreadPipsdouble0.0Min Spread to Trade (pips)
MaxSpreadPipsdouble3.0Max Spread to Trade (pips)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone ilearncoding247/Auto-trading-bot 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

Scalpflip EA

by anthonycdp
25 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
4 stars

Gold SnR Momentum Scalper Pro is an automated scalping robot for MetaTrader 5, specifically optimized for XAUUSD on the M1 timeframe. It identifies entry points by combining support and resistance zones with RSI and moving average momentum. The system incorporates tick-level analysis to measure buying and selling press

MT5 Trading robot ScalpingBreakoutMean reversion
Updated 3 months ago Custom licence GitHub repository of Gold SnR Momentum Scalper Pro
1 stars

Advanced Scalping Multi EA is a multi-strategy scalping robot for MetaTrader 5 that integrates multi-timeframe momentum, smart money concepts, and pattern recognition. It calculates a signal confidence score based on RSI, EMA crossovers, MACD, and institutional flow tracking. The expert advisor offers four distinct mod

MT5 Trading robot ScalpingSMC / ICT / price actionIndicator crossover
Updated 1 year ago None stated GitHub repository of Advanced Scalping Multi EA

MATE Apex Scalper

by Yamsim-bot
1 stars

MATE Apex Scalper is a MetaTrader 5 expert advisor designed for scalping major forex pairs and gold. It employs a multi-symbol confluence strategy, filtering entries based on triple exponential moving average alignment, RSI levels, and Bollinger Band rejections on the M5 and M15 timeframes. The robot manages trades usi

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 8 days ago None stated GitHub repository of MATE Apex Scalper

AntiLatency Sniper EA

by themusafirr
1 stars

This algorithmic scalping robot for MetaTrader 4 and 5 uses a five-factor confluence engine to identify trade entries. It monitors RSI extremes, Bollinger Band breakouts, MACD momentum, EMA ribbons, and volume acceleration. The EA employs percentage-based risk management with a strict stop loss and a flexible take prof

MT4MT5 Trading robot ScalpingTrend followingMean reversion
Updated 5 days ago None stated GitHub repository of AntiLatency Sniper 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