Synced with GitHub · updated hourly

Expert Advisor Library

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

48 EAs match Clear filters

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre
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
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

AR Trading Panel

by Andrukas8
37 stars

This MetaTrader 5 utility is a comprehensive manual trading panel and risk management suite. It simplifies order execution by calculating lot sizes based on a defined risk percentage of account equity. Users can manage trades via automated break-even points, multi-mode trailing stops including Fractals, Moving Averages

MT5 Utility SMC / ICT / price actionIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of AR Trading Panel

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

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

General Trading MT5 Collection

by GeneralTradingSarl
5 stars

This repository provides a collection of four Expert Advisors for MetaTrader 5, developed using the MQL5 standard library framework. These robots focus on trend-following and momentum strategies using indicators like Moving Averages, MACD, and the MESA Adaptive Moving Average. Notable features include a Parabolic SAR t

MT5 Collection Trend followingIndicator crossoverMulti-strategy
5 stars

This repository contains a collection of MetaTrader 5 scripts and Expert Advisors focusing on various technical indicators. The primary EA provided uses Relative Strength Index (RSI) levels to determine long and short entry conditions, including specific start and end thresholds for signal filtering. Other files in the

MT5 Collection Indicator crossoverMean reversionMulti-strategy
4 stars

This repository contains an extensive collection of over 200 Expert Advisors developed for the MetaTrader 4 and MetaTrader 5 platforms. The files range from individual strategy implementations like CCI multi-pair and cycle-based trading to comprehensive testing frameworks. The primary featured Expert Advisor includes a

MT4MT5 Collection Indicator crossoverMulti-strategyTrend following High risk
4 stars

This MetaTrader 5 expert advisor collection provides several automated trading strategies based on classic technical indicators. The primary component combines CCI, RSI, Stochastic, MACD, and Moving Average crossovers to identify entry signals. It features a configurable grid system that layers multiple orders at fixed

MT5 Collection GridIndicator crossoverMean reversion High risk
Updated 1 year ago None stated GitHub repository of Simple EA MT5 Collection

Hercules MQL5 Library

by herculeshssj
4 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility scripts. It includes a variety of automated strategies such as mean reversion, Dunnigan NRTR, and experiments with artificial intelligence. The library also features utility tools for Telegram integration, search functions, and signal das

MT5 Collection Mean reversionAI / machine learningIndicator crossover High risk Archived
4 stars

This repository is a comprehensive collection of MetaTrader 5 source code gathered from the MQL5 CodeBase and various technical articles. It serves as an archive of various trading systems, including trend-based impulse strategies, fuzzy logic applications, and standard indicator samples. The collection contains over 5

MT5 Collection Indicator crossoverTrend followingMulti-strategy
Updated 8 years ago None stated GitHub repository of All MQL5 Code Collection

Fxcodebase Archive

by gehtsoft-usa
3 stars

This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5. The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale

MT4MT5 Collection Multi-strategyMartingaleHedging High risk
Updated 2 months ago GPL-3.0 GitHub repository of Fxcodebase Archive
3 stars

This repository is a collection of educational Expert Advisors for MetaTrader 5, structured as a learning roadmap. It contains several standalone trading scripts, including a multi-symbol basket trader called Profit Twins, which enters buy positions on two different pairs and exits based on a combined profit percentage

MT5 Collection Mean reversionIndicator crossoverMulti-strategy
Updated 9 months ago None stated GitHub repository of MQL5 Learning Collection
3 stars

This repository provides a diverse collection of MetaTrader 5 expert advisors and utility scripts for automated trading. The primary logic focuses on managing pending orders through dynamic distance adjustments, time-scheduled trade execution, and sophisticated trailing stops that operate via price ticks or millisecond

MT5 Collection BreakoutIndicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Cesreve MQL5 Collection
3 stars

This collection provides several MetaTrader 5 expert advisors and utility scripts developed for educational purposes. The primary advisor combines moving average crossovers with Relative Strength Index filters to identify entry points. It features standard risk management controls including fixed lot sizing, hard stop

MT5 Collection Indicator crossoverMean reversionMulti-strategy

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

Mql5 Ea Lab

by diegoaberrio
2 stars

This collection of MetaTrader 5 expert advisors provides several technical strategies for automated trading. The primary implementation uses a triple exponential moving average crossover for signals, supported by an Average True Range volatility filter. Risk control is managed via equity percentage or fixed lot sizing,

MT5 Collection Trend followingIndicator crossoverMulti-strategy
Updated 7 months ago MIT GitHub repository of Mql5 Ea Lab

MQL5 Article Collection

