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.

999 EAs match Clear filters

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

HFT Arbitrage

by the-SantosLab
1 stars

This expert advisor implements a latency arbitrage strategy across MetaTrader 4 and 5 platforms. It functions by comparing price data from a high-speed feed against a slower broker execution environment to identify price lags. When a significant price gap is detected, the system attempts to execute trades to capture th

MT4MT5 Trading robot Arbitrage
Updated 2 years ago None stated GitHub repository of HFT Arbitrage

Hunt Level EA

by a-forghani-y79
1 stars

Hunt Level EA is a MetaTrader 5 expert advisor that identifies trading opportunities based on price action candle formations and swing level analysis. The robot specifically searches for hunted swing points by evaluating candle shadow lengths relative to body size and checking historical price swings. It incorporates a

MT5 Trading robot SMC / ICT / price actionMean reversion
Updated 2 years ago None stated GitHub repository of Hunt Level EA

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

Support And Resistance Drawing Tool is a MetaTrader 5 utility that visualizes price structure by identifying significant highs and lows across multiple lookback periods. The tool scans ranges of 20, 50, and 100 bars to determine key turning points, which are then plotted as horizontal lines on the chart. Resistance lev

MT5 Utility
1 stars

This collection for MetaTrader 5 contains multiple expert advisors centered on moving average strategies. It includes a Golden Cross system that identifies bullish and bearish momentum through the crossover of fast and slow exponential moving averages. Additionally, the repository features a trend-based signal system t

MT5 Collection Indicator crossoverTrend following

Gold Orb

by KingTiger0930
1 stars

Gold Orb is an automated trading robot for MetaTrader 5, specifically designed for XAUUSD on the H1 timeframe. It utilizes an Open Range Breakout strategy, calculating a price range based on the first candle of the trading day and waiting for a specific number of consolidation candles before identifying breakout signal

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Gold Orb

Candle Stick Data Identifier

by HloniTheCoder
1 stars

This MetaTrader 5 tool identifies specific candlestick patterns including Marubozu, Hammer, Inverted Hammer, Hanging Man, and Shooting Star. It functions as an analytical utility rather than an automated trading robot, drawing vertical lines on the chart when specific patterns are detected based on the relative size of

MT5 Utility SMC / ICT / price action

Larry Williams Setup 9.1

by Mateus-Fleck
1 stars

This MetaTrader 5 expert advisor automates the Setup 9.1 trading strategy developed by Larry Williams. It utilizes an exponential moving average, typically the nine-period EMA, to enter trades based on trend direction and candle closures. The robot manages active positions through take-profit targets, break-even trigge

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Larry Williams Setup 9.1

MA SAR Dual EA

by OoreFasawe
1 stars

This MetaTrader 5 expert advisor executes trades based on a technical strategy combining dual Moving Averages, Bollinger Bands, and the Parabolic SAR indicator. It identifies entries using indicator confluence and provides built-in risk controls including fixed stop loss, take profit, and a trailing stop mechanism. The

MT5 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MA SAR Dual EA
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using the Average Directional Index and an Exponential Moving Average. It monitors trend strength through ADX values and executes entries based on the relationship between price and the moving average combined with directional indicator signals. The

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of ADX and MA Expert Advisor
1 stars

This MetaTrader 5 expert advisor utilizes a trend-following strategy combining the MACD indicator with a 200-period Exponential Moving Average. It is designed to monitor and trade multiple forex pairs simultaneously from a single chart. The robot incorporates advanced money management, including ATR-based stop loss and

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago GPL-3.0 GitHub repository of Multi Symbol MACD EMA
1 stars

Ichimoku Ultimate Scanner EA is a MetaTrader 5 robot designed to monitor multiple financial instruments using the Ichimoku Kinko Hyo indicator. It scans all symbols within the Market Watch window to detect specific technical conditions, including price breakouts from the Kumo cloud and Chikou span confirmations. The sy

MT5 Collection Trend followingBreakoutIndicator crossover

EA JRB

by Mezzo42
1 stars

