Trading robot · MT5

Sophisticated Scalping EA

by smahud

This MetaTrader 5 expert advisor is a multi-timeframe scalping robot designed for the forex market.

GitHub stars2
Forks0
Last update1 year ago3 Jun 2025
LicenceNone stated

Overview

Sophisticated Scalping EA utilizes a Currency Strength Meter (CSM) combined with a technical indicator suite including RSI, MACD, and ADX to identify entry signals across various periods from M1 to H4. The system incorporates comprehensive risk controls such as percentage-based lot sizing, fixed point-based stop loss and take profit levels, and a smart trailing stop mechanism. It also includes session-based trading filters and real-time performance tracking to manage open positions and overall account exposure.

Details

Author

smahud on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Scalping, Trend following, Multi-strategy

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

NameTypeDefaultDescription
InpEnableEAbooltrueEnable EA
InpMagicNumberint123456Magic Number
InpEACommentstringScalpingEA_Pro_smahudEA Comment
InpEnableVisualAnnotationsbooltrueEnable Visual Annotations
InpEnableBacktestVisualsbooltrueEnable Backtest Visuals
InpEnableLiveVisualsbooltrueEnable Live Trading Visuals
InpEnableDesktopAlertsbooltrueEnable Desktop Alerts
InpEnableMobileAlertsbooltrueEnable Mobile Notifications
InpEnableSoundAlertsbooltrueEnable Sound Alerts
InpEnablePerformanceTrackingbooltrueEnable Performance Tracking
InpAlertSoundFilestringalert.wavAlert Sound File
InpMaxAlertsPerMinuteint10Max Alerts Per Minute
Show all 40 inputs
NameTypeDefaultDescription
InpAlertCooldownSecondsint5Alert Cooldown (seconds)
InpUseM1booltrueUse M1 timeframe
InpUseM5booltrueUse M5 timeframe
InpUseM15booltrueUse M15 timeframe
InpUseM30booltrueUse M30 timeframe
InpUseH1booltrueUse H1 timeframe
InpUseH4booltrueUse H4 timeframe
InpCSMStrengthThresholddouble80.0CSM Strength Threshold (%)
InpCSMCorrelationThresholddouble80.0CSM Correlation Threshold (%)
InpCSMCalculationPeriodint100CSM Calculation Period
InpSignalStrengthThresholddouble80.0Signal Strength Threshold (%)
InpRSIPeriodint14RSI Period
InpMACDFastint12MACD Fast EMA
InpMACDSlowint26MACD Slow EMA
InpMACDSignalint9MACD Signal SMA
InpADXPeriodint14ADX Period
InpADXThresholddouble25.0ADX Threshold
InpRiskPerTradedouble2.0Risk per trade (%)
InpMaxTotalRiskdouble8.0Maximum total risk (%)
InpMaxPositionsint5Maximum concurrent positions
InpMaxPositionsPerPairint1Maximum positions per pair
InpStopLossPointsdouble200Stop Loss (points)
InpTakeProfitPointsdouble300Take Profit (points)
InpEnableSmartTrailingbooltrueEnable Smart Trailing
InpTrailingStartdouble150Trailing Start (points)
InpTrailingStepdouble50Trailing Step (points)
InpUnlimitedTPExtensionbooltrueUnlimited TP Extension
InpCheckMarketSessionsbooltrueCheck Market Sessions

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone smahud/SophisticatedScalpingEA 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, 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

Scalp Gold EA

by wechuck
1 stars

Scalp Gold EA is a MetaTrader 5 robot primarily optimized for XAUUSD and major forex pairs. It employs a multi-tiered entry system that selects risk levels based on setup confluence and H4 trend alignment via moving averages. Entries are further filtered by ADX momentum and volatility checks. The EA manages risk with a

MT5 Trading robot Trend followingScalpingMulti-strategy
Updated 4 months ago None stated GitHub repository of Scalp Gold EA

XAUUSD MTF Scalper AI Mode

by umarhusain075-hub
1 stars

This MetaTrader 5 expert advisor is a multi-timeframe scalping robot optimized for gold trading. It utilizes a higher-timeframe bias filter combined with lower-timeframe entry triggers based on a weighted scoring system. The strategy integrates Exponential Moving Averages, ADX for trend strength, Stochastic RSI, and VW

MT5 Trading robot Trend followingScalpingMulti-strategy
Updated 2 months ago None stated GitHub repository of XAUUSD MTF Scalper AI Mode

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

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

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper

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