Collection · MT4

MQL4 Learning Collection

by izzoh

This repository contains a collection of MetaTrader 4 expert advisors developed for educational purposes and backtesting practice.

GitHub stars5
Forks1
Last update10 years ago16 Mar 2016
LicenceNone stated

Overview

MQL4 Learning Collection features several distinct trading strategies, including moving average crossovers, stochastic counter-trend setups, and pending order breakouts. The included scripts demonstrate essential MQL4 functions such as dynamic lot sizing based on account equity, stop loss and take profit management, and basic error handling. While the README is minimal, the code provides various templates for order execution and trade management for users learning to build automated systems.

Details

Author

izzoh on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Mean reversion, Breakout

Markets

Any symbol

Timeframes

Any timeframe

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.

Input parameters

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

NameTypeDefaultDescription
DynamicLotSizebooltrue
EquityPercentdouble2
FixedLotSizedouble0.1
StopLossdouble50
TakeProfitdouble100
Slippageint5
MagicNumberint123
FastMAPeriodint10
SlowMAPeriodint20

How to install it

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

6 stars

This collection for MetaTrader 4 contains over eighty expert advisors and scripts primarily focused on Bollinger Band breakout strategies. The repository includes numerous variations for fixed lot sizes and specific money management settings. The included logic covers price action relative to moving averages and volati

MT4 Collection BreakoutArbitrageMean reversion
1 stars

This repository contains a collection of MetaTrader 4 Expert Advisors and helper classes for algorithmic trading. The featured robot, Desiree, implements a breakout strategy based on Donchian Channels for both entries and exits. It incorporates comprehensive risk controls including percentage-based lot sizing, volatili

MT4 Collection BreakoutTrend followingMean reversion High risk
Updated 9 years ago None stated GitHub repository of Desiree and MQL4 Collection
5 stars

This collection of Expert Advisors for MetaTrader 5 provides specific automated strategies for Gold, Bitcoin, EURUSD, and Nasdaq. 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

MT5 Collection BreakoutMean reversionScalping
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

EJ Trader MT5 Collection

by ejtraderPlugins
3 stars

This repository is a diverse collection of MetaTrader 5 Expert Advisors, featuring nearly 100 different scripts sourced from various origins. The library includes automated robots based on standard indicators like Bollinger Bands, MACD, Stochastics, and moving average crossovers, as well as channel trading systems and

MT5 Collection Indicator crossoverMean reversionBreakout High risk
Updated 8 years ago None stated GitHub repository of EJ Trader MT5 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