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.

65 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

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

This MetaTrader 4 expert advisor operates two concurrent strategy groups based on technical indicators. It primarily utilizes Bollinger Bands and Envelopes to identify market entries for automated trading. The robot employs a position scaling approach, using lot multipliers and fixed-distance grid additions to manage t

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of Bollinger Envelopes Grid
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

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

This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on the MultiTrader dashboard and various technical utility robots. MultiTrader functions as a multi-symbol management tool that monitors dozens of currency pairs simultaneously, using high and low percentage levels for trade execut

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 7 years ago None stated GitHub repository of MQL4 MultiTrader Collection
19 stars

This repository contains a collection of MetaTrader 4 expert advisors and utilities primarily focused on breakout and trend-following strategies. The featured EA, ttnFullTurtle, implements the classic Turtle Trading rules using dual breakout systems, ATR-based position sizing, and pyramiding logic. It includes risk con

MT4 Collection BreakoutTrend followingMean reversion

MT5 Agent Toolkit

by smizxe
18 stars

MT5 Agent Toolkit is a developer framework and collection of expert advisors designed to automate the creation and testing of MQL5 strategies using AI agents. It provides headless PowerShell scripts to bypass common MetaTrader 5 command-line failures during compilation and backtesting. The included example robots, such

MT5 Framework & template Mean reversionIndicator crossover
Updated 3 weeks ago Custom licence GitHub repository of MT5 Agent Toolkit

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

This expert advisor for MetaTrader 5 automates trade entries using a combination of Relative Strength Index (RSI), Money Flow Index (MFI), and multiple Moving Average periods. It identifies potential entry points based on overbought and oversold thresholds, specifically looking for RSI values below 30 or MFI values bel

MT5 Trading robot Mean reversionIndicator crossover
Updated 3 years ago None stated GitHub repository of Emreguven Forex Trading Bot
6 stars

This collection provides MetaTrader 5 Expert Advisors sourced from MQL5 programming documentation. The primary tool, Unity Martingale, implements a multi-currency reversal strategy using breakout or pullback signals. It employs a martingale lot-scaling system that increases positions after losses based on a user-define

MT5 Collection MartingaleGridBreakout High risk
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

GBP USD Mean Reversion Bot

by iamshakibulislam
6 stars

This expert advisor for MetaTrader 4 implements a mean reversion strategy primarily targeted at the GBPUSD pair. It automates trade execution by identifying price patterns and entering positions with predefined risk parameters. The bot manages exits through a hard stop loss, a target take profit based on a user-defined

MT4 Trading robot Mean reversion

OwaisQuadri MT4 Code

by OwaisQuadri
6 stars

This MetaTrader 4 expert advisor executes trades based on momentum oscillators, trend filters, and price action patterns. It utilizes a Stochastic oscillator alongside multiple Exponential Moving Averages to identify entry points in alignment with the prevailing trend. The logic incorporates candlestick analysis, speci

MT4 Trading robot Indicator crossoverTrend followingMean reversion
Updated 6 years ago None stated GitHub repository of OwaisQuadri MT4 Code
6 stars

This collection for MetaTrader 4 contains over eighty expert advisors and scripts primarily focused on Bollinger Band breakout strategies. The repository includes numerous variations for fixed lot sizes and specific money management settings. The included logic covers price action relative to moving averages and volati

MT4 Collection BreakoutArbitrageMean reversion
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

MT4 Autotrade EMA RSI

by thomasngu0423
4 stars

This MetaTrader 4 expert advisor automates trading using a combination of trend-following and mean-reversion indicators. It executes trades based on the crossover of two Exponential Moving Averages, filtered by Relative Strength Index levels and Bollinger Band boundaries. The robot enters a position when an EMA crossov

MT4 Trading robot Indicator crossoverMean reversion
Updated 3 years ago None stated GitHub repository of MT4 Autotrade EMA RSI

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

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

RSI MA Cross Custom

by OrchardForexTutorials
3 stars

This Expert Advisor for MetaTrader 4 executes trades based on the confluence of Relative Strength Index levels and Moving Average crossovers. It enters long positions when the RSI is oversold and a fast exponential moving average crosses above a slow one, and short positions when the RSI is overbought during a downward

