Synced with GitHub · updated hourly

Expert Advisor Library

1,978 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

42 EAs match Clear filters

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

Grid EA

by sonidelav
52 stars

This expert advisor for MetaTrader 4 implements a grid-based scalping strategy. It places multiple trade orders at fixed intervals, defined by a configurable pip gap. The system manages a specific number of grid lines on both sides of the starting price, aiming to capture small price movements. It utilizes fixed lot si

MT4 Trading robot GridScalping High risk
Updated 8 years ago GPL-3.0 GitHub repository of Grid EA

MQL4 Experts Collection

by GeneralTradingSarl
17 stars

This repository features a vast collection of over 1,100 open-source Expert Advisors for the MetaTrader 4 platform. It serves as an educational library containing diverse trading strategies, including trend following, breakout, scalping, and mean-reversion systems. The collection explicitly includes high-risk methodolo

MT4 Collection Multi-strategyMartingaleGrid High risk
Updated 4 days ago None stated GitHub repository of MQL4 Experts Collection
14 stars

This repository contains a collection of MetaTrader 4 expert advisors developed for MQL4 programming tutorials. It includes various trading strategies ranging from simple moving average crossovers to complex martingale and grid systems. The provided examples demonstrate order layering with configurable lot multipliers,

MT4 Collection MartingaleGridIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of MQL4 Tutorial EA Collection

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus

Alboogy Dev Projects

by alboogycOdR
6 stars

This repository is a large collection of over 2,400 MetaTrader 4 and 5 files, including expert advisors, utilities, and indicators. It includes a trade copier client that synchronizes positions via socket libraries. The systems manage trades through sophisticated risk controls like equity-based trailing stops, cycle-pe

MT4MT5 Collection Multi-strategyMartingaleGrid High risk
Updated 6 months ago None stated GitHub repository of Alboogy Dev Projects
4 stars

This repository contains a collection of MetaTrader 4 and 5 expert advisors primarily focused on grid and martingale trading strategies. The included robots utilize multiplier-based lot scaling, geometric progression, and fixed-distance grid layering to manage positions. The suite features specialized dashboards for mo

MT4MT5 Collection GridMartingaleMulti-strategy High risk
Updated 8 months ago None stated GitHub repository of Soko8 EA Collection

Yousuf Mesalm MQL Projects

by dryousufmesalm
4 stars

A diverse collection of MetaTrader 4 and MetaTrader 5 resources developed by Yousuf Mesalm. The repository features various utilities including interactive trading panels, multi-strategy dashboards, and automated expert advisors. These tools provide manual trade management options like partial closing and automated exe

MT4MT5 Collection Multi-strategyGridMartingale High risk
Updated 2 years ago None stated GitHub repository of Yousuf Mesalm MQL Projects

Martingale EA Improvement

by jitkasempin
4 stars

This MetaTrader 4 expert advisor is a management utility designed to handle orders opened by other martingale robots. It monitors trade sequences and applies hedging to the initial low-lot positions to mitigate drawdown. The tool provides automated risk controls including fixed take profit, stop loss, trailing stops, a

MT4 Trade manager MartingaleHedgingGrid High risk
Updated 5 years ago None stated GitHub repository of Martingale EA Improvement
4 stars

This collection for MetaTrader 4 contains several expert advisors focused on grid trading and trend-following techniques. The main EA utilizes a multi-level grid system that can place up to 20 layers of buy or sell stop/limit orders at fixed pip intervals. It includes basket management features to close trades based on

MT4 Collection GridTrend followingHedging High risk

This repository provides a collection of expert advisors for MetaTrader 4 and 5, centered on news event volatility and trend following. The primary NewsTrader tool integrates with online economic calendars to automate trade placement seconds before scheduled events. It deploys a grid of pending orders with configurable

MT4MT5 Collection NewsTrend followingGrid High risk

Mql Projects Collection

by PranavSonar
3 stars

This repository features a collection of MetaTrader 4 expert advisors, primarily focused on a multi-strategy system named Complete Robot. The main EA utilizes a combination of technical indicators including Moving Averages, MACD, Bollinger Bands, and Stochastic oscillators for market entry. It employs a grid-based appr

MT4 Collection GridMartingaleIndicator crossover High risk
Updated 8 years ago None stated GitHub repository of Mql Projects Collection
2 stars

