Trading robot · MT4

Gold Liquidity Scalper

by amirmohamadkazemi0933

This MetaTrader 4 expert advisor is designed for XAUUSD scalping on the M1 timeframe.

GitHub stars1
Forks0
Last update2 months ago14 Jul 2026
LicenceNone stated

Overview

Gold Liquidity Scalper switches logic based on market regimes: in trending markets, it follows the higher timeframe direction using EMA reversals and breakout entries, while in ranging markets, it executes trades based on liquidity sweeps at price extremes. Entry confirmation requires RSI alignment to filter low-momentum setups. Risk controls include percentage-based position sizing, ATR-derived stop losses, a fixed risk-to-reward target, and an EMA-based trailing stop. It limits activity to one open position at a time.

Details

Author

amirmohamadkazemi0933 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Scalping, SMC / ICT / price action, Trend following, 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.

Topics

metatradertradebotxauusd

Input parameters

Read from LiquiditySweep_SuperScalp(new ver 0.1).mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
MagicNumberint555111
RiskPercentPerTradedouble1.0% of equity risked per trade (0 = use FixedLot)
FixedLotdouble0.01
MaxSlippageint10
MaxPositionsint1
UseM5Trendbooltrue
UseM15Trendbooltrue
HigherTF_EMA_Periodint20EMA used on M5/M15 to define their trend
EMA_Periodint8
ReversalConfirmBarsint2
MaxWaitBarsForBreakoutint5
BreakoutLookbackBarsint1
Show all 27 inputs
NameTypeDefaultDescription
RangeLookbackBarsint100M1 bars used to define the range high/low
OuterZonePercentdouble25.0% of range height counted as support/resistance zone (rest = no-trade middle)
RangeSweepRSIOversolddouble35.0required at the sweep candle for a support-buy
RangeSweepRSIOverboughtdouble65.0required at the sweep candle for a resistance-sell
RSIPeriodint14
RSIRangeLowdouble45.0
RSIRangeHighdouble55.0
RiskRewardRatiodouble2.0
StopBufferPointsint20
MaxSpreadUSDdouble0.50
ATRPeriodForStopsint14
TrailToEMA8AfterRbooltrue
TrailArmRMultipledouble1.0
ShowDebugDashboardbooltrue
PrintDebugLogbooltrue

How to install it

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

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper EA

Smart Trader Forex

by joseph8848
1 stars

Smart Trader Forex is an automated expert advisor for MetaTrader 5 that employs dual strategies for trend following and mean-reversion scalping. It monitors over 15 currency pairs simultaneously using a multi-symbol scanner and a signal quality filter. Risk management includes ATR-based stop losses, trailing stops, and

MT5 Trading robot Trend followingScalpingMean reversion

Siluman Kambing

by rajaculaemas
2 stars

This MetaTrader 4 expert advisor implements a multi-strategy approach for trading various currency pairs and gold. It combines technical indicators including Moving Averages, RSI, Bollinger Bands, and ADX with price action concepts such as support, resistance, and engulfing patterns. The EA features risk management too

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Siluman Kambing

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

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
1 stars

The BU ATR Breakeven Engulfing is a MetaTrader 4 robot that executes trades based on candlestick price action and volatility indicators. It identifies entry points using bullish and bearish engulfing patterns, which are then filtered through the Relative Strength Index to confirm momentum. The system incorporates dynam

MT4 Trading robot SMC / ICT / price actionMean reversionScalping

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