Collection · MT5

Goldmine EA Series

by brandonboyd203-byte

This collection of MetaTrader 5 expert advisors is designed for trading Gold and Silver using Smart Money Concepts.

GitHub stars1
Forks0
Last update4 months ago25 May 2026
LicenceCustom licence

Overview

The EAs identify entries through Fair Value Gaps, Order Blocks, and session sweeps, filtered by market structure shifts like BOS and CHoCH. It features sophisticated risk controls including multi-layered trade entries with decreasing risk, equity-based drawdown pauses, and dynamic stop losses that adjust for ATR volatility and swing structure. The repository also contains a remote license server for account-based access control and usage monitoring.

Details

Author

brandonboyd203-byte on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action

Markets

Gold, Oil & commodities

Timeframes

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

NameTypeDefaultDescription
TotalLayeredRiskPercentdouble5.0Total risk (%) for layered trade (split across layers) - LOWERED for safety
RiskPercentdouble2.5Risk per trade (%) - fallback when not layering
FirstTradeRiskdouble3.5Risk for FIRST trade (%) - fallback
ScalingEntryRiskdouble1.0Risk for scaling entries (%) - Lower risk when adding to losing positions
MaxTotalRiskdouble6.0Maximum total risk for all trades (%) - Safety limit - LOWERED
UseEquityForRiskLimitbooltrueUse Equity (not Balance) for risk % - blocks new trades when equity drops
PauseNewTradesIfDrawdownPercentdouble5.0Pause new trades if drawdown > this % of balance (0 = disabled)
UseDecreasingRiskPerLayerbooltrueFirst layer risks more, next layers less (2% then 1.5%,1.5%,1%,1%)
SL_Pipsdouble20.0Stop Loss (pips) - Base SL (dynamic can expand)
SL_Pips_Silverdouble35.0Stop Loss (pips) - Base SL for Silver
UseDynamicSLbooltrueEnable dynamic SL (adapts to market structure)
UseBreakEvenbooltrueEnable break-even
Show all 40 inputs
NameTypeDefaultDescription
UseDynamicBEbooltrueBE at position's SL distance (dynamic); if false use fixed pips below
BreakEvenPipsdouble25.0Move to BE at this many pips - min when UseDynamicBE, or fixed when off
BreakEvenPips_Silverdouble30.0Move to BE at this many pips (Silver)
BE_FVG_Pipsdouble30.0BE pips for FVG entries
BE_OB_Pipsdouble30.0BE pips for Order Block entries
BE_SR_Pipsdouble30.0BE pips for Support/Resistance tap & bounce
BE_Session_Pipsdouble15.0BE pips for Session sweep entries (tighter)
DynamicSL_GoldOnlyboolfalseApply dynamic SL only to Gold (XAUUSD) - FALSE = Use for both
DynamicSL_MinPipsdouble25.0Minimum dynamic SL (pips) - Gold: never smaller (was 15; 14 too tight)
DynamicSL_MinPips_Silverdouble30.0Minimum dynamic SL (pips) - Silver
DynamicSL_MaxPipsdouble80.0Maximum dynamic SL (pips) - allows structure/spikes
MaxSL_Pips_Golddouble80.0Hard cap: Gold SL never exceeds this (stops 100+ pip SL; broker min may still widen slightly)
DynamicSL_MaxPips_Silverdouble60.0Maximum dynamic SL (pips) - Silver
DynamicSL_ZoneBufferdouble3.0Buffer beyond zone (pips) - REDUCED from 5.0
DynamicSL_ATR_Multiplierdouble1.0ATR multiplier for volatility-based SL - REDUCED from 1.5
DynamicSL_ATR_Periodint14ATR period for dynamic SL
DynamicSL_UseStructurebooltruePlace SL beyond swing high/low (structure-based)
DynamicSL_SwingLookbackint10Bars to look back for swing high/low
DynamicSL_ConfluenceBonusdouble5.0Additional pips per confluence factor - REDUCED from 10.0
DynamicSL_SmartExpansionbooltrueOnly expand SL when there's strong confluence (2+ factors)
DynamicSL_BaseMultiplierdouble1.2Base SL multiplier (1.2 = 20% larger than fixed SL)
UseWickProtectionbooltrueEnable wick-based SL buffer (places SL beyond recent wicks)
WickProtection_Lookbackint5Bars to check for wick extremes (5 = last 5 bars)
WickProtection_Bufferdouble2.0Buffer beyond wick (pips) - adds safety margin
UseVolatilitySpikeExpansionbooltrueExpand SL during recent volatility spikes
VolatilitySpike_Barsint3Bars to check for volatility spike (3 = last 3 bars)
VolatilitySpike_Multiplierdouble1.5SL multiplier during volatility spike (1.5 = 50% wider)
UseQuickRejectionCheckboolfalseOptional: 1-bar delay if large wick detected (false = immediate entry)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone brandonboyd203-byte/mt5-license-server 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

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market

MT4MT5 Collection Indicator crossoverMartingaleGrid High risk
6 stars

This repository provides a collection of MetaTrader 5 expert advisors based on Smart Money Concepts and ICT methodologies. The tools implement price action strategies including Fair Value Gaps, Market Structure Shifts, and the Next Day Model. Each EA handles trade execution with automated risk-based lot sizing and conf

MT5 Collection SMC / ICT / price actionScalpingTrend following

MT5 Auto Backtest Pipeline

by 26730023-PhamPhuNguyenHung
4 stars

This repository features a headless CLI automation pipeline for MetaTrader 5, enabling users to compile, backtest, and rank MQL5 Expert Advisors through PowerShell. It contains a large collection of robots focused on candlestick patterns, such as Morning and Evening Star signals, combined with Stochastic or CCI filters

MT5 Collection SMC / ICT / price actionIndicator crossoverMean reversion

KolaTradebot SMC

by Sidoine1991
3 stars

KolaTradebot is a MetaTrader 5 expert advisor that executes a multi-asset strategy using Smart Money Concepts and a Global Order Model. It bridges the platform with a Python-based server to analyze market structures like order blocks, fair value gaps, and liquidity sweeps across multiple timeframes. The system includes

MT5 Collection SMC / ICT / price actionAI / machine learningBreakout High risk

Zerith EA Collection

by BlamzKunG
3 stars

This MetaTrader 5 repository provides a suite of algorithmic trading tools known as the Zerith series. The featured SwingGrid EA utilizes ADX trend filters and ATR-based volatility thresholds to execute trades, employing a recovery grid system with dynamic lot multipliers. Other tools in the set cover news straddle bre

MT5 Collection GridMartingaleSMC / ICT / price action High risk
3 stars

This MetaTrader 5 repository provides a diverse collection of automated trading systems, including tools for supply and demand, news fetching, and price action strategies. The primary expert advisor utilizes moving average crossovers and momentum filters to identify market pullbacks. It incorporates trade management fe

MT5 Collection Indicator crossoverMartingaleTrend following High risk

More collections

Need a broker for MT5?

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

Compare brokers