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.

44 EAs match Clear filters

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

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

Basic Bollinger Bands EA

by terencebeauj
21 stars

This MetaTrader 5 expert advisor utilizes the Bollinger Bands and Parabolic SAR indicators to execute trades based on market volatility. It functions as an entry-level algorithmic trading template, allowing users to modify strategy logic or optimize parameters using the MT5 Strategy Tester. The bot manages risk through

MT5 Trading robot Mean reversionTrend following

Heiken Ashi Naive

by EarnForex
17 stars

Heiken Ashi Naive is a trading robot for MetaTrader 4 and 5 that executes trades based on Heiken Ashi candle characteristics, including body length and wick presence. It evaluates candle sequences to enter positions and can be configured to either follow the trend or operate in an inverted mode for mean-reversion. Risk

MT4MT5 Trading robot Trend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Heiken Ashi Naive
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
6 stars

This MetaTrader 5 expert advisor provides a versatile framework for trading based on Heiken Ashi price action. It allows users to toggle between numerous built-in strategies, including trend following, moving average crossovers, Fibonacci levels, and various oscillators like RSI and MACD. The system includes an option

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of Heiken Ashi Complete Strats
4 stars

This repository is a collection of MetaTrader 5 expert advisors developed as early coding projects between 2021 and 2024. It includes multiple robots implementing varied strategies such as range breakouts, Donchian channels, Fibonacci retracements, and Bollinger Bands. The expert advisors are largely technical indicato

MT5 Collection Trend followingBreakoutMean reversion High risk
4 stars

This MetaTrader 5 expert advisor serves as a template for automated indicator-based trading. It combines multiple technical tools, including RSI, MACD, Parabolic SAR, and Bollinger Bands, to identify market entry and exit points. The system features a dynamic risk management module that adjusts position sizing based on

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 2 years ago None stated GitHub repository of Basic Signal Trading Bot

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

RemedyBot

by Uzochinny
3 stars

RemedyBot is a collection of Expert Advisors for MetaTrader 5 focused on technical indicator strategies. The primary files utilize the MQL5 standard library classes to combine trend-following signals, such as Moving Average crossovers, with volatility-based exits like the Parabolic SAR trailing stop. The project includ

MT5 Collection Trend followingIndicator crossoverMean reversion High risk
Updated 1 year ago None stated GitHub repository of RemedyBot

DS Fibonacci Trader

by DaniloS99
3 stars

DS Fibonacci Trader is a MetaTrader 5 expert advisor that automates trading based on Fibonacci retracement levels. The robot calculates the price range over a specified number of days to determine key levels including 23.6, 38.2, 50.0, 61.8, and 76.4 percent. It provides visual chart objects and manages order execution

MT5 Trading robot Mean reversionTrend following
Updated 5 years ago None stated GitHub repository of DS Fibonacci Trader

LinearFX Trader

by Carloncho0528
2 stars

LinearFX Trader is an automated expert advisor for MetaTrader 5 that utilizes mathematical linear regression to identify trading opportunities. The robot analyzes historical price data over a configurable lookback period to determine market direction. It includes essential risk management features such as fixed lot siz

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago None stated GitHub repository of LinearFX Trader

Smart Billionaires

by FIU-SCIS-Senior-Projects
2 stars

This MetaTrader 5 repository is a collection of various Expert Advisors and trading utilities. The primary EA implements a strategy based on the Relative Strength Index (RSI), Bollinger Bands, and Parabolic SAR indicators. It executes trades using overbought and oversold levels in conjunction with volatility bands. Ris

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 9 years ago None stated GitHub repository of Smart Billionaires

Forex EA Collection

by tmpmosisili
1 stars

This repository contains a set of automated trading robots for the MetaTrader 5 platform, focusing on indicator-driven entry logic. The primary expert advisor utilizes Relative Strength Index levels to identify potential reversals, filtered by a Moving Average to ensure trades align with the prevailing trend. Risk mana

MT5 Collection Trend followingMean reversion
Updated yesterday None stated GitHub repository of Forex EA Collection

Smart SL

by tthanhvu002sgu
1 stars

