Collection · MT4

MQL4 Projects Collection

by AmonCheruiyotHQ

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform.

High risk

GitHub stars1
Forks1
Last update1 year ago17 Mar 2025
LicenceMIT

Overview

The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies. Key features within the primary files include a visual dashboard, independent magic numbers for trade categories, and flexible risk controls such as trailing stops. While some tools offer stop loss and take profit settings, others utilize layering or lot-scaling techniques.

Details

Author

AmonCheruiyotHQ on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Martingale, Multi-strategy, Mean reversion, Grid

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

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

Input parameters

Read from dashboard rosario.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
sep1string---------- Panel Position Setting ----------
x_coordinateint10Position X
y_coordinateint30Position Y
font_right_sizeint16Font Size Right Lable
font_right_colorcolorclrYellowGreenFont Color Right Lable
sep2string---------- Magic Number Setting ----------
mn_sellint11Magic Sell
mn_buyint22Magic Buy
mn_piraint33Magic Piramidation
mn_pendint44Magic Pending
mn_multiint55Magic Multi
mn_eaint66Magic EA
Show all 40 inputs
NameTypeDefaultDescription
sep3string---------- Trade Setting ----------
ladouble0.01Lots
state_sl_tradeboolfalseState SL Trade
pn_stoplossint500Stop Loss
state_tp_tradeboolfalseState TP Trade
pn_takeprofitint500Take Profit
state_trailing_tradeboolfalseState Trailing Trade
pn_trailingint100Trailing Point
trail_stepint1Trailing Step
sep4string---------- Piramidation Setting ----------
state_piramidboolfalseState Piramidation
dist_piramidationint300Piramidation Distance
num_piramidationint3Piramidation Number
sensitivityint1Sensitivity
state_sl_piramidboolfalseState SL Piramid
sl_piramidxint400Stop Loss
state_tp_piramidboolfalseState TP Piramid
tp_piramidxint400Take Profit
state_trailing_piramidboolfalseState Trailing Piramid
trail_piramidxint110Trailing Point
step_piramidxint2Trailing Step
sep4astring---------- Contrarian Setting ----------
state_pendingboolfalseState Contrarian
manual_distanceint200Manual Distance
trailsteps_pendingint10
state_sl_pendingboolfalseState SL Pending
sl_pendingxint300Stop Loss
state_tp_pendingboolfalseState TP Pending

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone AmonCheruiyotHQ/MQL4-Projects 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, and any .mqh files into the Include folder the code expects.
  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

FX Git Collection

by dennislwm
101 stars

This repository contains a diverse collection of MetaTrader 4 expert advisors and R-based financial scripts. The primary robot is based on the Nanningbob trading system, which utilizes multi-timeframe analysis across daily and four-hour charts to identify trends and ranging markets. It employs Bollinger Bands for mean-

MT4 Collection Trend followingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of FX Git Collection
2 stars

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk

EA MQL4 Collection

by Yumerain
151 stars

This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 Collection
19 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on the MultiTrader dashboard and various technical utility robots. MultiTrader functions as a multi-symbol management tool that monitors dozens of currency pairs simultaneously, using high and low percentage levels for trade execut

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 7 years ago None stated GitHub repository of MQL4 MultiTrader Collection

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

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

More collections

Need a broker for MT4?

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

Compare brokers