This MetaTrader 5 expert advisor implements a momentum-based trading strategy using the Relative Strength Index (RSI) and Exponential Moving Averages (EMA). It monitors RSI levels against configurable upper and lower thresholds to trigger market entries and exits. The robot manages risk through fixed stop loss and take

MT5 Trading robot Trend following
Updated 3 years ago None stated GitHub repository of EA JRB

Simple MA Cross Text Output

by HloniTheCoder
1 stars

This Expert Advisor for MetaTrader 5 implements a basic moving average crossover strategy. It utilizes two Simple Moving Averages, specifically a fast 10-period and a slow 100-period line, to identify potential trend changes. The code calculates values for the current and previous candles to determine when the fast lin

MT5 Trading robot Indicator crossover
Updated 3 years ago None stated GitHub repository of Simple MA Cross Text Output

Linear Regression Tester

by PhiAlphaInvestments
1 stars

This MetaTrader 5 expert advisor serves as a visual tool for plotting linear regression channels on a chart. It utilizes a custom library to calculate the regression line and standard deviation bands based on the last 50 periods of the M1 timeframe. The program automatically draws and updates trendlines to visualize th

MT5 Utility
Updated 3 years ago None stated GitHub repository of Linear Regression Tester
1 stars

This MetaTrader 5 utility manages open positions by applying a trailing stop based on the Parabolic SAR indicator. The Expert Advisor does not open new trades; it monitors an active position and incrementally adjusts the stop loss price according to the indicator's step and maximum parameters. It features a session tim

MT5 Trade manager

Tool Easy For You

by mixserrm999
1 stars

Tool Easy For You is a manual trading utility for MetaTrader 5 designed to assist with order execution and position management through a graphical interface. The tool provides input fields for fixed lot sizes, stop losses, and take profit levels for buy and sell orders independently. It includes automated risk manageme

MT5 Utility
Updated 3 years ago None stated GitHub repository of Tool Easy For You

PSAR Trailing Stop

by levimatther
1 stars

This management tool for MetaTrader 4 and MetaTrader 5 automates the adjustment of stop-loss levels based on the Parabolic SAR indicator. It does not open new positions but instead monitors existing trades to trail their stop-loss according to current indicator values. Users can filter which trades the utility manages

MT4MT5 Trade manager
Updated 3 years ago Apache-2.0 GitHub repository of PSAR Trailing Stop

Scalping EA

by DeathG7n
1 stars

This expert advisor for MetaTrader 5 implements a scalping strategy using a combination of trend and momentum indicators. It determines trend direction via three Smoothed Moving Averages (21, 50, and 200 periods) and uses the Relative Strength Index (RSI) as a filter. Entries are triggered by price breakouts of Fractal

MT5 Trading robot Trend followingScalpingBreakout
Updated 3 years ago None stated GitHub repository of Scalping EA

Fractal Trailing Stop

by timmajani
1 stars

Fractal Trailing Stop is a trade management expert advisor for MetaTrader 5 designed to automate stop loss adjustments based on the Bill Williams Fractals indicator. The EA monitors active positions on the current symbol and dynamically updates the stop loss level to the most recent fractal point. It incorporates custo

MT5 Trade manager
Updated 3 years ago None stated GitHub repository of Fractal Trailing Stop

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

Walking Up The Bands

by Andre-Luis-Lopes-da-Silva
1 stars

Walking Up The Bands is a trend-following expert advisor for MetaTrader 5 based on Bollinger Bands volatility breakouts. The robot enters long positions when the price moves above the upper band, attempting to capture the duration of an uptrend. Positions are closed when the price exits via the lower band. It includes

MT5 Trading robot Trend followingBreakout
1 stars

This MetaTrader 5 collection features automated implementations of trading strategies sourced from YouTube for the purpose of backtesting and verification. The repository includes multiple expert advisors, such as a MACD-based robot and an implementation of the 97 percent transparent trader strategy. These tools utiliz

MT5 Collection Indicator crossoverTrend followingMulti-strategy

Athu Robot

by smithbsb
1 stars

