Collection · MT5

MQL5 Strategy Collection

by kabradhruv

This repository provides automated trading experts for the MetaTrader 5 platform, featuring a combined grid and martingale strategy along with an Ichimoku-based approach.

High risk

GitHub stars4
Forks0
Last update1 year ago9 Feb 2025
LicenceNone stated

Overview

The primary expert advisor executes trades based on price movement relative to a fixed grid distance. It incorporates a lot multiplication system that increases position sizes following a stop loss and resets to the base volume after a take profit. The code is configured by default for XAUUSD and allows users to customize grid spacing, lot multipliers, and slippage controls.

Details

Author

kabradhruv on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Grid, Martingale, Trend following

Markets

Gold, Forex

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend

Input parameters

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

NameTypeDefaultDescription
GridSizedouble3.0Distance between grid levels
LotSizedouble0.01Lot size for orders
Slippagedouble0.030Allowed price slippage
MagicNumberint123456Unique identifier for strategy orders
SymbolstringXAUUSDTrading symbol
CheckIntervalint1Check price every second (in seconds)
Slippage_for_buyulong20Adjust based on broker and volatility
multiplierint2

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone kabradhruv/MT5-Strategy-in-MQL5 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

67 stars

This repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 3 years ago None stated GitHub repository of Konz MQL5 EA Collection

Super Trading Collection

by RoyluxuryTrading
24 stars

This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management

MT4MT5 Collection Trend followingScalpingAI / machine learning High risk

Expert MT5 Collection

by GeneralTradingSarl
16 stars

This repository is a large collection of over 1,000 expert advisors designed for the MetaTrader 5 platform. It serves as an open-source library featuring various algorithmic trading strategies, including moving average crossovers, RSI levels, Parabolic SAR, and range breakouts. The collection provides robots for trend

MT5 Collection Trend followingBreakoutGrid High risk
Updated 4 days ago None stated GitHub repository of Expert MT5 Collection
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

MetaTrader EA Collection

by soloman-sv
4 stars

This repository is a diverse collection of MetaTrader 4 and 5 expert advisors, including signal-based robots, grid traders, and utility scripts. The featured expert advisor provides a versatile framework for trade management with options for trailing stops, break-even logic, and ECN broker compatibility. It includes co

MT4MT5 Collection GridMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of MetaTrader EA Collection
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