Smart SL is a MetaTrader 5 risk management tool that calculates optimal exit levels using a multi-factor scoring system. It evaluates market structure via swing detection, ATR-based volatility, and multi-timeframe confluence. The tool offers three modes: real, virtual, and a hybrid setup with safety offsets. It include

MT5 Collection Trend followingBreakoutMean reversion
Updated 2 months ago None stated GitHub repository of Smart SL

XM Gold AI Trader

by fuquan728-lang
1 stars

XM Gold AI Trader is an automated expert advisor for MetaTrader 5 that leverages a Python-based backend powered by DeepSeek AI. The system processes market data using indicators such as RSI, MACD, and Bollinger Bands to generate signals, which are transmitted via WebSocket or TCP sockets. It includes robust risk contro

MT5 Collection AI / machine learningTrend followingMean reversion High risk
Updated 2 months ago None stated GitHub repository of XM Gold AI Trader

Bollinger Bands Mean Reversion EA

by federico-quintieri
1 stars

This Expert Advisor for MetaTrader 5 implements a mean reversion strategy utilizing Bollinger Bands and a 200-period Exponential Moving Average. It monitors market volatility through band distance and enters trades when price action returns inside the bands following a breakout. The system executes logic only at the st

MT5 Trading robot Mean reversionTrend following

MADR Brothers

by mitsuaki-41
1 stars

MADR Brothers is a MetaTrader 5 expert advisor that utilizes multi-timeframe Moving Average Deviation Rates to identify trading opportunities. It filters market trends using a long-period MADR on higher timeframes while entering trades based on overbought or oversold levels of a shorter-period MADR. The system includes

MT5 Trading robot Trend followingMean reversionGrid High risk
Updated 3 months ago MIT GitHub repository of MADR Brothers

Renko Reversal Collection

by PETERSAMUELOPS12
1 stars

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a Renko Reversal strategy ported from Pine Script. The main robot identifies trend shifts by simulating Renko bricks on standard OHLC bars, entering and exiting trades based on a configurable number of consecutive bricks. It

MT5 Collection Trend followingMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Renko Reversal Collection
1 stars

WannaBeQuant Strategy Selection is a multi-strategy expert advisor for MetaTrader 5 designed to trade cryptocurrency and equity markets. It combines six distinct trading logic modules, including Ichimoku trend following, mean reversion, and breakout strategies. The EA executes on a timer-based loop rather than every ti

MT5 Trading robot Trend followingMean reversionBreakout

Trend Pullback EA

by Ekisa02
1 stars

Trend Pullback EA is an automated trading robot for MetaTrader 5 that uses Exponential Moving Averages and price action to execute trades. It identifies market trends using a dual EMA crossover system and waits for price pullbacks into the moving average zone. Valid entries require confirmation from bullish or bearish

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 7 months ago None stated GitHub repository of Trend Pullback EA

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

Usatec MT5 Collection

by acortesi
1 stars

This MetaTrader 5 expert advisor collection uses a multi-indicator approach for trade entries. The primary logic involves a combination of MACD, three Triple Exponential Moving Averages (DEMA), the Relative Strength Index (RSI), and Stochastic oscillators. It filters signals using the Average Directional Index (ADX) an

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 11 months ago None stated GitHub repository of Usatec MT5 Collection

Enhanced EA

by Yareda21
1 stars

Enhanced EA is an automated trading robot for MetaTrader 5 that combines Relative Strength Index, Bollinger Bands, and Moving Average Convergence Divergence indicators to generate signals. The expert advisor includes an optional trend filter based on a 200-period moving average to align entries with the long-term marke

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 1 year ago None stated GitHub repository of Enhanced EA

Jivita Expert Advisors

by rasingollam
1 stars

This collection of MetaTrader 5 expert advisors features a flagship tool that applies genetic algorithms to optimize moving average crossover strategies. The system dynamically adjusts short and long period parameters, stop loss, and take profit values based on simulated fitness and real trade performance. Risk managem

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Jivita Expert Advisors

Liquidity Trap EA

by Javacaveman999
1 stars

Liquidity Trap EA is an automated trading robot for MetaTrader 5 that identifies price action setups near swing points. It detects specific candle formations using wick-to-body and body-to-average-bar ratios to enter trades based on perceived liquidity traps. The system incorporates trend filters through moving average

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion High risk
Updated 1 year ago None stated GitHub repository of Liquidity Trap EA