Athu Robot is a MetaTrader 5 expert advisor designed for breakout trading during market opening hours, specifically targeting the Brazilian B3 or US sessions. The EA initializes its logic at 9:00 AM and places pending buy and sell orders at 10:00 AM to capture volatility spikes at the session start. It features integra

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Athu Robot

Cxx Chart Sync

by Lacty
1 stars

This MetaTrader 5 utility synchronizes multiple chart windows to facilitate multi-timeframe or multi-symbol analysis. When a user triggers a specific keyboard shortcut, the tool captures the time coordinate of the mouse cursor and draws a vertical line across all open charts at that exact timestamp. It manages chart se

MT5 Utility
Updated 3 years ago None stated GitHub repository of Cxx Chart Sync

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 MetaTrader 5 collection features expert advisors tailored for the Brazilian stock and futures market, specifically focusing on mini-contracts. One robot implements tape reading logic by monitoring market book volume imbalances, while another executes trades based on moving average crossovers. Each system incorpora

MT5 Collection Indicator crossoverMulti-strategy

System 01

by addictekk666
1 stars

System 01 is an automated expert advisor for MetaTrader 5 that utilizes a trend-following strategy combining the Parabolic SAR and a Moving Average. The robot enters buy positions when the price is above both the Parabolic SAR and the Moving Average, while sell positions are initiated when the price falls below both in

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of System 01

Basic Expert Advisor

by angelohomen
1 stars

This MetaTrader 5 robot executes trades based on quantitative risk indicators, including Value at Risk (VaR) and Expected Shortfall (ES). It uses statistical calculations like standard deviation and confidence levels to determine entry signals based on price returns. The system is designed for intraday trading, featuri

MT5 Trading robot Mean reversion
Updated 3 years ago None stated GitHub repository of Basic Expert Advisor
1 stars

This MetaTrader 5 expert advisor implements a momentum-based strategy designed for gold futures. It identifies entry points by detecting double-impulse price patterns and filtering for minimum volume requirements. The EA determines market direction using a short-term exponential moving average crossover on the one-minu

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Trading Gold Futures

MACD EA

by gbr3zzy
1 stars

This MetaTrader 5 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator combined with dual exponential moving average trend filters. The robot enters positions when MACD reaches specific pip thresholds and uses 6-period and 20-period EMAs to confirm market direction. It feat

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of MACD EA

Ejtrader MT Docker Bridge

by arashforoughi
1 stars

This expert advisor serves as a ZeroMQ bridge for MetaTrader 5, enabling communication between the trading platform and external applications such as Python. It is primarily designed to run within a containerized environment using Docker and Alpine Linux. The EA facilitates data streaming, historical price access, and

MT5 Copier & bridge
Updated 3 years ago None stated GitHub repository of Ejtrader MT Docker Bridge

Bad Robot Sample

by cupidarrow0417
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on moving average crossovers. It offers a comprehensive suite of trade management tools, including fixed tick-based stop loss and take profit levels, trailing stops, and break-even settings. Users can configure up to three partial exits to sca

MT5 Trading robot Indicator crossover

Fantastic Garbanzo

by ms0uto
1 stars

Fantastic Garbanzo is an automated trading robot for MetaTrader 5 that utilizes the Relative Strength Index (RSI) to identify entry points. It operates by monitoring RSI levels against user-defined upper and lower boundaries, typically used for mean-reversion strategies. Risk management is handled through fixed lot siz

MT5 Trading robot Mean reversion
Updated 3 years ago None stated GitHub repository of Fantastic Garbanzo

Passive Income

by SanneEmmanuel
1 stars

Passive Income is an automated trading robot for MetaTrader 5 that identifies entries using Moving Average crossover signals. The EA utilizes standard MQL5 library classes to execute trades and manage positions. Risk management is facilitated through a Parabolic SAR trailing stop, which dynamically adjusts the stop los

MT5 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Passive Income

Shosan EA

by Kennius7
1 stars

This MetaTrader 5 expert advisor is an experimental project developed to automate trading using technical indicators for trend and momentum analysis. The system incorporates a 100-period Exponential Moving Average (EMA), MACD, and Average True Range (ATR) for entry signals and trade management. It features built-in ris

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Shosan EA

