Trading robot · MT5

High Frequency Scalper

by Pusparaj99op

This MetaTrader 5 expert advisor is designed for scalping gold on the M1 timeframe.

GitHub stars5
Forks0
Last update5 months ago20 Apr 2026
LicenceMIT

Overview

High Frequency Scalper features a versatile strategy engine capable of toggling between breakout and mean-reversion modes based on market conditions. The system manages trades using ATR-based trailing stops, break-even adjustments, and time-based exits. Risk management includes fixed or dynamic lot sizing, daily loss percentage halts, and maximum concurrent trade limits. Execution is protected by spread and slippage filters, as well as a minimum margin buffer check.

Details

Author

Pusparaj99op on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Scalping, Breakout, Mean reversion

Markets

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.

Input Parameters

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

NameTypeDefaultDescription
InpSymbolstringXAUUSD
InpTFENUM_TIMEFRAMESPERIOD_M1
InpModeStrategyModeMODE_AUTO_TOGGLE
InpFixedLotdouble0.01
InpUseDynamicRiskboolfalseOFF by default for backtest safety
InpRiskPerTradePctdouble1.0% of balance per trade
InpMaxTradesPerDayint50
InpMaxConcurrentint3
InpDailyLossPctdouble20.0% daily loss to halt
InpSpreadCapPtsdouble80raise to allow wider backtest spread
InpSlippageCapPtsdouble30
InpMarginBufferPctdouble10min % free margin to keep
Show all 27 inputs
NameTypeDefaultDescription
InpATRPeriodint14
InpATRMindouble3.0ATR min in POINTS (not _Point units)
InpATRMaxdouble1500.0ATR max in POINTS
InpTPptsint200in raw points
InpSLptsint100
InpRRdouble2.0TP = SL * InpRR if using RR
InpTimeStopBarsint30
InpUseBEbooltrue
InpBETriggerint50points profit to trigger BE
InpBEOffsetint5
InpTrailModeTrailModeTRAIL_ATR
InpTrailATRMultdouble1.5
InpMaxRetriesint1
InpTimerSecondsint5
InpDebugLoggingbooltrueON for backtest debugging

How to Install It

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

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

Gold Dual Engine Scalper

by MithunCyDev
1 stars

Gold Dual Engine Scalper is an MT5 expert advisor designed for XAUUSD trading. It utilizes a regime-based state machine to navigate market conditions, employing two distinct engines: one for volatility burst continuations and another for liquidity sweep reversals. The EA monitors for price compression and market exhaus

MT5 Trading robot ScalpingBreakoutSMC / ICT / price action

UltraHFT Expert Advisor

by NipunDilshanSenevirathne
1 stars

UltraHFT Expert Advisor is a high-frequency scalping robot for MetaTrader 5 that combines five strategy layers including EMA crossovers, RSI mean reversion, and volatility breakouts. It evaluates market conditions on every tick, entering trades when multiple signals align. The system employs strict risk controls with h

MT5 Trading robot ScalpingMean reversionTrend following High risk

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 EA

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

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

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