Trading robot · MT4

Scalping Master

by chanalvarez

Scalping Master is an automated trading robot for MetaTrader 4 designed for short-term execution.

GitHub stars1
Forks0
Last update1 year ago10 Apr 2025
LicenceNone stated

Overview

Scalping Master utilizes a technical strategy based on Exponential Moving Average crossovers combined with Relative Strength Index levels. The expert advisor features a dedicated quick scalping mode with tight targets and automated trade management, including partial profit taking and trailing stops. Risk controls are extensive, offering automatic lot sizing based on balance percentage, daily trade limits, maximum daily loss protection, and time-based filters. The repository lacks a README, but the code structure suggests a focus on disciplined intraday trading.

Details

Author

chanalvarez on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Scalping, Indicator crossover

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.

Input parameters

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

NameTypeDefaultDescription
GeneralSettingsstring===== General Settings =====
magicNumberint12345Magic number
lotSizedouble0.01Fixed lot size
UseAutoLotSizebooltrueUse automatic lot size calculation
RiskPercentInputdouble1.0Risk percent per trade (if auto lot size)
MinRiskPercentInputdouble0.5Minimum risk percent
MaxRiskPercentInputdouble2.0Maximum risk percent
slippageint3Allowed slippage in pips
QuickScalpingModebooltrueEnable quick scalping mode
QuickTPdouble5.0Quick take profit in pips
QuickSLdouble10.0Quick stop loss in pips
MaxTradeHoldingTimeint60Max holding time in minutes (0=disabled)
Show all 40 inputs
NameTypeDefaultDescription
UsePartialClosebooltrueEnable partial close
PartialClosePercentdouble50.0Percentage to close at first target
PartialCloseTargetdouble3.0First target for partial close in pips
TradingParametersstring===== Trading Parameters =====
FastEMAint8Fast EMA period
SlowEMAint21Slow EMA period
RSIPeriodint14RSI period
RSIOverboughtint70RSI overbought level
RSIOversoldint30RSI oversold level
TakeProfitint15Take profit in pips
StopLossint10Stop loss in pips
UseTrailingStopbooltrueUse trailing stop
TrailingStopint8Trailing stop in pips
TrailingStepint1Trailing step in pips
TimeFilterSettingsstring===== Time Filter =====
UseTimeFilterbooltrueUse time filter
StartHourint8Start hour (server time)
EndHourint20End hour (server time)
CloseAllFridaybooltrueClose all positions on Friday
FridayCloseHourint20Hour to close positions on Friday
RiskSettingsstring===== Risk Management =====
MaxDailyTradesint10Maximum trades per day
MaxDailyLossdouble5.0Maximum daily loss (% of balance)
MaxSpreaddouble25Maximum allowed spread in pips
tradingAllowedbooltrueEnable/disable trading
AdaptiveSettingsstring===== Adaptive Parameters =====
UseAdaptiveParamsbooltrueUse adaptive parameters
SaveAdaptiveStatebooltrueSave adaptive state between sessions

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone chanalvarez/TScalpbot from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts, and any .mqh files into the Include folder the code expects.
  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

Conservative Scalper EA

by NadirAliOfficial
10 stars

Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti

MT4 Trading robot ScalpingTrend followingBreakout

Mforex Smart Scalper

by francomascareloai
9 stars

This MetaTrader 4 expert advisor is designed for gold scalping using a combination of Relative Strength Index and Exponential Moving Average indicators. It identifies entry points when momentum reaches specific overbought or oversold thresholds while considering moving average trends. The system manages risk through fi

MT4 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of Mforex Smart Scalper
3 stars

This MetaTrader 4 expert advisor implements a classic moving average crossover strategy designed for scalping forex pairs and metals. It monitors two exponential moving averages, defaulting to 8 and 21 periods, to identify momentum shifts. When a crossover is detected, the robot places pending stop orders with a specif

MT4 Trading robot Indicator crossoverScalping
Updated 5 years ago None stated GitHub repository of Simple EMA Cross Scalper

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 7 months ago None stated GitHub repository of AutoTrade EA

Scalpy Scalping Algorithm

by pedrojespina
2 stars

Scalpy is an automated scalping robot for MetaTrader 4 that utilizes multiple Exponential Moving Averages across different timeframes to identify entry signals. The system analyzes the 8 and 21 EMAs on the H1 timeframe for trend anchoring while using the 8, 13, and 21 EMAs on the M5 chart for execution. It includes a m

MT4 Trading robot ScalpingIndicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Scalpy Scalping Algorithm

Ray Scalper

by ThePathsOfSaga
2 stars

Ray Scalper is an automated expert advisor for MetaTrader 4 that uses technical indicators to trade both trend-following and counter-trend strategies. It monitors Bollinger Bands, Moving Averages, and Stochastic crossovers to trigger entries. The robot allows users to toggle between trend and anti-trend modes and inclu

MT4 Trading robot ScalpingIndicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Ray Scalper

More trading robots

Need a broker for MT4?

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

Compare brokers