Fibonacci Expert

by ismail505
1 stars

Fibonacci Expert is a MetaTrader 5 robot that calculates Fibonacci levels using price extremes from a user-defined timeframe. It automatically places various pending orders, including buy stops, sell stops, buy limits, and sell limits, at specified intervals relative to these levels. The EA manages risk through individ

MT5 Trading robot BreakoutMean reversionHedging
Updated 3 years ago None stated GitHub repository of Fibonacci Expert
1 stars

This MetaTrader 5 expert advisor is a quantitative trading framework that integrates eight distinct strategies into a single controller. It manages automated entries and exits for various systems while monitoring overall currency exposure to maintain risk within a defined limit. The EA is specifically designed for Fore

MT5 Trading robot Multi-strategy

Bear Treading

by Polobear9
1 stars

Bear Treading is a MetaTrader 5 robot developed using the MQL5 standard library expert classes. It primarily executes trades based on Relative Strength Index (RSI) signals, incorporating Moving Average parameters for trend identification. The system employs traditional risk controls, including hard stop loss and take p

MT5 Trading robot Mean reversionIndicator crossover
Updated 3 years ago None stated GitHub repository of Bear Treading

Autotrader Bot

by PaulEggo
1 stars

This MetaTrader 5 expert advisor executes trades based on price interactions with Bollinger Bands. It identifies specific crossover events, such as price moving above the upper band or below the lower band, to trigger trade logic. The system monitors candle closes relative to these volatility bands and tracks individua

MT5 Trading robot Mean reversionBreakout
Updated 4 years ago None stated GitHub repository of Autotrader Bot

Mql5 Mqtt Publish

by silviogarbes
1 stars

This utility for MetaTrader 5 enables communication between the trading platform and external systems using the MQTT protocol. It establishes a socket connection to a specified broker to publish messages and data to defined topics. The expert advisor handles packet construction manually, including headers and payload e

MT5 Copier & bridge
Updated 4 years ago None stated GitHub repository of Mql5 Mqtt Publish

This repository provides a collection of MetaTrader 4 and MetaTrader 5 tools, centered around a local trade copying system. The primary expert advisors allow users to publish and subscribe to trade signals between terminal instances using file-based communication. The copier supports lot sizing via ratios or fixed valu

MT4MT5 Collection Mean reversion

Deep Q Trading DWX Server

by SimonMonnier
1 stars

This MetaTrader 5 expert advisor acts as a communication bridge between the terminal and external applications, specifically tailored for reinforcement learning and Python-based algorithmic trading. It exports real-time market data, bar history, and account information to local files while processing trade commands fro

MT5 Copier & bridge AI / machine learning
Updated 4 years ago None stated GitHub repository of Deep Q Trading DWX Server

PDSF Mean Reversion

by L-M-Digital
1 stars

This MetaTrader 5 expert advisor is an educational prototype developed for a digital signal processing course at the University of Brasília. It utilizes a mean-reversion strategy based on the Volume Weighted Average Price (VWAP), entering trades when price deviates from the indicator by a specific distance. The robot s

MT5 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of PDSF Mean Reversion

Boom EA Spike Notification

by wamaithaNyamu
1 stars

Boom EA Spike Notification is a MetaTrader 5 utility designed for monitoring Boom and Crash synthetic indices. It functions as a detection tool that identifies price spikes by analyzing historical candle data. The EA scans the last 2,000 bars to establish a threshold for standard price movement, distinguishing between

MT5 Utility
Updated 4 years ago None stated GitHub repository of Boom EA Spike Notification

Expert Advisors Collection

by johnsmith-mql
1 stars

This repository provides a collection of standard template expert advisors for both MetaTrader 4 and MetaTrader 5. It includes the classic MACD Sample and Moving Average robots, which demonstrate indicator-based trading logic. The MACD Sample enters positions based on MACD signal levels filtered by a moving average tre

MT4MT5 Collection Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Expert Advisors Collection

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