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.

50 EAs match Clear filters

EA MQL4 Collection

by Yumerain
151 stars

This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 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

Ubot

by kudzaiprichard
15 stars

Ubot is an automated trading system for MetaTrader 4 that utilizes the Traders Dynamic Index (TDI) indicator to execute market entries. It identifies specific technical patterns described as sharkfin and squeeze setups to determine trend direction and volatility. The expert advisor features advanced trade management to

MT4 Trading robot Trend followingMean reversion
Updated 2 years ago Custom licence GitHub repository of Ubot
10 stars

This MetaTrader 4 expert advisor implements a reversal and trend-following strategy based on SOMAT3 and IRC Triplets indicators. It evaluates price action across consecutive bars to identify entries and offers an optional trend filter for signal validation. The system manages risk using fixed lot sizing, initial stop l

MT4 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of PhD Appsolute System
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
7 stars

This MetaTrader 4 expert advisor provides a robust framework for developing automated trading strategies. It includes pre-built modules for trend detection using ADX and Moving Averages, alongside pullback entry logic. The template emphasizes risk management, featuring percentage-based lot sizing and adaptive volatilit

MT4 Framework & template Trend followingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of Falcon Trading Bot Template
5 stars

This MetaTrader 4 collection contains automated trading systems developed by the MQL UZ team, focusing on technical analysis strategies. The primary expert advisor, Fibonacci Djamoliddin, identifies market entries using Fibonacci retracement levels and chart objects. It includes basic risk management features such as f

MT4 Collection Trend followingMean reversion Archived
Updated 3 years ago Custom licence GitHub repository of MQL Uz Fibonacci Collection
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

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

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

NOMQL4 EA Collection

by NematilloOchilov
3 stars

This repository is an extensive collection of MetaTrader 4 expert advisors and source code components written in MQL4. It includes over 70 files featuring diverse trading strategies such as Sanity TREND for trend following and various robots utilizing divergence-based entries. A significant portion of the code is based

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 4 years ago None stated GitHub repository of NOMQL4 EA Collection

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

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk
2 stars

This MetaTrader 4 expert advisor utilizes the MACD and ZigZag indicators to identify potential market entries based on price action swings. It tracks historical highs and lows using standard ZigZag parameters like depth, deviation, and backstep to detect trend reversals. A unique aspect of this EA is the integration of

MT4 Trading robot Trend followingMean reversion
Updated 8 years ago None stated GitHub repository of MACD ZigZag 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

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

Gartal Inc

by bsAmirHeydar
1 stars

Gartal Inc is a modular trading automation framework and strategy development template for MetaTrader 4. It provides a structured environment for testing various entry and exit logic, including Fair Value Gaps, moving average crossovers, and Donchian channels. The repository focuses on backtesting workflows, featuring

MT4 Framework & template SMC / ICT / price actionIndicator crossoverTrend following
Updated 3 months ago None stated GitHub repository of Gartal Inc

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

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

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

MQL4 Projects Collection

by AmonCheruiyotHQ
1 stars

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.

MT4 Collection Trend followingMartingaleMulti-strategy High risk
1 stars

This repository is a collection of several expert advisors for MetaTrader 4, featuring various technical indicator-based strategies. The primary logic involves momentum and volatility filters using Relative Strength Index (RSI), Bollinger Bands, and Average Directional Index (ADX) to identify trend strength. It include

MT4 Collection Trend followingMean reversion
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

Ubot

by techteam92
1 stars

Ubot is an automated trading robot for MetaTrader 4 that utilizes technical analysis to execute market orders. It incorporates specific strategy patterns such as Sharkfin and Squeeze logic, likely based on the included Traders Dynamic Index library. The EA features comprehensive trade management including trailing prof

MT4 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago Custom licence GitHub repository of Ubot

Khai Nui HFT

by pleump9
1 stars

Khai Nui HFT is a trend-based trading robot for MetaTrader 4 that enters positions using Moving Average analysis. Users can configure the expert advisor to follow the prevailing trend or execute counter-trend trades by adjusting the trend toggle. It manages risk through fixed stop loss points and a trailing stop mechan

MT4 Trading robot Trend followingMean reversion
Updated 2 years ago None stated GitHub repository of Khai Nui HFT

Rci Main Investment Tool

by HaruyoshiOno
1 stars

This expert advisor for MetaTrader 4 executes trades based on the Rank Correlation Index (RCI) indicator. It utilizes three distinct calculation periods—short, medium, and long—to identify market entries. The robot manages risk through configurable limit and stop loss offset parameters, allowing for specific exit point

MT4 Trading robot Mean reversionTrend following
Updated 2 years ago None stated GitHub repository of Rci Main Investment Tool
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

Rsi MM

by DayiCuellar
1 stars

The Rsi MM is an automated trading tool for MetaTrader 4 that combines Relative Strength Index oscillators with a Moving Average trend filter. The system identifies potential market entries when RSI reaches overbought or oversold thresholds, using the Moving Average to confirm the broader trend direction. It features b

MT4 Trading robot Mean reversionTrend following
Updated 3 years ago None stated GitHub repository of Rsi MM

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

This repository is a collection of MetaTrader 4 expert advisors that focus on technical indicator signals. The primary EA combines four Moving Averages with Bollinger Bands to detect trend alignment and volatility conditions. It features dual-level stop loss and take profit settings, along with filters for Bollinger Ba

MT4 Collection Trend followingIndicator crossoverMean reversion

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

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

RSI Momentum Robot

by reuniware
1 stars

This MetaTrader 4 expert advisor utilizes the Relative Strength Index (RSI) and Momentum indicators to identify trading opportunities. The EA monitors price action, spreads, and indicator levels across various timeframes. A notable feature is its ability to log real-time market data, including broker info and indicator

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

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