Trading robot · MT5

Gold Sniper Scalper

by mad808

This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market.

High risk

GitHub stars6
Forks1
Last update4 months ago24 Jun 2026
LicenceMIT

Overview

Gold Sniper Scalper determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lot multiplier. Risk controls include an ATR-based dynamic grid step, equity-based protection, a news filter, and session-based trading restrictions. The bot also features a multi-stage take-profit system with smart trailing logic to capture sudden price movements.

Details

Author

mad808 on GitHub

Type

Trading robot

Markets

Gold

Timeframes

M1-M5, M15-H1

Risk Profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend

Input Parameters

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

NameTypeDefaultDescription
Input_SignalTFENUM_TIMEFRAMESPERIOD_M5
Input_UseAutoLotbooltrueDinamik Hacim: Bakiye büyüdükçe lot oranını otomatik ayarlar
Input_AutoLotStep_USDdouble60.0Her 60$ bakiye artışında başlangıç lotunu 0.01 artırır
Input_InitialLotdouble0.01Dinamik Hacim kapalıyken kullanılacak sabit başlangıç lotu
Input_LotProgressionENUM_LOT_PROGRESSIONPROGRESSION_MULTKademeli lot artış modeli (Çarpanlı)
Input_LotMultiplierdouble1.6Kademe lot çarpanı (1.6x)
Input_GridStepPointsint150İki kademe arasındaki asgari mesafe (150 Puan = $1.50)
Input_MaxGridLevelsint8Tek bir yönde açılabilecek maksimum kademe sayısı (Maks 8)
Input_UseMultiTPbooltrueKademeli Kâr Al: İlk girişte 1 yerine 3 işlem açıp sırayla kapatır
Input_MultiTP_StepPointsint30Kademeli TP Adımı: Her işlem arasındaki hedef farkı (Örn: 40, 70, 100 puan)
Input_UseSmartTrailingbooltrueAKILLI TP TAKİP: 40 puanı aşınca fiyat fırlarsa kârı izler, geri dönerse kapatır
Input_TrailActivationPointsint40Takip etmenin başlayacağı asgari kâr puanı
Show all 40 inputs
NameTypeDefaultDescription
Input_TrailStepPointsint15Geri çekilme toleransı (Puan bazında. En yüksek kârdan bu kadar düşerse kapatır)
Input_BasketTP_Pointsint40Sepet maliyet ortalamasından kaç puan yukarıda kapatılacağı (MultiTP kapalıyken etkin)
Input_DailyProfitLimit_USDdouble999999.0Günlük hedeflenen kâr limiti
Input_UseBasketTrailingboolfalse
Input_BasketTrailFloordouble0.20
Input_UseDynamicAtrStepbooltruePiyasa oynaklığına göre kademe aralıklarını dinamik genişletir
Input_AtrStepMultiplierdouble1.2
Input_UseAdxFirstEntryFilterboolfalseİlk giriş işleminde ADX trend gücü filtresini kullan
Input_UseAdxGridBlockFilterbooltrueAşırı trend hareketlerinde yeni kademe eklemeyi durdurur (Önerilen)
Input_MaxAdxTrendLimitint50
Input_GridAdxBlockLimitint55
Input_UseNewsFilterboolfalseÖnemli ekonomik haber takvimini kontrol et
Input_MinutesBeforeNewsint15
Input_MinutesAfterNewsint15
Input_UseSessionFilterboolfalseSeans saati kısıtlamasını etkinleştir
Input_LondonOpenHourint7
Input_NYCloseHourint18
Input_UseRsiFilterbooltrueGiriş tutarlılığı için RSI filtresini kullan (Önerilen)
Input_UseDynamicRsibooltrueDİNAMİK RSI: Sakin piyasada (ADX < 25) sınırları esnetir, ralli anında daraltır
Input_RSIOverboughtdouble70.0Güçlü trendde (ADX >= 25) SELL için azami RSI sınırı
Input_RSIOversolddouble30.0Güçlü trendde (ADX >= 25) BUY için asgari RSI sınırı
Input_RsiOversold_Rangingdouble48.0Yatay/Sakin piyasada (ADX < 25) BUY için esnetilmiş RSI sınırı (Gevşek sinyal)
Input_RsiOverbought_Rangingdouble52.0Yatay/Sakin piyasada (ADX < 25) SELL için esnetilmiş RSI sınırı (Gevşek sinyal)
Input_AdxTrendThresholddouble25.0Trend ve yatay piyasa ayrım sınırı (ADX)
Input_RSIPeriodint14
Input_EMAFastPeriodint13
Input_EMASlowPeriodint34
Input_UseMacroFilterboolfalse

How to Install It

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

RSI Martingale EA

by peefpee
10 stars

This Expert Advisor for MetaTrader 5 implements a martingale trading strategy triggered by the Relative Strength Index (RSI). It opens an initial position when RSI reaches overbought or oversold thresholds. If price continues to move against the initial trade, the EA layers additional orders at set point intervals, mul

MT5 Trading robot MartingaleMean reversionGrid High risk
8 stars

High Frequency Grid EA is an automated trading robot for MetaTrader 5 that implements a mean-reversion strategy through a grid of pending orders. It places buy and sell stop orders at calculated distances, using dynamic spread monitoring to ensure execution only during favorable conditions. The EA includes a trailing s

MT5 Trading robot GridMean reversionScalping High risk
7 stars

This MetaTrader 5 expert advisor executes a mean reversion strategy based on price deviation from a Simple Moving Average. It enters short positions when prices rise above the average and long positions when prices fall below. The algorithm utilizes an aggressive grid-based recovery system where both the entry distance

MT5 Trading robot Mean reversionMartingaleGrid High risk

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 9 months ago Custom licence GitHub repository of Simba Sniper EA

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 8 months ago None stated GitHub repository of AutoTrade EA

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

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