Trading robot · MT5

MT5 Scalper Bot

by saljevontea-gif

The MT5 Scalper Trading Bot automates trades on MetaTrader 5 for forex pairs and gold using a moving average crossover strategy combined with RSI confirmation.

GitHub stars1
Forks0
Last update4 weeks ago9 Sep 2026
LicenceNone stated

Overview

MT5 Scalper Bot enters buy trades when the fast MA crosses above slow MA and RSI is below oversold, and sells when fast MA crosses below slow MA and RSI above overbought. Trades include a fixed lot size of 0.1, 20-pip stop loss, and 10-pip take profit. The bot supports both buy and sell trades with a maximum of one open position at a time and can be limited to trading hours from 8 to 17 UTC. The README is minimal and does not detail risk management beyond basic parameters.

Details

Author

saljevontea-gif on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Indicator crossover, Scalping

Markets

Forex, Gold

Timeframes

M1-M5

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

NameTypeDefaultDescription
fastMAint5Fast Moving Average period
slowMAint20Slow Moving Average period
rsiPeriodint14RSI period
rsiOverboughtdouble70RSI overbought level
rsiOversolddouble30RSI oversold level
lotSizedouble0.1Lot size for trades (0.1 = micro lot)
stopLossPipsdouble20Stop loss in pips
takeProfitPipsdouble10Take profit in pips
enableTradingBuybooltrueEnable BUY trades
enableTradingSellbooltrueEnable SELL trades
maxOpenPositionsint1Maximum positions at once
useTimeFilterbooltrueOnly trade during certain hours
Show all 14 inputs
NameTypeDefaultDescription
startHourint8Trading start hour (UTC)
endHourint17Trading end hour (UTC)

How to Install It

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

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

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

Trillex 10S EA

by NadirAliOfficial
24 stars

Trillex 10S is a MetaTrader 5 scalping expert advisor optimized for Gold (XAUUSD). It executes trades based on the alignment of a three-period Exponential Moving Average (EMA) stack and Parabolic SAR indicators. The system features a proprietary synthetic bar engine that processes price data into 5-second and 10-second

MT5 Trading robot ScalpingIndicator crossover
Updated 2 weeks ago MIT GitHub repository of Trillex 10S 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 6 months ago MIT GitHub repository of Gold Scalper MT5
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 4 months ago Custom licence GitHub repository of Gold SnR Momentum Scalper Pro

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