Collection · MT4 · MT5

JBlanked MQL Library

by jblanked

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies for forex markets.

High risk

GitHub stars12
Forks11
Last update11 days ago11 Sep 2026
LicenceGPL-3.0

Overview

A core component is the Gareth Range Breakout, which defines specific time-based price zones and executes trades when price breaks those boundaries. It includes risk controls such as stop loss and take profit levels defined by either pips or a percentage of the detected range. The repository also contains additional tools based on divergence and moving average envelopes. Most utilities offer day-of-week filters and flexible position sizing based on account percentage or fixed lot amounts. The README is minimal.

Details

Author

jblanked on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5)

Strategy

Breakout, Multi-strategy, Grid

Markets

Forex

Timeframes

M15-H1

Risk profile

  • Opens a grid of orders: exposure builds up in a trend

Input parameters

Read from Gareth-Range-Breakout.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
inpStartTimestring01:00Start Time (HH:MM)
inpStopTimestring15:00Stop Time (HH:MM)
inpPipBufferdouble0.0Pip Buffer
inpCloseRuleboolfalseClose if Opposite Opened?
inp2ndTPdouble0.0Second Trade TP if SL Hit
inpMondaybooltrueTrade on Mondays? (1)
inpTuesdaybooltrueTrade on Tuesday? (2)
inpWednesdaybooltrueTrade on Wednesdays? (3)
inpThursdaybooltrueTrade on Thursdays? (4)
inpFridaybooltrueTrade on Fridays? (5)
inpZoneColorcolorclrYellowZone Color
inpZoneWidthint2Zone Width
Show all 20 inputs
NameTypeDefaultDescription
inpRiskChoiceenum_which_lotsizeuselotsizeRisk Option
inpLotsizedouble0.10Risk/Lot Size
inpMagiclong278911Magic Number
inpCommentstringG-RangeOrder Comment
inpTPOption_levelPipsTP Option
inpTPValuedouble30.0TP Value (if Pips: in pips; if Percent: percentage of range)
inpSLOption_levelPipsSL Option
inpSLValuedouble10.0SL Value (if Pips: in pips; if Percent: percentage of range)

How to install it

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

7 stars

This repository contains a collection of MetaTrader 5 expert advisors, primarily featuring the Signal Poller EA series alongside standard indicator-based robots. The system is designed for high-leverage environments, specifically targeting gold, bitcoin, forex, and indices. It utilizes an external signal push architect

MT5 Collection Trend followingBreakoutScalping High risk
Updated 6 months ago None stated GitHub repository of Signal Poller EA Collection
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
135 stars

This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri

MT4MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Nkanven EA Collection
109 stars

LIVMOR is a MetaTrader 4 expert advisor found within this repository of over fifty automated trading tools. It utilizes technical indicators such as MACD, Stochastic, and moving averages to identify entry points, while also offering manual price entry options. The EA manages risk through user-defined stop loss and take

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of LIVMOR Trading Collection

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
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

More collections

Need a broker for MT4/MT5?

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

Compare brokers