MT4 Trading robot Indicator crossoverMean reversion
Updated 3 years ago GPL-3.0 GitHub repository of RSI MA Cross Custom

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

EA OAT Collection

by anhnguyen123312
2 stars

The repository provides a collection of MetaTrader 5 expert advisors and analytical tools. The main featured tool is a 3D correlation matrix that visualizes the statistical relationships between multiple currency pairs over a customizable date range using DirectX and Canvas graphics. In addition to this analytical tool

MT5 Collection Mean reversionMulti-strategyGrid High risk
Updated 9 months ago None stated GitHub repository of EA OAT Collection

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

North East Way Collection

by Yogurt-Peng
2 stars

This repository contains a collection of MetaTrader expert advisors for MT4 and MT5, featuring various algorithmic trading strategies. The primary EA, North East Way, implements a multi-currency grid and martingale system focused on mean reversion for correlated pairs such as AUDNZD and NZDCAD. It manages risk through

MT4MT5 Collection Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way Collection

DC Fib2O MT5 Bot

by sournk
2 stars

This Expert Advisor for MetaTrader 5 automates a strategy based on Fibonacci retracements following a Break of Structure or Change of Character. It identifies market structure shifts and places two separate pending orders: a trend-following stop order and a reversal limit order targeting liquidity runs. The EA calculat

MT5 Trading robot SMC / ICT / price actionMean reversion
2 stars

This collection includes four MetaTrader 5 expert advisors designed to demonstrate basic algorithmic trading using the Relative Strength Index. The repository provides separate scripts for long and short entries, with options to evaluate trade signals either on a per-tick basis or only upon candle completion. Each expe

MT5 Collection Mean reversion
2 stars

This repository contains a collection of MetaTrader 4 and MetaTrader 5 tools, including automated trading robots and technical utilities. The primary expert advisor features a hybrid system that supports both straddle and fade execution modes. It provides built-in risk management via stop loss, take profit, trailing st

MT4MT5 Collection BreakoutMean reversionMulti-strategy

RSI EA

by reysabogal
2 stars

This MetaTrader 4 expert advisor automates trading strategies based on the Relative Strength Index (RSI) and moving average logic. It identifies potential entry points when the RSI reaches specific overbought or oversold levels, supported by a moving average filter. The robot includes essential risk management controls

MT4 Trading robot Mean reversionIndicator crossover
Updated 8 years ago None stated GitHub repository of RSI EA

EMA RSI Expert

by nasimalsajjad
2 stars

This MetaTrader 4 expert advisor implements a technical trading strategy based on the Exponential Moving Average and Relative Strength Index. It triggers buy orders when both indicators align bullishly and sell orders when they align bearishly. Specifically, it monitors RSI levels for overbought and oversold conditions

MT4 Trading robot Mean reversionTrend following
Updated 8 years ago None stated GitHub repository of EMA RSI Expert

EMA RSI Expert

by nasimalsajjad
2 stars

This MetaTrader 4 expert advisor executes trades based on the alignment of Exponential Moving Average and Relative Strength Index indicators. The system enters buy orders when RSI suggests an oversold condition alongside bullish EMA momentum, and sell orders for overbought bearish conditions. It uses a fixed lot size a

MT4 Trading robot Trend followingMean reversion
Updated 8 years ago None stated GitHub repository of EMA RSI Expert

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

This repository contains two expert advisors for MetaTrader 5: a reconstruction of a popular grid system and a price-action tool for gold. The primary EA utilizes RSI and price extremes for entry signals, managing trades through a grid with tiered lot multipliers. It features smart distance calculations using ATR ratio

MT5 Collection Mean reversionGridMartingale High risk

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

OmniB3

by helveciopereira
1 stars

OmniB3 is an automated grid trading expert advisor for MetaTrader 5, specifically developed for the Brazilian B3 exchange mini-contracts including WIN (mini-index) and WDO (mini-dollar). It employs a multi-indicator entry system with up to four confirmation layers, utilizing signals such as RSI. The EA features an adva