Shuka Expert

by Houman-Amiri
1 stars

Shuka Expert is a MetaTrader 5 robot designed for risk-managed trading using technical indicators and price action filters. It identifies entries through optional EMA and ZigZag components combined with candlestick patterns, such as engulfing bars and candle length requirements. The EA manages risk via percentage-based

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Shuka Expert

Bots Practica

by AlexDotel
1 stars

This collection for MetaTrader 5 contains several expert advisors developed for practice and strategy testing. It includes robots based on Bollinger Bands, Larry Williams patterns, and breakout logic. The tools provide automated trade execution with integrated risk controls, allowing users to choose between fixed lot s

MT5 Collection BreakoutMean reversionTrend following
Updated 1 year ago None stated GitHub repository of Bots Practica
1 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility tools for automated trading. The primary expert advisor utilizes the Stochastic Oscillator to generate entry and exit signals based on configurable crossover logic and overbought or oversold levels. It includes essential risk management s

MT5 Collection Indicator crossoverMean reversionTrend following
1 stars

This repository provides a collection of MetaTrader 5 expert advisors designed for various technical strategies. The scripts utilize multiple moving averages ranging from 7 to 200 periods and the Money Flow Index to identify trend and momentum market conditions. The collection includes specific modules for mean-reversi

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 2 years ago None stated GitHub repository of Robos MQL5 Collection

Heikin Ashi Expert

by ADBR1998
1 stars

This MetaTrader 5 expert advisor implements an automated trading strategy based on Heikin Ashi candle patterns and the Relative Strength Index. It utilizes custom indicator handles to monitor trend direction and detect potential bullish divergence. The EA includes internal logic for percentage-based risk management, al

MT5 Trading robot Trend followingMean reversion
Updated 2 years ago None stated GitHub repository of Heikin Ashi Expert

MQL5 Strategy Collection

by David-the-trader
1 stars

This repository contains a collection of MetaTrader 5 expert advisors focusing on technical analysis and candlestick price action. The scripts explore various entry methods, including Bollinger Bands with RSI for counter-trend setups and 'Big Shadow' engulfing patterns. The logic calculates specific candle metrics, suc

MT5 Collection Mean reversionTrend followingMulti-strategy
Updated 3 years ago None stated GitHub repository of MQL5 Strategy Collection

KST Robo

by RafaelTarachuck
1 stars

This MetaTrader 5 expert advisor automates trading strategies based on the Know Sure Thing (KST) momentum oscillator. It calculates weighted Rate of Change values across multiple internal periods, smoothed by simple moving averages, to identify trend reversals and overbought or oversold conditions. The robot offers sev

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 3 years ago MIT GitHub repository of KST Robo
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 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

Percent Rank Expert Advisor

by joserubiofernandez
1 stars

This MetaTrader 5 robot executes trades based on the percentile rank of recent price ranges. It incorporates the Average Directional Index as a trend filter to ensure entries occur during specific market conditions. Risk management is handled through automated lot sizing based on a risk percentage and a maximum monetar

MT5 Trading robot Trend followingMean reversion
Updated 5 years ago None stated GitHub repository of Percent Rank Expert Advisor
1 stars

This MetaTrader 5 expert advisor implements a trading strategy based on the Volume Price Change oscillator. Developed as a module for the EA31337 framework, it supports simultaneous operation across multiple timeframes using a bitmask input. The EA focuses on the relationship between price movement and volume to identi

MT5 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of Volume Price Change EA

HiLo Pro

by lfpmeloni
1 stars

HiLo Pro is a MetaTrader 5 robot that identifies trades using a combination of the HiLo Activator and the Relative Strength Index. It executes long or short positions based on trend direction and momentum filters for overbought or oversold conditions. The EA includes intraday time management, allowing users to define s

MT5 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of HiLo Pro

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

This repository contains a collection of MetaTrader 5 expert advisors developed for various market conditions and strategies. The files include implementations of trend-following systems like the Dunnigan NRTR, signal-based dashboards using multi-indicator confirmation, and experimental artificial intelligence models.

MT5 Collection Trend followingIndicator crossoverAI / machine learning
Updated 7 years ago None stated GitHub repository of MQL5 EA Collection FLCS

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