Collection · MT4

Advisory Source Code Collection

by H4RTBrothers

This repository is a comprehensive collection of over 500 MetaTrader 4 expert advisors, including various third-party robots and specialized trading tools.

High risk

GitHub stars8
Forks6
Last update13 days ago9 Sep 2026
LicenceNone stated

Overview

The library contains a wide range of strategies such as trend following, scalping, and grid trading. Individual files like the Ultimate Trader EA utilize historical candle analysis and trend quality metrics to identify entries. Risk management features across the collection include standard stop loss and take profit inputs, virtual stop functionality, and lot-scaling methods like martingale. The documentation is extremely minimal, consisting of a single line.

Details

Author

H4RTBrothers on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Grid, Martingale, Scalping

Markets

Forex, Gold

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 Ultimate Trader Behind The Charts Cracked MQL4.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
MagicStartint6730Magic Number, kind of...
inp27_PastCandlesCountint60
inp27_PastPipsMinimumdouble1.0
inp27_TrendQualitydouble7.0
inp28_PastCandlesCountint60
inp28_PastPipsMinimumdouble1.0
inp28_TrendQualitydouble7.0
inp29_VolumeSizedouble0.01
inp29_StopLossPipsdouble20.0
inp29_TakeProfitPipsdouble10.0
inp35_VolumeSizedouble0.01
inp35_StopLossPipsdouble20.0
Show all 26 inputs
NameTypeDefaultDescription
inp35_TakeProfitPipsdouble10.0
inp38_VolumeSizedouble0.01
inp38_StopLossPipsdouble20.0
inp38_TakeProfitPipsdouble10.0
inp40_VolumeSizedouble0.01
inp40_StopLossPipsdouble20.0
inp40_TakeProfitPipsdouble10.0
inp113_ObjCornerintCORNER_RIGHT_UPPER
inp292_VolumeSizedouble0.01
inp292_StopLossPipsdouble20.0
inp292_TakeProfitPipsdouble5.0
inp296_VolumeSizedouble0.01
inp296_StopLossPipsdouble20.0
inp296_TakeProfitPipsdouble5.0

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone H4RTBrothers/Advisory-Source-Code from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 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

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

Zobad EA Collection

by zobad16
7 stars

This MetaTrader 4 repository contains a large collection of automated trading systems, including scalpers, grid bots, and trend-following tools. The primary expert advisors utilize indicators such as Bollinger Bands and Average True Range (ATR) for entry and exit signals. Risk management features include percentage-bas

MT4 Collection ScalpingGridTrend following High risk
Updated 7 months ago None stated GitHub repository of Zobad EA 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

MQ4 Master Collection

by hairibaba
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,

MT4 Collection Trend followingScalpingIndicator crossover High risk Archived
Updated 7 years ago None stated GitHub repository of MQ4 Master Collection
3 stars

This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul

MT4MT5 Collection SMC / ICT / price actionScalpingBreakout High risk
2 stars

This MetaTrader 4 repository contains a collection of expert advisors and utilities, primarily focused on the AM grid robot and various scalping scripts. The main EA employs a grid-based strategy that layers orders at specific distances and includes settings for trend and counter-trend protection. It features a mechani

MT4 Collection GridScalpingTrend following High risk
Updated 2 years ago None stated GitHub repository of Lianxi EA Collection

More collections

Need a broker for MT4?

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

Compare brokers