Trading robot · MT5

Gold Sniper Scalper

by Zaibten

The Gold Sniper Scalper is an automated trading robot designed for MT5, specifically optimized for scalping gold (XAUUSD).

High risk

GitHub stars1
Forks0
Last update2 days ago2 Oct 2026
LicenceNone stated

Overview

The EA employs technical analysis using indicators like exponential moving averages (EMA), RSI, and ATR for entries, with optional multi-timeframe (MTF) trend confirmation across M5 and M15 charts. Uniquely, it includes an experimental OpenAI integration designed to query AI models for market direction based on confidence thresholds. Risk management is robust, featuring configurable risk-based lot sizing, a maximum open position limit, a spread filter, and a daily loss protection mechanism.

Details

Author

Zaibten on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Scalping, Indicator crossover, AI / machine learning, Grid

Markets

Gold

Timeframes

M1-M5, M15-H1

Risk Profile

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

Topics

botmachine-learningmachine-learning-algorithmsmt5mtatrading-bot-2026trading-strategy-simulation

Input Parameters

Read from Gold_Sniper_Scalper_Instant Latest New One.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpXLeftint300
InpYTopint40
InpWidthLeftint300
InpPanelHeightint840
InpBtnXint10
InpBtnYint40
InpBtnWidthint260
InpBtnHeightint40
ClrBackgroundcolorC'10,10,12'
ClrHeadercolorC'255,190,0'
ClrLabelcolorC'180,180,180'
ClrValuecolorC'255,255,255'
Show all 40 inputs
NameTypeDefaultDescription
ClrBuycolorC'46,204,113'
ClrSellcolorC'231,76,60'
ClrNeutralcolorC'120,120,120'
ClrWarningcolorC'255,152,0'
ClrBtnStartcolorC'39,174,96'
ClrBtnStopcolorC'192,57,43'
InpRSIPeriodint14
InpMAFastint20
InpMASlowint50
InpATRPeriodint14
InpHTFPeriodint50H4 EMA
InpUseMTFbooltrueRequire M5+M15 alignment
InpMTFFastEMAint20
InpMTFSlowEMAint50
InpUseAIbooltrue
InpOpenAIAPIKeystring
InpOpenAIModelstringgpt-5.2
InpAIUpdateSecondsint120
InpAIConfidenceMindouble0.80
InpEnableTradingbooltrue
InpMagicNumberint20241002
InpMaxPositionsint1
InpMaxSpreadPointsint70raised to allow XM standard
InpUseRiskSizingbooltrue
InpRiskPercentdouble0.5
InpFixedLotdouble0.01
InpMaxLotCapdouble0.20
InpMaxDailyLossPctdouble2.0

How to Install It

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

1 stars

This expert advisor for MetaTrader 5 focuses on scalping XAUUSD during the London and New York trading sessions. It employs a multi-timeframe filtering system using EMAs and ADX to identify momentum, alongside tick-level price analysis for entry. The bot executes a stacking strategy, allowing multiple positions to be o

MT5 Trading robot ScalpingIndicator crossoverGrid High risk

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

This Expert Advisor for MetaTrader 5 is specifically designed for XAUUSD trading on the M1 timeframe. It utilizes a hybrid strategy combining classic technical indicators like RSI, Moving Averages, and ATR with an OpenAI API integration for signal validation. The robot features an on-chart dashboard for telemetry and i

MT5 Trading robot ScalpingTrend followingAI / machine learning
Updated 5 months ago None stated GitHub repository of Gold EA MT5 With OpenAI

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

AI Enhanced HFT

by Marco210210
20 stars

This MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern

MT5 Trading robot Trend followingIndicator crossoverAI / machine learning High risk
Updated 1 year ago None stated GitHub repository of AI Enhanced HFT

FG Scalping Pro

by FaizGusion00
11 stars

FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago Custom licence GitHub repository of FG Scalping Pro

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