Synced with GitHub · updated today

Expert Advisor Library

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

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

RSI MA Cross Custom

by OrchardForexTutorials
7 stars

This expert advisor for MetaTrader 5 combines moving average crossovers with Relative Strength Index (RSI) levels to identify entry points. It initiates buy orders when the RSI indicates oversold conditions and a fast exponential moving average crosses above a slow exponential moving average. Conversely, it opens sell

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

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

Edelweiss EA

by Attornado
3 stars

Edelweiss EA is an educational trading robot for MetaTrader 4 that utilizes a multi-indicator framework to generate buy and sell signals. It combines exponential moving averages, stochastic oscillators, the awesome oscillator, ADX, and Bollinger Bands to identify market entries. Trade management includes dynamic ATR-ba

MT4 Trading robot Indicator crossoverMean reversionTrend following
Updated 11 months ago MIT GitHub repository of Edelweiss EA

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

This MetaTrader 4 expert advisor and modular framework provides advanced trade management and position scaling capabilities. It features a linear trailing stop that triggers at a predefined profit level and a pyramiding system to add positions to winning trades using a lot multiplier. The code is structured as a librar

MT4 Framework & template Trend followingIndicator crossoverGrid High risk

ÆEA

by NataliaTanyatia
1 stars

ÆEA is an automated trading robot for MetaTrader 4 that employs an ensemble of technical indicators to identify market imbalances. The strategy, described by the author as the Proportionality Principle, triggers trades when a specific ratio of bullish to bearish indicator signals is met. It calculates inputs from a wid

MT4 Trading robot Mean reversionIndicator crossover
Updated 9 months ago Apache-2.0 GitHub repository of Æ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

RBT MQ5

by AlanCoelhoGomes
1 stars

This expert advisor for MetaTrader 5 identifies entry points using a combination of the Relative Strength Index and a Moving Average. The strategy monitors an upper RSI level and a specific Moving Average period across user-defined timeframes to determine trend or reversal signals. For risk management, the robot utiliz

MT5 Trading robot Mean reversionIndicator crossover
Updated 2 years ago MIT GitHub repository of RBT MQ5

Robo MM IFR

by I-Am-Not-Lucas
1 stars

This MetaTrader 5 expert advisor executes trades based on technical indicators, specifically moving average crossovers and the Relative Strength Index (RSI/IFR). It offers three operating modes: entries triggered by moving average crosses, entries based on RSI overbought or oversold levels, or a combined approach requi

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 years ago MIT GitHub repository of Robo MM IFR

Trading Algo Builder

by pepshirley
1 stars

Trading Algo Builder is a MetaTrader 4 expert advisor designed to help traders construct automated strategies without manual coding. It features a modular system where users can combine up to four different indicator signals, supporting both built-in MetaTrader indicators and custom external files. Signal logic include

MT4 Trading robot Indicator crossoverBreakoutMean reversion

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

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 collection for MetaTrader 4 provides a set of expert advisors designed for testing technical indicator logic and trade management. The primary EA, Optimal Close, integrates Bollinger Bands and Stochastic oscillators to analyze market conditions across multiple timeframes. It features a built-in trailing stop mecha

MT4 Collection Indicator crossoverMean reversion

Sample Indicator EA Collection

by KeisukeIwabuchi
1 stars

This MetaTrader 4 repository contains a collection of basic expert advisors designed around standard technical indicators. It includes automated strategies for MACD crossovers, moving average crossovers, and mean-reversion setups using Bollinger Bands, RSI, and Stochastic oscillators. Each individual robot executes tra

MT4 Collection Indicator crossoverMean reversionTrend following

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

The ForexR EA Library collects open-source expert advisors for MetaTrader 4 and MetaTrader 5 that are published on GitHub. Each entry links to the original repository, so you always get the author's latest code, issues and licence straight from the source. Star counts, last updates and licences are synced from GitHub every 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