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.

1,268 EAs match Clear filters
1 stars

This MetaTrader 5 utility functions as a trade manager that monitors open positions for specific profit levels. It automatically closes a position once the floating profit reaches or exceeds a user-defined monetary threshold. The tool operates by scanning symbols in the market watch on every price tick. It automates ex

MT5 Trade manager
Updated 7 years ago None stated GitHub repository of Close Position On Profit
1 stars

This MetaTrader 5 expert advisor implements J. Welles Wilder's momentum concept as described in his foundational technical trading literature. The tool functions as a price scanner that calculates the mathematical difference between the most recent closed bar and a historical reference bar. It outputs these calculation

MT5 Utility
1 stars

This MetaTrader 5 tool scans historical price data to identify candlesticks with identical characteristics to the most recently closed candle. It functions as a pattern recognition utility for identifying Japanese Candlestick formations such as the Homing Pigeon and Marubozu across various timeframes. The expert operat

MT5 Utility SMC / ICT / price action

Gold Warrior EA

by luizmachado
1 stars

Gold Warrior is a MetaTrader 5 expert advisor that utilizes a combination of Commodity Channel Index (CCI), ZigZag, and momentum impulse indicators for trade execution. The robot manages individual positions with fixed stop loss and take profit settings while employing a trailing stop for profit protection. It features

MT5 Collection Trend followingMean reversionHedging
Updated 8 years ago None stated GitHub repository of Gold Warrior EA

Quantum Reverse EA

by nohros
1 stars

The Quantum Reverse EA is a low-frequency counter-trend trading robot developed for the MetaTrader 5 platform. It aims to identify potential market reversals to enter trades against the current trend direction. Based on the provided repository contents, the expert advisor is in a foundational state, as the main source

MT5 Trading robot Mean reversion

Median Turbo Renko SDK

by gridgentoo
1 stars

This repository provides a specialized framework and example expert advisors for developing Renko-based trading systems on the MetaTrader 5 platform. It includes a dedicated MQL5 header library that simplifies integration with the Median Renko indicator bundle. The framework handles the acquisition of chart settings au

MT5 Framework & template Trend followingIndicator crossover

MartGreg GP1

by gridgentoo
1 stars

MartGreg GP1 is a MetaTrader 5 expert advisor designed for automated trading with a focus on specific instruments like Brent Crude. It executes trades using a fixed lot size and manages each position with predefined stop loss and take profit levels. The system includes a risk management component that tracks the accoun

MT5 Trading robot Scalping
Updated 8 years ago GPL-3.0 GitHub repository of MartGreg GP1
1 stars

This repository provides a collection of expert advisors for the MetaTrader 5 platform, primarily utilizing the standard MQL5 library components. The main expert advisor, ExpertMAPSARSizeOptimized, generates trade entries based on Moving Average crossovers and manages exits using a Parabolic SAR trailing stop. It inclu

MT5 Collection Indicator crossoverTrend following

Pattern Robot

by lariga
1 stars

This MetaTrader 5 expert advisor is a pattern-based automated trading system that utilizes external signal data from a CSV file. It incorporates several risk management parameters, such as a maximum position limit, a maximum loss threshold, and a count for consecutive losing trades. The EA also includes a trailing stop

MT5 Trading robot Multi-strategy
Updated 8 years ago None stated GitHub repository of Pattern Robot

Mql5 Tigers

by lucasgiusti
1 stars

This repository is a collection of expert advisors for the MetaTrader 5 platform, featuring several trend-following and indicator-based strategies. It includes implementations for MACD crossovers, Moving Average crosses, and Parabolic SAR logic. The experts provide standard trade management features such as fixed lot s

MT5 Collection Trend followingIndicator crossover
Updated 8 years ago None stated GitHub repository of Mql5 Tigers

Parallel Strategies

by Pierre8r
1 stars

Parallel Strategies is a multi-strategy expert advisor for MetaTrader 4 that executes four independent trading systems concurrently. These systems include moving average crossovers, MACD breakouts, Heiken Ashi signals, and a combined Heiken-MACD approach. Each strategy operates with its own magic number for distinct ma