by mhassanhub
2 stars

This repository serves as an extensive educational resource for MetaTrader 5, containing a wide variety of Expert Advisors and indicators based on a series of MQL5 development articles. It includes robots utilizing technical indicators such as RSI, MACD, Ichimoku, and Bollinger Bands. The collection features tools for

MT5 Collection Indicator crossoverMean reversionBreakout
Updated 12 months ago None stated GitHub repository of MQL5 Article Collection
2 stars

This collection for MetaTrader 5 features a variety of trading tools and automated expert advisors. It includes advanced visualization utilities like a 3D correlation matrix and a mathematical morpher using DirectX canvas. The repository also provides several technical trading robots based on moving averages, MACD, ADX

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk
Updated 2 years ago None stated GitHub repository of Classicado MQL5 Collection

Treinamento Mql5

by vagnerpraia
2 stars

Treinamento Mql5 is an educational expert advisor designed for the MetaTrader 5 platform to demonstrate basic algorithmic trading concepts. It provides a framework for integrating technical indicators such as Moving Averages and the Relative Strength Index into a trading script. The EA includes input parameters to togg

MT5 Trading robot Multi-strategyIndicator crossover
Updated 7 years ago GPL-3.0 GitHub repository of Treinamento Mql5

RiskGuard Pro

by farhadiamirali403-lab
1 stars

RiskGuard Pro is a multi-strategy expert advisor for MetaTrader 5 that combines automated trade execution with comprehensive risk management. It features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and perc

MT5 Trading robot Multi-strategyGridMartingale High risk
Updated yesterday None stated GitHub repository of RiskGuard Pro

FXTR1 MT5

by GicaGashy
1 stars

FXTR1 is a modular Expert Advisor for MetaTrader 5 designed with a source-first development approach. It features a strategy selection engine that includes a moving average crossover system and a pivot gravity strategy. The crossover strategy supports optional ATR-based volatility exits, while the pivot system uses ban

MT5 Trading robot Indicator crossoverMulti-strategy
Updated 3 months ago None stated GitHub repository of FXTR1 MT5

Bell Price Action ICT

by thinhct95
1 stars

This MetaTrader 5 collection features several expert advisors, with a primary focus on the ICT v2 robot. The main strategy implements Smart Money Concepts, identifying Market Structure Shifts, Fair Value Gaps, and Liquidity Sweeps across high, medium, and low timeframes. It automates entries on price retracements with

MT5 Collection SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated 3 months ago None stated GitHub repository of Bell Price Action ICT
1 stars

This repository is a diverse collection of MetaTrader 5 expert advisors and utilities, ranging from automated trading robots to advanced risk management frameworks. The central tools focus on sophisticated risk control, implementing Value at Risk (VaR) calculations, equity-based stop loss and take profit protection, an

MT5 Collection Multi-strategyIndicator crossoverGrid High risk

Hosopi3 Tanpoji

by harukihosono
1 stars

Hosopi3 Tanpoji is a single-position trading robot for MetaTrader 4 and MetaTrader 5, specifically developed to avoid martingale and averaging techniques. It triggers entries using various built-in technical indicators such as Moving Averages, RSI, Bollinger Bands, and Stochastics, or through external custom indicator

MT4MT5 Trading robot Indicator crossoverMean reversionMulti-strategy
Updated 10 months ago None stated GitHub repository of Hosopi3 Tanpoji

Golden7

by edisonq
1 stars

Golden7 is an automated trading system for MetaTrader 5 that utilizes a weighted confluence engine across seven technical indicators, such as Moving Averages, RSI, and Bollinger Bands. It uniquely allows users to input a manual fundamental bias score to influence trade direction. The robot includes a robust filtering s

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 11 months ago None stated GitHub repository of Golden7

MQL5 Expert Advisors Collection

by AmonCheruiyotHQ
1 stars

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a multi-currency ring trading system. The flagship EA executes trades across several currency pairs simultaneously, utilizing triangular hedging logic to manage exposure. It incorporates various lot management modes including

MT5 Collection Multi-strategyHedgingMartingale High risk
1 stars

This repository features a collection of expert advisors for MetaTrader 5, primarily focused on the Blessing 3 grid strategy. The system enters trades based on market conditions and manages them using a grid with martingale lot multipliers. Risk controls include maximum drawdown percentages, equity-based trading stops,

MT5 Collection GridMartingaleIndicator crossover High risk

Multipair EA Template

by drdz9876
1 stars

This MetaTrader 5 expert advisor serves as a template for multi-pair trading systems using a dual Moving Average crossover strategy. It is designed to execute trades across multiple symbols from a single chart based on a user-defined list of currency pairs. The EA includes risk management tools such as a trailing stop,