MT5 Collection GridMean reversionMartingale High risk
Updated 3 months ago None stated GitHub repository of OmniB3

Arbitrage Grid Bot

by AlessandroGCodeca
1 stars

This MetaTrader 5 expert advisor implements a multi-pair grid and dollar-cost averaging strategy. It monitors a configurable list of currency pairs and determines trade direction using a moving average trend filter. When price moves against an initial position, the bot opens additional levels using fixed, additive, or

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 5 months ago None stated GitHub repository of Arbitrage Grid Bot
1 stars

This MetaTrader 5 repository contains a collection of expert advisors, primarily documented around the TrioMartingale strategy. This system uses a martingale grid approach on AUDNZD, NZDCAD, and AUDCAD to exploit triangular correlation and mean-reversion. Entries are filtered using RSI and Moving Averages, while risk i

MT5 Collection MartingaleGridMean reversion High risk
Updated 5 months ago None stated GitHub repository of Cyrex23 Experts 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
1 stars

This MetaTrader 4 expert advisor executes trades based on a specific price level and provides real-time monitoring via Telegram. The EA sets a trade at a user-defined entry price for a specific symbol, such as indices or forex pairs. It features automated entry when the price reaches the target level and closes the pos

MT4 Trading robot Mean reversion

Mql Coading EA Collection

by Sureshpatil4348
1 stars

This repository provides an extensive collection of MetaTrader 4 and MetaTrader 5 expert advisors, including the Cobra and Pivot Point systems. The included tools utilize strategies ranging from daily pivot level reversals to grid-based recovery and cost-averaging methods. Notable features include ATR-based stop losses

MT4MT5 Collection GridMean reversionMulti-strategy High risk
Updated 1 year ago None stated GitHub repository of Mql Coading EA Collection

This repository provides a diverse collection of expert advisors for the MetaTrader 4 platform. The primary RubberBands EA utilizes Bollinger Bands for mean-reversion, entering when price exceeds the bands and exiting at the center line. It features advanced lot management, including linear and dynamic lot scaling that

MT4 Collection Mean reversionGridMartingale High risk
1 stars

This MetaTrader 5 expert advisor utilizes a multi-layer perceptron neural network to enhance statistical arbitrage strategies. It periodically scans major currency pairs to identify high correlation relationships across multiple lookback windows. Trade signals are generated based on a confidence threshold derived from

MT5 Trading robot ArbitrageAI / machine learningMean reversion

USDJPY Buy Down EA

by wista110
1 stars

This MetaTrader expert advisor implements a grid-based buying strategy specifically designed for USDJPY. It places buy orders at fixed pip intervals below a specified base price, accumulating positions as the market moves lower. The robot manages a basket of trades and exits all positions simultaneously once the combin

MT4MT5 Trading robot GridMean reversion High risk
Updated 1 year ago None stated GitHub repository of USDJPY Buy Down EA

PulseNX

by Jagielsky
1 stars

PulseNX is a MetaTrader 5 expert advisor that follows a mean-reversion strategy using the Triangular Moving Average (TMA) and a Stochastic oscillator. It identifies entry opportunities when Heiken Ashi candles touch the outer TMA bands while the oscillator indicates overbought or oversold conditions. The EA includes ri

MT5 Trading robot Mean reversion
Updated 1 year ago GPL-3.0 GitHub repository of PulseNX

RSI Expert Advisor

by mertbilginnn
1 stars

A MetaTrader 5 expert advisor that automates trading based on the Relative Strength Index (RSI) indicator. The robot monitors RSI values to execute buy or sell orders when specific thresholds are met. It manages single positions using a fixed lot size and automatically applies hardcoded stop loss and take profit levels

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of RSI Expert Advisor

Bollinger Bands EA

by mertbilginnn
1 stars

This MetaTrader 5 expert advisor executes trades based on price interactions with Bollinger Bands. It identifies potential mean-reversion opportunities by looking for candles that close outside the upper or lower bands. The robot includes a trend-following filter using a Simple Moving Average to align entries with broa

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Bollinger Bands EA

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