This MetaTrader 4 expert advisor and modular framework provides advanced trade management and position scaling capabilities. It features a linear trailing stop that triggers at a predefined profit level and a pyramiding system to add positions to winning trades using a lot multiplier. The code is structured as a librar

MT4 Framework & template Trend followingIndicator crossoverGrid High risk

Ario Averaging

by ariogunawan
2 stars

This MetaTrader 4 expert advisor implements an averaging strategy that manages trades by opening additional layers at predefined intervals when the market moves against the initial position. It features modes for both averaging up and down, with the ability to alternate between buy and sell orders. The EA includes risk

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of Ario Averaging
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

Suminsky EA

by zegitz
2 stars

Suminsky EA is an automated trading tool for the MetaTrader 4 platform that utilizes a level-based execution strategy. The robot places orders within a specified price range, divided into multiple lines or levels to manage entries. It features risk management settings including fixed lot sizing, a take profit target, a

MT4 Trading robot GridHedging High risk Archived
Updated 7 years ago None stated GitHub repository of Suminsky EA

Forex Expert Grid

by dz-rep
1 stars

This MetaTrader 4 expert advisor implements a grid-based trading approach by opening buy and sell positions based on price distance. The system evaluates current market orders and places new trades only when the price moves a specific distance, defined by the step parameters, from existing entries. Users can independen

MT4 Trading robot GridHedging High risk
Updated 9 months ago None stated GitHub repository of Forex Expert Grid

Hosopi 2

by harukihosono
1 stars

Hosopi 2 is an automated trading robot for MetaTrader 4 and 5 that utilizes a mean-reversion strategy based on Bollinger Bands. The system enters counter-trend trades when price hits the bands and manages positions using a Nanpin martingale approach, layering orders at intervals to average down. Risk controls include t

MT4MT5 Trading robot Mean reversionMartingaleGrid High risk
Updated 10 months ago None stated GitHub repository of Hosopi 2

Grid Martingale TA Signals

by SrisittikumChanintorn
1 stars

This MetaTrader 4 expert advisor executes a dual-direction grid trading strategy driven by technical analysis. It enters trades based on an Exponential Moving Average crossover logic using three distinct periods. The system employs a customizable martingale sequence where lot sizes increase after a user-defined number

MT4 Trading robot Indicator crossoverGridMartingale High risk
Updated 1 year ago None stated GitHub repository of Grid Martingale TA Signals

MQL4 Projects Collection

by AmonCheruiyotHQ
1 stars

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. 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.

MT4 Collection Trend followingMartingaleMulti-strategy High risk

Kelas EA Template

by syarief02
1 stars

This MetaTrader 4 expert advisor uses Relative Strength Index (RSI) levels to identify overbought and oversold conditions for trade entries. It features a layering mechanism that opens additional positions at fixed intervals defined by a pip-step parameter. The robot manages risk with hard stop loss and take profit lev

MT4 Trading robot Mean reversionGrid High risk
Updated 2 years ago None stated GitHub repository of Kelas EA Template

Tip Top AI

by sournk
1 stars

Tip Top AI is a price action robot for MetaTrader 4 and MetaTrader 5 that uses a proprietary candle tail length algorithm to identify market entries. The strategy calculates the average size of historical bars and monitors current candles for specific wick-to-body ratios. It enters trades when wicks exceed the body siz

MT4MT5 Trading robot SMC / ICT / price actionGridHedging High risk
Updated 2 years ago None stated GitHub repository of Tip Top AI
1 stars

Strawberry Strategy Tester is a MetaTrader 4 expert advisor designed for automated trading and strategy evaluation. It implements Bollinger Band-based entry logic and offers multiple lot sizing methods, including fixed lots, addition, and multiplication. The use of lot multiplication suggests the expert advisor utilize

MT4 Trading robot Indicator crossoverMartingaleGrid High risk
Updated 3 years ago None stated GitHub repository of Strawberry Strategy Tester

Icarus EA

by Aomforex
1 stars

Icarus EA is a MetaTrader 4 robot that executes a grid trading strategy with lot size progression. It opens sequences of trades at fixed intervals and uses a multiplier to scale lot sizes, identifying it as a martingale-style system. Risk controls include an equity warning threshold, a maximum number of concurrent posi

MT4 Trading robot GridMartingaleHedging High risk
Updated 4 years ago None stated GitHub repository of Icarus EA

Nampin Man

by KotaroHashimoto
1 stars

This MetaTrader 4 expert advisor implements a grid-based averaging strategy known as Nampin. The robot monitors open buy and sell positions, calculating aggregate lot sizes and floating profits. It uses a fixed lot multiplier of 1.5 to scale positions when the market moves against the initial trade by a set span. The s

MT4 Trading robot GridMartingale High risk
Updated 5 years ago None stated GitHub repository of Nampin Man

MFI Expert

by Hamzeh24w
1 stars

This MetaTrader 4 expert advisor implements a trading strategy centered on the Money Flow Index (MFI) indicator. It opens buy positions when the MFI crosses below a user-defined threshold and sell positions when it crosses above a threshold. To manage losing trades, the EA employs a martingale-style lot scaling mechani

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 5 years ago None stated GitHub repository of MFI Expert

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303

RSI Grid

by jensengelke
1 stars

This MetaTrader 4 expert advisor executes a mean-reversion strategy driven by the Relative Strength Index. It enters trades when the RSI indicates overextended price levels and manages them using a grid-based approach. The EA scales lot sizes using a martingale factor and allows for position layering at specified dista

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 6 years ago None stated GitHub repository of RSI Grid
1 stars

This MetaTrader 4 repository contains a collection of trading tools, primarily featuring an automated RSI-based grid expert advisor. The system enters positions when the Relative Strength Index exceeds defined thresholds and manages them using a grid strategy with martingale lot multiplication. Risk controls include a

MT4 Collection GridMartingaleMean reversion High risk
1 stars

This collection of MetaTrader 4 expert advisors serves as a practice repository for automated trading scripts. It features several distinct strategies, including moving average crossovers, Bollinger Band mean-reversion, and RSI-based entries. A core component of the repository is a martingale-style system that layers o

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 7 years ago None stated GitHub repository of MQL4 Practice Collection

MACD EA IPAG

by adiarthagriadhi
1 stars

This MetaTrader 4 expert advisor executes trades based on the MACD indicator and uses a Moving Average filter to determine the prevailing trend. It features a dynamic lot sizing algorithm that adjusts risk percentages according to account balance tiers. While the documentation focuses on MACD signals for H1 charts, the

MT4 Trading robot Trend followingGridIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of MACD EA IPAG
1 stars

This repository provides a collection of expert advisors for MetaTrader 4 and MetaTrader 5. The primary MetaTrader 5 file implements Mamdani fuzzy logic, processing three Relative Strength Index (RSI) inputs to determine market entries. The collection also includes several MetaTrader 4 experts focused on grid-based mon

MT4MT5 Collection AI / machine learningGridMean reversion High risk
Updated 7 years ago None stated GitHub repository of Ballmdr EA Collection

Richer Machine

by SeedMQL
1 stars

Richer Machine is a MetaTrader 4 expert advisor designed for automated breakout trading using Bollinger Bands and custom price levels. It initiates trades when price closes outside the bands, subsequently placing Buy Stop and Sell Stop orders at intervals defined by a Fibonacci-width parameter. The system manages risk

MT4 Trading robot BreakoutGrid High risk
Updated 7 years ago None stated GitHub repository of Richer Machine

Pricetag EA Collection

by KotaroHashimoto
1 stars

This collection for MetaTrader 4 includes various expert advisors, with the primary HL Monday Order EA focusing on weekly price ranges. The software identifies Monday's high and low prices to set automated entry levels, stop loss positions, and take profit targets using configurable pip adjustments. The repository incl

MT4 Collection BreakoutMartingaleGrid High risk
Updated 7 years ago None stated GitHub repository of Pricetag EA Collection

This MetaTrader 4 repository contains a collection of automated trading tools, primarily centered on the Martingale Levels Expert. The system employs a grid-based strategy that places stop orders at specific intervals and manages them using trailing stops. It utilizes martingale lot scaling, where subsequent order size

MT4 Collection GridMartingaleHedging High risk

Invea Stoch

by sljxiaoxin
1 stars

Invea Stoch is an automated trading robot for MetaTrader 4 that utilizes the Stochastic oscillator to identify entries based on overbought and oversold levels. The EA initiates trades when the indicator exceeds 85 or falls below 15, applying price action filters based on the highs of recent candles. It manages risk wit

MT4 Trading robot Mean reversionGrid High risk
Updated 8 years ago None stated GitHub repository of Invea Stoch

Super Grid

by allanon98
1 stars

This MetaTrader 4 expert advisor implements a trend-following grid strategy based on multiple moving averages. It determines market direction using configurable average periods and places initial pending orders followed by additional positions at set point intervals. The robot manages long and short trades independentl

MT4 Trading robot Trend followingGridHedging High risk
Updated 8 years ago None stated GitHub repository of Super Grid

Mugen Nampin

by KotaroHashimoto
1 stars

Mugen Nampin is a MetaTrader 4 expert advisor that executes a mean-reversion strategy using Bollinger Bands. It enters buy positions when price drops below the lower band and sell positions when price exceeds the upper band. The robot employs an averaging down approach, layering additional trades at fixed intervals whe

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of Mugen Nampin
1 stars

Integra 777 Buy Sell is a MetaTrader 4 expert advisor that utilizes a grid-based approach combined with the Commodity Channel Index (CCI) for trade entries and management. The robot opens positions and adds supplementary orders at dynamic distances, governed by a minimum step parameter. It features a unique trailing pr

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 8 years ago None stated GitHub repository of Integra 777 Buy Sell

Susu Engulf

by Chongcharen
1 stars

Susu Engulf is a MetaTrader 4 expert advisor that automates trading based on engulfing candlestick patterns and technical indicators. It utilizes a combination of MACD and five distinct moving averages to determine trend direction and entry points. The EA manages risk through a maximum order limit and a money managemen

MT4 Trading robot Trend followingSMC / ICT / price actionGrid High risk
Updated 8 years ago None stated GitHub repository of Susu Engulf
1 stars

This repository is a collection of MetaTrader 4 expert advisors focusing on breakout and technical indicator strategies. Notable components include breakout logic based on Monday high and low prices, exponential moving average crossovers, and high-water mark tracking. Risk management is handled through various lot sizi

MT4 Collection BreakoutHedgingIndicator crossover High risk

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

The ForexR EA Library collects open-source expert advisors for MetaTrader 4 and MetaTrader 5 that are published on GitHub. Each entry links to the original repository, so you always get the author's latest code, issues and licence straight from the source. Star counts, last updates and licences are synced from GitHub every hour, and new repositories are added every week.

Every repository is checked automatically before it is listed: it must contain readable MQL source code for a real expert advisor, and repositories that ship executables, hide downloads behind archive passwords or show signs of bought stars are left out. The summaries and tags are written automatically from each repository's README and code. They describe what an EA does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.

Trading with expert advisors is risky. Backtest any EA and run it on a demo account before you trust it with real money. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

EA Library FAQ

What is an expert advisor (EA)?

An expert advisor is a program that runs inside MetaTrader 4 or MetaTrader 5. It can open and close trades on its own, manage trades you opened (trailing stops, break-even, partial closes), protect the account, or connect MetaTrader to other tools such as Telegram or Python. EAs are written in MQL4 (MT4) or MQL5 (MT5).

Are the EAs in this library free?

Yes. Every EA listed here is published on GitHub with its source code, so you can read, download and compile it at no cost. Check each repository's licence before reusing the code in your own projects: some EAs state no licence at all.

Are these EAs safe to use?

ForexR lists only repositories with readable MQL source code and never hosts files. Repositories that ship executables, ask you to disable antivirus, hide downloads behind passwords or show signs of bought stars are left out automatically. That does not make any EA profitable or bug-free: read the code, backtest it in the Strategy Tester and run it on a demo account first.

How do I install an EA in MT4 or MT5?

Download the source from GitHub, open MetaTrader, choose File, then Open Data Folder, and copy the .mq4 (MT4) or .mq5 (MT5) file into MQL4/Experts or MQL5/Experts. Open it in MetaEditor and press Compile, then drag the EA from the Navigator onto a chart and allow algorithmic trading.

How does ForexR choose which EAs to list?

A crawler searches GitHub every week for MetaTrader repositories, reads their code and keeps those that contain a real expert advisor and pass the safety checks. Stars, updates and licences are refreshed from GitHub every hour. Summaries are written automatically from each repository's README and code, so treat them as a guide and check the source.

What do "High risk", grid and martingale mean?

A grid EA opens a ladder of orders at fixed distances; a martingale EA increases the lot size after losses. Both can show smooth equity curves for a long time and then lose a large part of the account in one strong trend. EAs that use either are marked High risk, and you can hide them with the "Hide grid and martingale" filter.

Run EAs with a broker that supports MT4 and MT5

Compare regulated brokers by platform, spreads, minimum deposit and leverage.

Compare brokers