Trading robot · MT5

Gold Trading Bot Pro

by pollycarp

This MetaTrader 5 expert advisor focuses on trading gold and other instruments using a trend-following breakout and retest methodology.

GitHub stars1
Forks0
Last update1 year ago11 Jun 2025
LicenceNone stated

Overview

Gold Trading Bot Pro filters market conditions using three moving averages and ATR-based consolidation detection. Entries are triggered by RSI pullbacks and liquidity grab patterns during specific intraday trading hours. Risk management features include percentage-based position sizing, ATR-derived stop loss and take profit levels, and equity-based drawdown limits for daily and total protection. The system includes a trailing stop mechanism and enforces a minimum stop loss distance.

Details

Author

pollycarp on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Breakout, Mean reversion, SMC / ICT / price action

Markets

Gold, Forex

Timeframes

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

NameTypeDefaultDescription
riskPercentdouble0.5% Risk per trade
maFastPeriodint20MA Fast (Trend)
maMidPeriodint50MA Mid (Trend)
maSlowPeriodint100MA Slow (Trend)
rsiPeriodint14RSI Period
rsiPullbackZonedouble50RSI Pullback target
rsiTolerancedouble3RSI tolerance around Pullback zone
atrPeriodint14ATR Period
atrSpikeMultiplierdouble1.5ATR Spike Filter Multiplier
atrMultiplierSLdouble1.5ATR Multiplier SL → used but forced min 40 pips
atrMultiplierTPdouble5.0ATR Multiplier TP → locked to 1:5
tradeHourStartint13Trade window start hour
Show all 20 inputs
NameTypeDefaultDescription
tradeHourEndint17Trade window end hour
minSLPipsdouble40.0Enforced minimum SL = 40 pips → locked
symbolstringXAUUSDSymbol to trade
maxDailyLossPercentdouble1.0Max Daily DD % → Balance based
maxTotalLossPercentdouble10.0Max Total DD % → Balance based
consolidationATRThresholddouble1.0If ATR < X pips → mark as consolidation
consolidationLookbackBarsint20Lookback bars to check consolidation range
liquidityWickRatiodouble2.5Wick ratio threshold for liquidity grab detection

How to install it

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

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

This MetaTrader 5 expert advisor executes a multi-stage trading strategy focusing on H1 trendline breakouts and RSI divergences. It refines entries on the M5 timeframe using Change of Character and micro Break of Structure signals. The EA includes automated risk management with percentage-based lot sizing and ATR-based

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

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

Fimathe EA

by yolisses
12 stars

Fimathe EA is a MetaTrader 5 robot designed to automate the Fimathe trading technique. It replaces manual channel drawing by analyzing a user-defined range of historical candles to determine reference channels and neutral zones. The system identifies price partitions and uses the median distance to set entry levels. Fo

MT5 Trading robot BreakoutTrend followingSMC / ICT / price action
Updated 5 years ago None stated GitHub repository of Fimathe EA

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

ICT System EA

by 26730023-PhamPhuNguyenHung
5 stars

This MetaTrader 5 expert advisor automates trading strategies based on Inner Circle Trader (ICT) and Smart Money Concepts (SMC). It utilizes a confluence engine to evaluate market structure, PDA zones, fair value gaps, order blocks, and SMT divergence against correlated symbols like the DXY. Designed specifically for p

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
Updated 6 months ago None stated GitHub repository of ICT System 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