MT4MT5 Collection Indicator crossoverMulti-strategyTrend following
Updated 8 years ago None stated GitHub repository of Parallel Strategies

FX TrEx

by PavelZatyaev
1 stars

This MetaTrader 5 expert advisor implements a multi-currency trading strategy based on a coefficient matrix of major forex pairs. It monitors price movements across a predefined set of currencies, including EUR, USD, GBP, AUD, JPY, and CAD, to identify trading opportunities. The system manages trades as a collective ba

MT5 Trading robot Arbitrage
Updated 8 years ago None stated GitHub repository of FX TrEx
1 stars

This MetaTrader 5 expert advisor implements a technical trading strategy using Bollinger Bands and the Double Exponential Moving Average (DEMA). It performs multi-timeframe analysis, referencing the 30-minute chart for volatility envelopes and the daily chart for trend filtering. The robot executes trades using fixed l

MT5 Trading robot Trend followingMean reversion
Updated 9 years ago None stated GitHub repository of Bollinger Bands DEMA

Smith MQL5

by IlyaSaniukevich
1 stars

Smith MQL5 is an automated trading robot for MetaTrader 5 that utilizes a combination of technical oscillators, specifically OsMA, MACD, and Stochastic. The system evaluates price action across multiple timeframes, from M1 to weekly charts, to determine entry points. It includes trade management features such as fixed

MT5 Trading robot Indicator crossoverMean reversion
Updated 9 years ago None stated GitHub repository of Smith MQL5
1 stars

This repository contains several MetaTrader 4 and 5 expert advisors, primarily focusing on multi-symbol basket trading and automated position management. The main EA allows users to trade up to six currency pairs simultaneously with predefined directions. It features a mechanism to add positions based on fixed distance

MT4MT5 Collection Multi-strategyGridMartingale High risk
Updated 9 years ago None stated GitHub repository of Ves Multi Symbol Collection

Cross Average Robot

by erlonfs
1 stars

This MetaTrader 5 expert advisor executes trades based on the crossover of two moving averages. It allows users to define periods for both long and short averages and select the calculation method, such as Exponential Moving Average. The EA includes internal time management, allowing for specific start and end times pl

MT5 Trading robot Indicator crossoverTrend following

My MMA

by ligy2016
1 stars

This MetaTrader 5 expert advisor implements a classic dual moving average crossover strategy. It tracks two Simple Moving Averages with configurable fast and slow periods to determine trade entry and exit points. The robot checks for signals every 15 seconds via a timer function rather than on every price tick. Users c

MT5 Trading robot Trend followingIndicator crossover
Updated 9 years ago None stated GitHub repository of My MMA

Triangular Arbitrage MT5

by chrisyeh75
1 stars

This MetaTrader 5 expert advisor implements a triangular arbitrage strategy targeting price discrepancies between correlated currency pairs. The robot monitors specific instruments, including EURUSD, USDJPY, EURJPY, USDCAD, and CADJPY, to identify synthetic price gaps. It executes trades when the calculated gap exceeds

MT5 Trading robot ArbitrageHedging
Updated 9 years ago None stated GitHub repository of Triangular Arbitrage MT5
1 stars

This MetaTrader 5 expert advisor implements a multi-symbol trading system centered on Bollinger Band breakout strategies. It utilizes an object-oriented framework to manage multiple concurrent strategy instances across various markets including forex and precious metals. The system incorporates a position management mo

MT5 Collection Breakout
Updated 9 years ago None stated GitHub repository of Bollinger Breakout MT5

MEAS

by elijunior01
1 stars

MEAS is a scalping robot for MetaTrader 5 that implements a martingale strategy for financial markets. The expert advisor captures small price movements while managing positions through adjustable stop loss and take profit levels. It provides options for either fixed lot sizes or incremental lot increases based on acco

MT5 Trading robot ScalpingMartingaleTrend following High risk
Updated 11 years ago GPL-2.0 GitHub repository of MEAS

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