Trading robot · MT5

Gold Scalper Bot

by bigthreeatone

This MetaTrader 5 expert advisor is designed for aggressive trading on XAUUSD, focusing on the 5-minute and 15-minute timeframes.

High risk

GitHub stars3
Forks1
Last update4 months ago24 Jun 2026
LicenceNone stated

Overview

Gold Scalper Bot utilizes Fibonacci retracements and swing high/low breakouts to identify entries across three selectable modes: scalp, swing, and trend following. The system manages up to three positions simultaneously using an auto-scaling logic with specific distances between entries. Risk management features include a daily loss limit percentage, automated position sizing based on account equity, mandatory stop losses, partial take profits, and an optional trailing stop.

Details

Author

bigthreeatone on GitHub

Type

Trading robot

Markets

Gold

Timeframes

M1-M5, M15-H1

Risk Profile

  • Opens a grid of orders: exposure builds up in a trend

Input Parameters

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

NameTypeDefaultDescription
TradingModeTRADING_MODESCALP_MODE
LotSizedouble0.01Base lot size per position
RiskPercentdouble1.0Risk % per trade (1-2% recommended)
UseAutoSizingbooltrueAuto position sizing based on risk
DailyLossLimitPercentdouble3.0Daily loss limit (3% = $300 on $10K)
ScalpTakeProfitint5TP in pips (2-5)
ScalpStopLossint10SL in pips
ScalpFibLeveldouble0.618Fib retracement level
SwingTakeProfitint15TP in pips (10-20)
SwingStopLossint25SL in pips
SwingFibLeveldouble0.50Fib retracement level
TrendTakeProfitint30TP in pips (20+)
Show all 22 inputs
NameTypeDefaultDescription
TrendStopLossint40SL in pips
TrendCandlesint20Look back for trend
ScalingDistanceint5Pips between entries
PartialTP1int5Close 50% of Position 1 at X pips
PartialTP2int10Close 50% of Position 2 at X pips
UseTrailingStopbooltrueTrailing stop on Position 3
TrailingStopPipsint10Trailing stop distance (pips)
ShowControlPanelbooltrueDisplay control panel on chart
MagicNumberint123456EA identifier
EnableTradingbooltrueMaster on/off switch

How to Install It

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

The Gold Reaper

by naming1086
1 stars

The Gold Reaper is a multi-strategy expert advisor for MetaTrader 4 and 5. It trades gold pairs using breakout and reversal entries based on fractals and ATR. Trades enter when spread and frequency conditions are met and exit via trailing stops or time-based rules. The EA includes NFP filters to pause during economic e

MT4MT5 Trading robot BreakoutTrend followingScalping High risk
Updated 6 weeks ago None stated GitHub repository of The Gold Reaper

Nyao Scalper

by elrizwiraswara
214 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 13 days ago BSD-3-Clause GitHub repository of Nyao Scalper

Prop Firm EA Fleet

by cgemise971
20 stars

Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 10 months ago None stated GitHub repository of Prop Firm EA Fleet

Prem Gold Advisor

by Premkumar238
13 stars

Prem Gold Advisor is an automated MetaTrader 5 expert advisor specialized for XAUUSD (Gold) trading on the five-minute timeframe. It initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits succe

MT5 Trading robot BreakoutTrend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Prem Gold Advisor
5 stars

Universal Market Hunter is an automated trading robot for MetaTrader 5 that targets Forex, gold, and cryptocurrency markets. It allows users to switch between two main strategies: a Bollinger Band volatility breakout and an engulfing price action pattern using volume confirmation. The system manages risk through ATR-ca

MT5 Trading robot BreakoutScalpingTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Universal Market Hunter

EA XAUUSD Premium

by diditgravatar
4 stars

This MetaTrader 5 expert advisor is designed for gold trading, utilizing a multi-timeframe strategy across the M15, H1, and H4 charts. It integrates technical indicators including ADX, RSI, and Moving Averages to identify trend-following and breakout opportunities. Risk controls include dynamic lot sizing based on acco

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of EA XAUUSD Premium

More gold EAs

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers