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.

281 EAs match Clear filters
643 stars

This collection of MetaTrader 5 expert advisors implements various technical strategies using indicators such as Moving Averages, MACD, and the Andean Oscillator. It includes a specific tool for trading based on Commitment of Traders data combined with SuperTrend signals. Most robots in the repository incorporate a gri

MT5 Collection Indicator crossoverScalpingGrid High risk
464 stars

This repository features a collection of trading tools for MetaTrader 5 and 4, headlined by a comprehensive Trade Manager EA. This manager enables manual execution via keyboard shortcuts and provides automated risk controls, including ATR-based break-even settings and trailing stops. The collection also offers strategy

MT4MT5 Collection BreakoutHedging
167 stars

This repository provides a containerized environment for MetaTrader 5 using Docker, Alpine Linux, and Wine64. It includes a VNC server with an Openbox GUI for remote management and features Python integration via pyzmq for data feeding. The collection includes various MetaTrader 5 expert advisors, ranging from a 3D cor

MT5 Collection Indicator crossoverGrid High risk
140 stars

This repository provides a collection of Expert Advisors for MetaTrader 5 and Python trading scripts developed for an educational YouTube series. It features various technical indicator-based strategies, including MACD, Relative Strength Index, Stochastic, and Bollinger Bands. The included MQL5 files implement multi-ti

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 3 years ago None stated GitHub repository of Kecoma Trading 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
131 stars

This collection of MetaTrader 5 expert advisor samples supplements the Darwinex educational video series on advanced MQL5 programming. It provides technical implementations for multi-symbol trade management and institutional-grade risk controls. The codebase includes specialized modules for calculating custom performan

MT5 Collection
Updated 4 years ago BSD-3-Clause GitHub repository of Darwinex Advanced MQL Samples
101 stars

This collection for MetaTrader 5 provides a library and several expert advisors optimized for Renko chart trading. It includes a primary automated robot that executes trades based on Renko bar signals, as well as specific examples for moving average and price crossovers. The included tools offer robust trade management

MT5 Collection Trend followingIndicator crossoverBreakout

Introducao MQL5 Collection

by RafaelFenerick
75 stars

This repository is a collection of educational expert advisors for MetaTrader 5, developed as part of an introductory MQL5 programming series. It includes multiple standalone robots utilizing common technical indicators such as moving average crossovers, Bollinger Bands, and the Relative Strength Index. The primary exp

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Introducao MQL5 Collection

Sclab MQL5 Collection

by guilhermetabordaribas
75 stars

This MetaTrader 5 expert advisor collection provides a modular approach to automated trading based on technical indicators. It features a trading robot that uses a moving average to identify entries, supported by risk management tools including hard stop losses and take profits. The system includes logic for break-even

MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Sclab MQL5 Collection
73 stars

This collection of MetaTrader 5 expert advisors provides a series of educational templates and multi-symbol trading robots. Developed as a companion to coding tutorials, the repository includes frameworks for building strategies using entry triggers and multiple filters. The included programs feature automated risk man

MT5 Collection Indicator crossoverTrend followingMulti-strategy
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
67 stars

This repository contains a collection of MetaTrader 5 expert advisors, primarily focused on the ChildsPlay strategy derived from online trading forums. The main expert advisor uses multiple exponential moving averages and the Commodity Channel Index across two timeframes to identify trend-following entries. It implemen

MT5 Collection Indicator crossoverMean reversionAI / machine learning
Updated 6 years ago None stated GitHub repository of ChildsPlay MQL5 Collection
61 stars

This collection features several expert advisors for the MetaTrader 5 platform, each built around a different technical indicator such as MACD, RSI, Parabolic SAR, and Ichimoku Kinko Hyo. The robots execute trades based on classic signal logic, including zero-line crossings and signal line crossovers. Users can configu

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 6 years ago Custom licence GitHub repository of Pipbolt MT5 Expert Collection

NetAlgo EA Collection

by santiago-cruzlopez
55 stars

This repository contains a diverse collection of automated trading robots for the MetaTrader 5 platform. The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts inclu

MT5 Collection Trend followingScalpingMartingale High risk
53 stars

This repository provides a series of educational code examples designed to help algorithmic traders transition from MetaTrader 4 to MetaTrader 5. The collection focuses on highlighting the technical improvements and syntax changes between the two versions of the MQL language. The included scripts demonstrate how to acc

MT4MT5 Collection
53 stars

This repository contains a collection of personal trading tools for MetaTrader 4 and MetaTrader 5. According to the author, the included expert advisors do not operate as fully automated trading robots. Instead, they function as execution assistants that help with manual trading by handling automatic position sizing an

MT4MT5 Collection
Updated 7 years ago None stated GitHub repository of Trading Tools Collection
49 stars

This repository contains a diverse collection of MetaTrader 5 expert advisors ranging from RSI-based scalping robots to multi-timeframe trend following systems. The EAs utilize various technical indicators including EMA crossovers, MACD momentum, and ATR for volatility-based exits. The core logic often incorporates mul

MT5 Collection ScalpingTrend followingBreakout High risk
Updated 2 months ago Custom licence GitHub repository of Frontline MT5 Strategy Collection
46 stars

This repository features a collection of MetaTrader 5 trading utilities and management tools. The central component is the ASQ Command Desk, a manual trading dashboard that offers one-click execution and hotkey support. It manages positions using a three-stage partial take-profit logic and provides various trailing sto

MT5 Collection ScalpingMartingale High risk
46 stars

This repository provides a collection of standard MetaTrader 5 expert advisors bundled within a Docker container environment. It includes classic MetaQuotes examples such as the MACD Sample and Moving Average, which execute trades based on technical indicator crossovers and trend filters. The primary MACD expert featur

MT5 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of MT5 Docker EA Collection
41 stars

This educational collection provides a foundation for building MetaTrader 5 expert advisors through a series of modular code snippets and a primary RSI-based trading robot. The included expert advisor executes trades based on Relative Strength Index overbought and oversold levels, supporting both live and closed candle

MT5 Collection Mean reversionIndicator crossoverTrend following
40 stars

This collection provides multiple MetaTrader 5 expert advisors and indicators intended as educational templates for MQL5 development. The primary example, ExpSidus, implements a moving average crossover strategy using Exponential and Linear Weighted Moving Averages. The included robots feature basic risk management thr

MT5 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MQL5 Trading Robot Examples

This repository provides a diverse collection of MetaTrader 5 expert advisors focusing on technical indicator automation. The core component aggregates signals from a wide array of standard tools, including trend-following moving averages, oscillators like RSI and MACD, and Bill Williams indicators. It includes specifi

MT5 Collection Trend followingIndicator crossoverMulti-strategy

This MetaTrader 5 collection features two primary components: a manual risk management panel and an automated confluence robot. The TyAlgo advisor executes trades using the No Nonsense Forex method, aggregating signals from various technical indicators via global variables. Risk is managed through the TyphooN tool, whi

MT5 Collection Trend followingMulti-strategyMartingale High risk

Super Trading Collection

by RoyluxuryTrading
24 stars

This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management

MT4MT5 Collection Trend followingScalpingAI / machine learning High risk
24 stars

This repository contains a diverse collection of MetaTrader 5 Expert Advisors and tools developed for instructional purposes. The included robots cover various trading methodologies, such as moving average crossovers, RSI divergences, gap reversals, and candlestick patterns like the Red-White-Red strategy. The EAs typi

MT5 Collection Indicator crossoverMean reversionMulti-strategy
Updated 4 years ago None stated GitHub repository of Victor Algo MQL5 Collection
22 stars

This repository provides a collection of MetaTrader 5 expert advisors and indicators developed for experimental purposes. It features a range of trading systems, including standard MetaQuotes examples and custom implementations like NERV and RNN-based logic. The primary expert advisors utilize technical indicators such

MT5 Collection Indicator crossoverMulti-strategyAI / machine learning

TradeSync Transmitter

by GeneralTradingSarl
21 stars

TradeSync Transmitter is a MetaTrader 5 expert advisor designed to broadcast trading activity from a host terminal to external receivers. It functions as the transmitter component of a trade copying system, sending real-time trade requests and periodic position summaries to a remote server or local CSV files. The utili

MT5 Collection
Updated 4 days ago None stated GitHub repository of TradeSync Transmitter

Galaxy Trader

by phamngocvinh
21 stars

Galaxy Trader is a collection of MetaTrader 5 expert advisors focused on trend following using the Ichimoku Kinko Hyo indicator. The primary component, Trend Catcher, monitors up to three distinct timeframes simultaneously to identify bullish or bearish market conditions. It executes trades based on cloud positions for

MT5 Collection Trend followingMulti-strategy Archived
Updated 4 years ago GPL-3.0 GitHub repository of Galaxy Trader
21 stars

This MetaTrader 5 repository provides a suite of utility scripts designed for data extraction and system monitoring. The primary tool automates the exportation of historical price data, including OHLC values, tick volumes, and spreads, into CSV files for external analysis. It supports a predefined list of forex pairs,

MT5 Collection
Updated 6 years ago None stated GitHub repository of MQL5 Data Export Collection
20 stars

This repository provides a collection of MetaTrader 5 expert advisors centered on indicator-based trend following and scalping strategies. The primary system employs a triple exponential moving average crossover on the M5 timeframe, filtered by higher-timeframe trend direction from the H1 chart. The collection also inc

MT5 Collection Indicator crossoverScalpingTrend following
20 stars

This MetaTrader 5 repository provides a collection of expert advisors centered around an artificial neural network implementation. Developed using Matlab and exported as a DLL, the system integrates external computational models with MQL5. The primary advisor executes trades within defined time intervals, utilizing pri

MT5 Collection AI / machine learningTrend followingMulti-strategy
Updated 9 years ago None stated GitHub repository of ANN Trader MetaTrader

Quantum Tius

by Don-Gio
18 stars

Quantum Tius is a collection of automated trading scripts and Expert Advisors for MetaTrader 5, specifically targeting the Bitcoin and Gold markets. The repository provides multiple tools including the Kaku and Baki bots, which utilize Moving Average crossovers and the Relative Strength Index for scalping. These tools

MT5 Collection ScalpingIndicator crossoverMean reversion
Updated 1 year ago MIT GitHub repository of Quantum Tius

Expert MT5 Collection

by GeneralTradingSarl
16 stars

This repository is a large collection of over 1,000 expert advisors designed for the MetaTrader 5 platform. It serves as an open-source library featuring various algorithmic trading strategies, including moving average crossovers, RSI levels, Parabolic SAR, and range breakouts. The collection provides robots for trend

MT5 Collection Trend followingBreakoutGrid High risk
Updated 4 days ago None stated GitHub repository of Expert MT5 Collection
16 stars

This repository contains a collection of MetaTrader 5 Expert Advisors and scripts developed for educational and testing purposes. It includes various automated robots based on technical indicators such as the Stochastic Oscillator, RSI, and Moving Average crossovers. The primary Stochastic EA manages entries using over

MT5 Collection Indicator crossoverMartingaleMean reversion High risk

Gold Pro Scalper

by n30dyn4m1c
15 stars

This collection of MetaTrader 5 expert advisors focuses on mean-reversion and breakout strategies for gold (XAUUSD) on the M1 timeframe. The primary logic identifies statistical extremes using Z-Score calculations to trade price snap-backs. It includes a TickRobust variant designed to filter execution noise and a dual-

MT5 Collection Mean reversionBreakoutScalping

This repository contains a collection of MetaTrader 5 expert advisors based on popular technical indicators. The primary EA uses the Relative Strength Index to identify overbought and oversold conditions for trade entry. It manages risk through fixed stop loss and take profit settings, alongside a maximum position limi

MT5 Collection Mean reversionIndicator crossoverScalping

EA MT5 Research Collection

by codingfordummies911
13 stars

This repository is a large collection of MetaTrader 5 expert advisors and indicators compiled for educational and research purposes. The library features various experimental scripts, with a notable focus on advanced machine learning methodologies including neural networks, reinforcement learning, and unsupervised algo

MT5 Collection AI / machine learning
Updated 8 months ago None stated GitHub repository of EA MT5 Research Collection

Docker MT5 SmartLever

by SmartLever
13 stars

This repository provides a complete environment to run MetaTrader 5 within a Docker container on Ubuntu, accessible through VNC. It includes a collection of expert advisors such as a 3D Correlation Matrix and standard technical strategy examples including MACD and Moving Average. A primary feature is the ZeroMQ expert

MT5 Collection Multi-strategyIndicator crossoverGrid High risk
Updated 3 years ago None stated GitHub repository of Docker MT5 SmartLever

This MetaTrader 5 repository features a diverse collection of automated trading strategies, including indicator-based scalpers and price action robots. The experts utilize technical filters such as Average True Range periods and baseline moving averages to identify entry signals. Key risk management features integrated

MT5 Collection Trend followingBreakoutScalping

JBlanked MQL Library

by jblanked
12 stars

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies for forex markets. 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 pro

MT4MT5 Collection BreakoutMulti-strategyGrid High risk
Updated 11 days ago GPL-3.0 GitHub repository of JBlanked MQL Library

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market

MT4MT5 Collection Indicator crossoverMartingaleGrid High risk

MQL5 Algorithms

by MoritzGoeckel
11 stars

This collection provides automated trading scripts and utilities for the MetaTrader 5 platform. The primary expert advisor, MATrader, utilizes a moving average crossover strategy specifically designed for the one-minute timeframe. It monitors the relationship between fast and slow moving averages to identify trends, en

MT5 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of MQL5 Algorithms

This repository contains a collection of MetaTrader 5 expert advisors designed for automated trading based on classic candlestick patterns. Each robot focuses on specific price action formations like Morning Star, Harami, or Engulfing candles, using oscillators such as Stochastic, RSI, CCI, or MFI for entry filtering.

MT5 Collection Mean reversion

DaxAlgo Trading Strategies

by dhruuvsharma
9 stars

This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l

MT5 Collection ScalpingMean reversionTrend following

This repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based

MT5 Collection Indicator crossoverMean reversionMartingale High risk
9 stars

This MetaTrader 5 collection features several expert advisors and utility tools based on various technical analysis methods. The primary strategy uses Ichimoku Kinko Hyo components, specifically Tenkan-sen, Kijun-sen, and Senkou Span B, to identify trend-based entries. Additional bots in the repository utilize moving a

MT5 Collection Trend followingIndicator crossoverMulti-strategy
Updated 3 years ago None stated GitHub repository of Niferu Forex Trading Robots
8 stars

This collection of MetaTrader 5 expert advisors serves as an educational resource for MQL5 programming. It contains multiple example robots utilizing technical indicators such as Moving Averages, Parabolic SAR, CCI, and Stochastic oscillators. The provided scripts demonstrate fundamental trading automation features inc

MT5 Collection Indicator crossoverTrend followingMean reversion

This MetaTrader 5 collection features several versions of the classic Moving Average expert advisor, modified specifically for trading on custom symbols. It includes helper functions to ensure data readiness for synthetic instruments or imported data series. The included strategies execute trades based on moving averag

MT5 Collection Indicator crossoverTrend following

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