Collection · MT5

NziCode MT5 Trading Bots

by NziCode

This collection of Expert Advisors for MetaTrader 5 provides specific automated strategies for Gold, Bitcoin, EURUSD, and Nasdaq.

GitHub stars5
Forks3
Last update8 weeks ago27 Jul 2026
LicenceMIT

Overview

The repository includes modules for ATR breakouts, Bollinger Band mean reversion, and opening range breakouts. Risk management is handled through a three-stage take profit system, automated breakeven adjustments, and trailing stops based on ATR multiples. Users control exposure via percentage-based lot sizing, daily loss limits, and session filters. It also includes a dedicated monitor utility for managing manual or external trades with a stepped trailing stop.

Details

Author

NziCode on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Breakout, Mean reversion, Scalping, Indicator crossover

Markets

Forex, Gold, Crypto, Indices

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.

Topics

automated-trading-toolbitcoinexpert-advisorforexgoldmetatrader5mql5nasdaqtrading-bot-monitoring

Input parameters

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

NameTypeDefaultDescription
EMA_Fastint9
EMA_Slowint21
RSI_Periodint14
RSI_OverboughtLeveldouble70.0avoid new buys above this
RSI_OversoldLeveldouble30.0avoid new sells below this
SwingLookbackBarsint10how many bars back to find the swing high/low
SwingBufferPointsdouble30extra buffer beyond the swing point
RiskPercentdouble1.0% of balance risked per trade (1-2% recommended)
MinRRdouble2.0minimum reward:risk ratio (TP = SL_distance * MinRR)
MaxLotSizedouble1.0safety cap regardless of calculated size
BreakevenAfterRRint1move to breakeven once price moves 1x the SL distance in profit
BreakevenLockPointsint20
Show all 25 inputs
NameTypeDefaultDescription
UseTrailingbooltrue
TrailingStartRRint1start trailing once 1x SL distance in profit
TrailingATRMultipledouble1.5
ATR_Periodint14
UseSessionFilterbooltrue
SessionStartHourint8server-time hour session opens
SessionEndHourint17server-time hour session closes
CooldownSecondsint60
MaxConcurrentPositionsint2
MaxTradesPerDayint20
DailyLossLimitUSDdouble100.0
MagicNumberint20260712
DebugLoggingbooltrue

How to install it

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

MT5 Strategies Collection

by vincentwongso
1 stars

This repository provides a collection of expert advisors for MetaTrader 5, featuring various technical strategies. The primary implementation is the Trading Made Simple system, which utilizes Hull Moving Average crossovers, Heiken Ashi candles, and Stochastic filters to identify entry signals. Other included robots foc

MT5 Collection Indicator crossoverBreakoutScalping
Updated 7 months ago None stated GitHub repository of MT5 Strategies Collection

Quantum Tius

by Don-Gio
18 stars

Quantum Tius is a collection of automated trading scripts and Expert Advisors for MetaTrader 5, specifically targeting the Bitcoin and Gold markets. The repository provides multiple tools including the Kaku and Baki bots, which utilize Moving Average crossovers and the Relative Strength Index for scalping. These tools

MT5 Collection ScalpingIndicator crossoverMean reversion
Updated 1 year ago MIT GitHub repository of Quantum Tius

Gold Pro Scalper

by n30dyn4m1c
15 stars

This collection of MetaTrader 5 expert advisors focuses on mean-reversion and breakout strategies for gold (XAUUSD) on the M1 timeframe. The primary logic identifies statistical extremes using Z-Score calculations to trade price snap-backs. It includes a TickRobust variant designed to filter execution noise and a dual-

MT5 Collection Mean reversionBreakoutScalping

This repository contains a collection of MetaTrader 5 expert advisors based on popular technical indicators. The primary EA uses the Relative Strength Index to identify overbought and oversold conditions for trade entry. It manages risk through fixed stop loss and take profit settings, alongside a maximum position limi

MT5 Collection Mean reversionIndicator crossoverScalping
4 stars

This repository is a collection of MetaTrader 5 expert advisors developed as early coding projects between 2021 and 2024. It includes multiple robots implementing varied strategies such as range breakouts, Donchian channels, Fibonacci retracements, and Bollinger Bands. The expert advisors are largely technical indicato

MT5 Collection Trend followingBreakoutMean reversion High risk
4 stars

This repository provides a collection of MetaTrader 5 expert advisors developed for learning algorithmic trading. The primary featured tool, TimeRangeEA, identifies price high and low points within a specific time window to execute breakout trades. It incorporates risk management through stop loss and take profit level

MT5 Collection BreakoutIndicator crossoverMean reversion

More collections

Need a broker for MT5?

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

Compare brokers