Trading robot · MT5

Simba Sniper EA

by oriokie

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts.

High risk

GitHub stars6
Forks1
Last update8 months ago18 Jan 2026
LicenceCustom licence

Overview

Simba Sniper EA 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 sweeps to time market participation. Risk controls include percentage-based position sizing, maximum daily loss limits, and ATR-based dynamic stop loss and take profit levels. It also features trailing stops, break-even triggers, and an on-chart performance tracking dashboard.

Details

Author

oriokie on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Scalping, Trend following, Mean reversion, Martingale

Markets

Gold

Timeframes

M1-M5, M15-H1

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
H4_TimeframeENUM_TIMEFRAMESPERIOD_H4H4: Trend Bias Timeframe
H1_TimeframeENUM_TIMEFRAMESPERIOD_H1H1: HTF Zones Timeframe
M5_TimeframeENUM_TIMEFRAMESPERIOD_M5M5: Entry Confirmation Timeframe
M1_TimeframeENUM_TIMEFRAMESPERIOD_M1M1: Precision Entry Timeframe (Optional)
UseM1PrecisionboolfalseUse M1 for precision entries
RiskPercentagedouble1.0Risk per trade (%)
MaxDailyLossPercentdouble3.0Maximum daily loss (%)
MaxDrawdownPercentdouble10.0Maximum drawdown (%)
MinRiskRewardRatiodouble2.5Minimum Risk/Reward Ratio
MaxPositionsint1Maximum concurrent positions
MaxTradesPerHourint3Maximum trades per hour (exposure limit)
UseDynamicRRboolfalseUse dynamic R:R based on volatility
Show all 40 inputs
NameTypeDefaultDescription
DynamicRR_Multiplierdouble1.0Dynamic R:R volatility multiplier
UsePartialPositionsboolfalseUse partial position scaling
PartialEntry_Percentdouble50.0Initial position size (% of full size)
UseStreakAdjustmentbooltrueAdjust risk based on win/loss streak
UseDrawdownAdjustmentbooltrueAdjust risk based on drawdown
UseVolatilityRiskAdjustmentbooltrueAdjust risk based on volatility regime
MaxHoldingTimeBarsint0[FUTURE] Max holding time in bars (0 = no limit)
UseTimeBasedExitboolfalse[FUTURE] Enable time-based exit
TimeBasedExit_Barsint100[FUTURE] Exit if no movement after X bars
ATR_Periodint14ATR Period
ATR_ZoneMultiplierdouble1.5ATR multiplier for zone validation
ATR_StopLossMultiplierdouble2.5Stop Loss ATR Multiplier (Increased for gold volatility)
ATR_TakeProfitMultiplierdouble4.0Take Profit ATR Multiplier
ATR_BreakoutMultiplierdouble1.5Breakout detection ATR multiplier
SwingLookbackint20Bars to lookback for swing points
MinDisplacementPercentdouble0.3Minimum displacement (% of ATR)
OrderBlockBarsint5Bars to analyze for Order Blocks
FVG_MinGapPointsint10Minimum FVG gap in points (REDUCED from 20 to 10)
UseSwingPointSLbooltrueUse swing points for stop-loss
UseBreakEvenStopbooltrueEnable break-even stop-loss
BreakEvenTriggerRatiodouble0.5Break-even trigger (ratio of TP distance)
UseTrailingStopbooltrueEnable trailing stop-loss
TrailingStopATRMultiplierdouble1.0Trailing stop ATR multiplier
EnablePerformanceTrackingbooltrueEnable detailed performance tracking
TrackMAE_MFEbooltrueTrack Maximum Adverse/Favorable Excursion
ShowSessionStatsbooltrueShow session-based statistics
ShowSetupTypeStatsbooltrueShow setup type statistics
UseEntryGradingbooltrueUse entry quality grading (A/B/C/D)

How to install it

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

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

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 9 months ago None stated GitHub repository of Prop Firm EA Fleet
4 stars

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA
1 stars

LQS AI Institutional Engine is a MetaTrader 5 robot designed for trading gold using market microstructure analysis. It combines four analytical modules focusing on liquidity sweeps, order flow divergence, Wyckoff accumulation and distribution phases, and multiple anchored VWAP levels. The system features an integrated

MT5 Trading robot SMC / ICT / price actionAI / machine learningMean reversion High risk
Updated 4 months ago None stated GitHub repository of Lqs Ai Institutional Engine

EA Ak47 Hybrid

by JonusNattapong
1 stars

EA Ak47 Hybrid is a modular scalping expert advisor for MetaTrader 5, specifically optimized for gold markets. It generates signals using the Relative Strength Index filtered by an Exponential Moving Average trend component. The EA includes secondary filters for ATR volatility, MACD momentum, and Stochastic oscillators

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 10 months ago Custom licence GitHub repository of EA Ak47 Hybrid

Liquidity Trap EA

by Javacaveman999
1 stars

Liquidity Trap EA is an automated trading robot for MetaTrader 5 that identifies price action setups near swing points. It detects specific candle formations using wick-to-body and body-to-average-bar ratios to enter trades based on perceived liquidity traps. The system incorporates trend filters through moving average

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion High risk
Updated 1 year ago None stated GitHub repository of Liquidity Trap EA

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