Trading robot · MT5

Scalp Gold EA

by wechuck

Scalp Gold EA is a MetaTrader 5 robot primarily optimized for XAUUSD and major forex pairs.

GitHub stars1
Forks0
Last update4 months ago7 May 2026
LicenceNone stated

Overview

Scalp Gold EA 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 an equity guard, weekend gap protection, and a lot-sizing mechanism that scales down after consecutive losses. It also features a high-risk challenge mode for aggressive account growth. The provided README contains unrelated personal biographical information.

Details

Author

wechuck on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Scalping, Multi-strategy

Markets

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

NameTypeDefaultDescription
InpRiskLevel1double2.0Level 1: Daily HFT Scalping
InpRiskLevel2double5.0Level 2: Sniper Trade (HTF Aligned)
InpRiskLevel3double10.0Level 3: God-Tier Trade (Perfect Confluence)
InpRiskLevel4double15.0Level 4: Elite Sniper (~95% win rate setup)
InpHTFENUM_TIMEFRAMESPERIOD_H4Higher Timeframe for 100% setup
InpHTF_FastEMAint50HTF Fast Trend
InpHTF_SlowEMAint200HTF Macro Trend
InpStopLossPipsdouble80.0Increased SL for Gold Volatility (80 pips)
InpTakeProfitPipsdouble550.0Extended TP for runners (550 pips)
InpPartialTPPipsdouble40.0TP1: Close 50% here to lock profit
InpPipMultiplierdouble10.0Points per Pip (10 for Gold)
InpBETriggerPipsdouble45.0Wait for 45 pips before moving to BE
Show all 40 inputs
NameTypeDefaultDescription
InpBELockPipsdouble10.0Lock 10 pips (covers spread + small gain)
InpTrailDistPipsdouble65.0Wider trail to let Gold breathe
InpTrailStepPipsdouble20.0Larger steps to avoid micro-stops
InpMaxTradesDayint10Strict max 10 trades per day
InpMagicint7772028HFT Magic Number
InpMaxSpreadint45More realistic for Gold (45 points)
InpMaxSlippageint30Realistic Slippage for Gold HFT
InpUseVolFilterbooltrueDynamic Trend-Expansion Filter
InpUseADXConfirmationbooltrueCheck ADX Slope (Increasing Momentum)
InpHourStartint1Start HFT
InpHourEndint22Pause before Asian consolidation
InpChallengeModebooltrueEnable $20→$40k Challenge Mode
InpChallengeRiskdouble30.0Risk per trade in Challenge (%)
InpChallengeSLdouble80.0Stop Loss in Challenge (pips)
InpChallengeTP_Earlydouble500.0TP when balance < threshold (pips)
InpChallengeTP_Latedouble20.0TP when balance >= threshold (pips)
InpChallengeThresholddouble300.0Balance threshold: switch from Early to Late TP ($)
InpADXDelayMindouble18.0ADX < this: delay entry, not reject
InpPendingExpireBarsint5Bars before a delayed signal expires
InpLargeBodyMultdouble2.0Body > N×ATR: wait for pullback before entry
InpEnableReentrybooltrueAllow one re-entry attempt after SL hit
InpL23WeeklyCapint3Max combined L2+L3 trades per week
InpL23DailyCapint1Max combined L2+L3 trades per day
InpL3CooldownHoursint48Min hours between consecutive L3 trades
InpL23LossCooldownHint72Hours L2/L3 frozen after any L2/L3 loss
InpSniperADXStrongdouble28.0ADX must exceed this for any L2/L3 entry
InpSniperADXSpikeBarsint5Look-back bars for fake-breakout ADX spike
InpSniperADXSpikeMindouble16.0If ADX was below this N bars ago → suspect spike

How to install it

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

2 stars

This MetaTrader 5 expert advisor is a multi-timeframe scalping robot designed for the forex market. It 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 ris

MT5 Trading robot ScalpingTrend followingMulti-strategy
Updated 1 year ago None stated GitHub repository of Sophisticated Scalping 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
236 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