Synced with GitHub ยท updated today

Free MT4 & MT5 expert advisors

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

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

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

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

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

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

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

Simple Trend Reversal EA

by levimatther
1 stars

This MetaTrader 4 expert advisor automates a trend reversal strategy based on price action patterns and technical indicators like ZigZag, MBFX, and Moving Averages. It features a dashboard to monitor multiple pairs, identifying setups such as pin bars and trendline breaks near support and resistance levels. Trade manag

MT4 Trading robot Trend followingMean reversionSMC / ICT / price action
Updated 3 years ago None stated GitHub repository of Simple Trend Reversal EA

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

This repository is a collection of several MetaTrader 4 expert advisors, including robots based on RSI and MACD crossovers, engulfing patterns, and pending order strategies. The primary code provided utilizes a combination of the Relative Strength Index (RSI) for overbought and oversold detection and Moving Average Con

MT4 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Forex Code MQL4 Collection

Rsi Ma EA

by alessioena
1 stars

This MetaTrader 4 expert advisor implements a strategy combining trend-following moving averages with the Relative Strength Index for entry timing. The robot initiates buy orders when a fast moving average sits above a slow moving average, provided the RSI reflects an oversold state and price action confirms the moment

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 4 years ago None stated GitHub repository of Rsi Ma EA
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
1 stars

This MetaTrader 5 collection features several automated trading robots focused on the forex market. The repository includes multiple expert advisors that utilize different technical analysis methods, such as Bollinger Bands, ADX, and Stochastic oscillators. Additionally, one module integrates the MetaTrader 5 economic

MT5 Collection Indicator crossoverNewsMean reversion
Updated 7 years ago None stated GitHub repository of Hyper Trading EA Collection
1 stars

This repository contains a collection of MetaTrader 4 expert advisors and utility scripts for the Forex market. The primary expert advisor combines ADX momentum, Stochastic oscillators, and candlestick patterns, such as Doji and Engulfing candles, to identify trade entries. It features automated lot sizing based on acc

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 8 years ago None stated GitHub repository of AlainTa Forex Collection

Smith MQL5

by IlyaSaniukevich
1 stars

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

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

Blessing Three

by duanwujie
1 stars

This MetaTrader 4 expert advisor is an automated grid trading system that utilizes a variety of indicators including Moving Averages, CCI, Bollinger Bands, and MACD for trade entries. It employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk control

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 9 years ago None stated GitHub repository of Blessing Three

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 day, 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 day. 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