MT5 Framework & template Indicator crossoverMartingaleMulti-strategy High risk
Updated 2 years ago GPL-3.0 GitHub repository of Multipair EA Template

MQL5 Trading Bot Collection

by TetianaHrunyk
1 stars

This repository contains a diverse collection of MetaTrader 5 expert advisors and technical utilities. It features a three-dimensional correlation matrix visualizer for analyzing price relationships across multiple currency pairs simultaneously. The collection includes various automated trading robots based on technica

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 3 years ago None stated GitHub repository of MQL5 Trading Bot Collection
1 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for strategy experimentation and technical analysis. The robots utilize various technical indicators, including Moving Averages, MACD, Parabolic SAR, and RSI for trade entries. Risk management is handled through configurable stop loss and t

MT5 Collection Indicator crossoverTrend followingMean reversion High risk

This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 library framework. The featured expert advisor, ExpertMAPSARSizeOptimized, generates trade signals based on a Moving Average and manages active positions using a Parabolic SAR trailing stop. It includes a money managemen

MT5 Collection Indicator crossoverTrend followingMulti-strategy High risk

This repository contains a collection of MetaTrader 5 Expert Advisors and graphical tools. It includes several technical strategy robots based on Relative Strength Index crossovers, Bollinger Bands, and Moving Averages. Additionally, it features advanced 3D visualization utilities such as a correlation matrix and a mat

MT5 Collection Indicator crossoverMean reversionTrend following High risk

Aiden

by Torabi-srh
1 stars

Aiden is a MetaTrader 5 expert advisor that utilizes a multi-indicator weighting system to determine market entries. It calculates trade signals by aggregating 'chances' from several technical indicators including ZigZag, Stochastic, Moving Average crossovers, Parabolic SAR, RSI, MACD, and Momentum. The EA manages risk

MT5 Collection Multi-strategyIndicator crossoverTrend following Archived
Updated 4 years ago MIT GitHub repository of Aiden
1 stars

This MetaTrader 5 repository provides a collection of expert advisors and analytical tools focused on technical analysis and visualization. The primary utility is a 3D correlation matrix that calculates and displays the relationships between multiple currency pairs using DirectX rendering. The repository also includes

MT5 Collection Indicator crossoverMulti-strategyGrid High risk
1 stars

The US30 US500 Trading Collection for MetaTrader 5 provides a variety of expert advisors and analytical utilities. Although the repository name indicates a focus on major indices, it primarily contains standard technical indicator examples such as MACD, Moving Average, and Parabolic SAR. A notable component is a 3D cor

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk

MQL5 Expert Collection

by tdooher11
1 stars

This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 class library framework. The featured implementation, Expert MAPSAR Size Optimized, utilizes Moving Average crossover signals for entries and a Parabolic SAR trailing stop for trade management. It incorporates a lot sizi

MT5 Collection Indicator crossoverTrend followingMulti-strategy
Updated 5 years ago None stated GitHub repository of MQL5 Expert Collection
1 stars

This MetaTrader 5 repository provides a collection of Expert Advisors based on the educational material from Andrew Young. It includes several distinct strategies such as RSI and Bollinger Band counter-trend systems, moving average crossovers, and breakout trading with pending orders. Each EA includes standard risk man

MT5 Collection Mean reversionIndicator crossoverBreakout
Updated 6 years ago None stated GitHub repository of Mql5 Book EA Collection
1 stars

This repository provides a collection of MetaTrader 4 and MetaTrader 5 resources, including standard MetaQuotes examples and custom trading tools. A primary feature is the 3D correlation matrix utility, which uses the Canvas3D library to visualize price relationships across multiple symbols. The collection also include

MT4MT5 Collection GridIndicator crossoverMulti-strategy High risk
1 stars

This repository is a collection of MetaTrader 5 expert advisors and analytical utilities. It features several standard trading examples like MACD and Moving Average, alongside more specific implementations using MAMA and Parabolic SAR indicators. A notable component is a three-dimensional correlation matrix tool that v

MT5 Collection Indicator crossoverMulti-strategyGrid High risk

MQL5 Strategy Testers

by Burakdal
1 stars

This repository provides a collection of Expert Advisors for MetaTrader 5, primarily focused on technical indicator strategies and algorithmic trading examples. The main file utilizes a Moving Average signal combined with a Parabolic SAR trailing stop for automated trade management. It includes a lot-sizing module that

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 6 years ago None stated GitHub repository of MQL5 Strategy Testers

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

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