Collection · MT5

Xzmjj Trading Bots Collection

by Xzmjj

This repository features a collection of MetaTrader 5 expert advisors designed for automated trading across various market conditions.

High risk

GitHub stars2
Forks1
Last update1 year ago24 May 2025
LicenceNone stated

Overview

The included tools range from grid-based systems like Mecha-Godzilla to range-reversion and breakout strategies. The expert advisors offer modular risk management, including daily loss limits compatible with proprietary firm requirements, ATR-based volatility filters, and optional hedging mechanisms. Users can define trade parameters such as central point calculations, fixed lot sizes, and maximum position limits. While advanced protection features are present, some strategies operate without a default stop loss or rely on grid layering.

Details

Author

Xzmjj on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Grid, Mean reversion, Breakout, Hedging

Markets

Any symbol

Timeframes

M15-H1, H4 and above

Risk profile

  • Opens a grid of orders: exposure builds up in a trend
  • Holds opposite positions at once
  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
TimeframeENUM_TIMEFRAMESPERIOD_H1Marco temporal
InitialBalancedouble10000.0Saldo inicial de la cuenta en USD
FixedContractSizedouble0.25Tamaño fijo del contrato
UseCandleBasedCentralPointboolfalseUsar cálculo del punto central basado en velas
CandlesToConsiderint500Nº de velas para el cálculo (UseCandleBasedCentralPoint = true )
FixedCentralPointdouble5355.0Punto central fijo (UseCandleBasedCentralPoint = false)
GridDistancePointsGraphicsdouble1500.0Distancia entre niveles del grid (puntos)
MaxGridLevelsint50Máximo número de niveles en el grid
MaxPositionsPerLevelint2Máximo número de posiciones por nivel del grid
LimitGridPositionsbooltrueActivar/desactivar límite de posiciones abiertas en el grid
MaxGridPositionsint6Máximo número de posiciones abiertas en el grid (excluye coberturas)
UseStopLossboolfalseUsar stop loss
Show all 28 inputs
NameTypeDefaultDescription
StopLossPointsGraphicsdouble1500.0Stop loss en puntos (posiciones normales)
UseHedgingboolfalseActivar/desactivar coberturas
HedgeContractSizedouble0.1Tamaño del contrato para coberturas
HedgePointsBeforeSLdouble50.0Puntos gráficos antes del SL para la cobertura
UseHedgeStopLossboolfalseActivar/desactivar stop loss para las coberturas
HedgeStopLossPointsdouble200.0Stop loss en puntos gráficos para las coberturas
HedgeTakeProfitPointsdouble200.0Take profit en puntos gráficos para las coberturas
UseAtrFilterboolfalseActivar/desactivar filtro de ATR
AtrPeriodint14Período del ATR
AtrHighdouble0.0020Límite superior del ATR (en valor absoluto, ej. 0.0020 = 20 pips)
AtrLowdouble0.0005Límite inferior del ATR (en valor absoluto, ej. 0.0005 = 5 pips)
UseBalanceTargetbooltrueActivar/desactivar objetivo de saldo
BalanceTargetdouble9565.68Saldo objetivo para cerrar el bot (USD)
MinOperatingBalancedouble9050.0Saldo mínimo operativo (USD)
MaxDailyLossFTMOdouble500.0Pérdida diaria máxima permitida por FTMO (USD)
SafetyBeltFactordouble0.5Factor de cinturón de seguridad (0.0 a 1.0, ej. 0.5 = 50%)

How to install it

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

This repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based

MT5 Collection Indicator crossoverMean reversionMartingale High risk
6 stars

This collection provides MetaTrader 5 Expert Advisors sourced from MQL5 programming documentation. The primary tool, Unity Martingale, implements a multi-currency reversal strategy using breakout or pullback signals. It employs a martingale lot-scaling system that increases positions after losses based on a user-define

MT5 Collection MartingaleGridBreakout High risk
5 stars

This repository contains an extensive library of MetaTrader 5 expert advisors covering various algorithmic trading methodologies. The collection includes strategies based on Bollinger Bands, Relative Strength Index, moving average ribbons, and swing failure patterns. A core focus is the Ighodalo series for gold and CFD

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 8 weeks ago Custom licence GitHub repository of Ighodalo MT5 Strategy Collection
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
2 stars

This collection for MetaTrader 5 provides several automated Expert Advisors designed for various symbols including forex, gold, and indices. The repository features Mecha Godzilla, a grid trading system using ATR-based spacing and bidirectional orders, alongside specialized bots for Asian session breakouts and H4 trend

MT5 Collection GridBreakoutTrend following High risk
1 stars

This repository contains two expert advisors for MetaTrader 5: a reconstruction of a popular grid system and a price-action tool for gold. The primary EA utilizes RSI and price extremes for entry signals, managing trades through a grid with tiered lot multipliers. It features smart distance calculations using ATR ratio

MT5 Collection Mean reversionGridMartingale 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