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.

1,977 EAs

MFI Expert

by Hamzeh24w
1 stars

This MetaTrader 4 expert advisor implements a trading strategy centered on the Money Flow Index (MFI) indicator. It opens buy positions when the MFI crosses below a user-defined threshold and sell positions when it crosses above a threshold. To manage losing trades, the EA employs a martingale-style lot scaling mechani

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 5 years ago None stated GitHub repository of MFI Expert

RSI Expert Advisor

by Fridgeface
1 stars

This expert advisor for MetaTrader 4 executes trades based on the Relative Strength Index indicator. It enters long positions when the RSI period 14 crosses below the 30 level and short positions when it rises above 70. The robot maintains a simple logic of managing a single trade at a time with a fixed volume of 0.10

MT4 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of RSI Expert Advisor

Trade Framework MQL5

by henriquepassos
1 stars

This MetaTrader 5 expert advisor serves as a structural framework for algorithmic trading development. It utilizes a modular approach by importing strategy logic from external header files to handle trade execution. The core code provides basic input parameters for trade volume, magic numbers, and price deviation. Sinc

MT5 Framework & template
Updated 5 years ago None stated GitHub repository of Trade Framework MQL5
1 stars

Xurya Algorithmic Trading is a collection of MetaTrader 4 expert advisors centered on breakout strategies and volatility analysis. The primary EA uses a breakout mechanism with entries filtered by price action across a defined number of bars. It features risk controls including fixed percentage lot sizing based on acco

MT4 Collection BreakoutHedging
Updated 6 years ago None stated GitHub repository of Xurya Algorithmic Trading

Metatrade Sandbox

by humbertosouza
1 stars

This MetaTrader 5 expert advisor is a development project for testing technical indicator strategies. It uses a combination of moving average crossovers and MACD signals to identify market entries. The EA includes time-based filters allowing users to specify exact opening and closing hours for daily trading sessions. R

MT5 Trading robot Indicator crossover
Updated 6 years ago AGPL-3.0 GitHub repository of Metatrade Sandbox

Daily Momentum EA

by leocasanova
1 stars

Daily Momentum EA is a MetaTrader 4 robot that automates trading based on the Moving Average Convergence Divergence (MACD) indicator. It identifies entry points by analyzing the sequence of the MACD histogram over three periods to find momentum shifts. The EA specifically targets the daily timeframe and includes a vali

MT4 Trading robot Trend following
Updated 6 years ago None stated GitHub repository of Daily Momentum EA

MT5 Line Level Trader

by DaraGaloX233
1 stars

MT5 Line Level Trader is a utility for MetaTrader 5 designed to manage trades based on price levels or lines drawn on the chart. The expert advisor includes specialized logic to handle point calculations and digit adjustments for a variety of symbols, specifically addressing forex pairs, gold, and major indices like th

MT5 Trade manager
Updated 6 years ago None stated GitHub repository of MT5 Line Level Trader

Peer Cointegration

by Navesvjv
1 stars

This MetaTrader 5 expert advisor implements a statistical arbitrage strategy based on asset cointegration. It focuses on mean-reversion by identifying and trading pairs of assets that diverge from their historical price relationships. The software is pre-configured with a broad list of Brazilian equities and supports b

MT5 Trading robot Mean reversion
Updated 6 years ago None stated GitHub repository of Peer Cointegration

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303
1 stars

This MetaTrader 5 tool extracts stock market data to build datasets for statistical analysis. It allows users to define the number of periods, the specific timeframe, and the price type used for extraction. The expert advisor functions as a data collector rather than a trading robot, as it lacks entry or exit logic in

MT5 Utility

Robos MQL5 Collection

by Navesvjv
1 stars

This repository is a collection of MetaTrader 5 expert advisors featuring various technical trading strategies. It includes individual robots based on moving average crossovers, MACD, Bollinger Bands, and linear regression models. Each EA is equipped with risk control parameters such as fixed stop losses, take profit l

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 6 years ago None stated GitHub repository of Robos MQL5 Collection

Rafael Valle MT5 Collection

by rafaeljudson
1 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility tools, primarily featuring a Depth of Market interface named RafaDomII. The main tool serves as a manual execution panel, allowing traders to monitor volume-at-price data and execute market or limit orders directly from the chart. It incl

MT5 Collection
Updated 6 years ago None stated GitHub repository of Rafael Valle MT5 Collection

Falcon B

by josephxskum
1 stars

Falcon B is a MetaTrader 4 robot developed for the Lazy Trading Project, designed to integrate with external decision support systems. It uses a combination of moving average crossovers and Keltner Channels to identify trade entries. The system includes robust risk management features, allowing for fixed or volatility-

MT4 Trading robot Indicator crossover
Updated 6 years ago MIT GitHub repository of Falcon B

Cross MA

by Mahdi24w
1 stars

This MetaTrader 4 expert advisor executes a classic moving average crossover strategy. It monitors two Simple Moving Averages with customizable periods to identify trend shifts. When the fast average crosses above the slow average, the robot initiates a buy order; a crossover below triggers a sell order. The system res

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Cross MA
1 stars

This MetaTrader 5 expert advisor monitors price action using a combination of Exponential Moving Averages and the Stochastic oscillator. It identifies potential market entries based on crossover logic and momentum. The system is designed to send real-time trade alerts to a configured Telegram channel, providing details

MT5 Utility Indicator crossover

Algo 01

by expdal3
1 stars

Algo 01 is a MetaTrader 4 expert advisor that executes trades based on moving average crossover signals. It references an external custom indicator path for signal generation and allows users to define fast and slow moving average periods for its logic. The robot includes risk management features such as percentage-bas

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Algo 01

Account Recorder

by mazmazz
1 stars

Account Recorder is a utility for MetaTrader 4 and 5 that exports trading transactions and account metrics to external SQL databases via the ODBC interface. It supports MySQL, PostgreSQL, and SQLite, enabling users to maintain an auditable, platform-agnostic history of their trading activity. The tool records account s

MT4MT5 Utility

Inside Bar Momentum

by Martian4x
1 stars

Inside Bar Momentum is a MetaTrader 4 expert advisor that identifies and trades candlestick breakout patterns. The robot scans for inside bar formations, where a candle is completely contained within the previous candle's price range. It uses a stochastic oscillator to filter momentum, requiring specific overbought or

MT4 Trading robot BreakoutMean reversion
Updated 6 years ago None stated GitHub repository of Inside Bar Momentum

Ultima

by thevictorwhyte
1 stars

Ultima is a trend-following expert advisor for MetaTrader 4 that utilizes moving average crossovers and the Average Directional Index to identify market momentum. Generated via a template builder, it monitors the relationship between multiple exponential moving averages and a long-term simple moving average. The EA inc

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 6 years ago None stated GitHub repository of Ultima

TeGi Trading Panel

by guaponi
1 stars

TeGi is a manual trading panel and management utility for MetaTrader 4 that bridges local trade execution with Telegram groups or channels. It allows users to open buy or sell orders with predefined stop loss and take profit levels while automatically broadcasting trade signals and screenshots to a connected bot. The e

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of TeGi Trading Panel

Cuckoos MT4

by m10i1986
1 stars

Cuckoos MT4 is a notification expert advisor for MetaTrader 4 that bridges account activity to Discord via webhooks. This utility monitors the trading account and sends automated updates whenever the total number of open orders changes or during initialization. The messages delivered to Discord contain detailed account

MT4 Copier & bridge
Updated 6 years ago MIT GitHub repository of Cuckoos MT4

Position By Equity Risk

by roshjardine
1 stars

Position By Equity Risk is a MetaTrader 5 expert advisor designed as a programming snippet for automated trade management. The EA enters a single buy order on the first received tick, serving as a functional template for risk-based calculations. It manages positions using configurable stop loss and take profit multipli

MT5 Utility
Updated 6 years ago None stated GitHub repository of Position By Equity Risk

PTL EA

by ptluan2011
1 stars

PTL EA is a MetaTrader 4 expert advisor that monitors financial markets for technical trade setups using price action and trend analysis. It evaluates market conditions across various instruments, including forex pairs, gold, and global indices, by identifying candlestick patterns and key support and resistance zones.

MT4 Trading robot Trend followingSMC / ICT / price actionIndicator crossover
Updated 6 years ago None stated GitHub repository of PTL EA
1 stars

This repository contains a collection of MetaTrader 4 programs, including expert advisors, indicators, and scripts. The provided files appear to be utility tools rather than automated trading robots, with names suggesting functions for account monitoring, folder management, and time-based tasks. The project provides mi

MT4 Collection
Updated 6 years ago None stated GitHub repository of HPCS MetaTrader Collection

Robo Trade MQL5

by ckedor
1 stars

Robo Trade MQL5 is an automated trading robot for MetaTrader 5 that implements technical analysis setups based on moving average indicators. It specifically targets the 9.1 and 9.2 setups, utilizing 9-period and 21-period moving averages to identify entry points. The EA features fixed lot sizing and a mandatory daily e

MT5 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Robo Trade MQL5

Trade RSI 30-70

by iamgenes
1 stars

This MetaTrader 4 expert advisor implements a mean-reversion strategy using the Relative Strength Index. It monitors for overbought conditions above 70 and oversold conditions below 30 to trigger trade entries. When a signal occurs, the EA clears existing pending orders of the opposite type and places a batch of thirty

MT4 Trading robot Mean reversion
Updated 6 years ago None stated GitHub repository of Trade RSI 30-70

Jaibot

by juzailie
1 stars

Jaibot is a MetaTrader 4 expert advisor designed for scalping on the M15 timeframe. The software monitors a wide range of forex pairs, scanning for opportunities every five minutes via a timer-based function. It includes built-in Telegram integration using an external library to provide remote notifications and status

MT4 Trading robot Scalping
Updated 6 years ago None stated GitHub repository of Jaibot
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

Strategy CCI Arrows

by EA31337
1 stars

This MetaTrader 5 expert advisor executes trades based on the Commodity Channel Index (CCI) Arrows indicator. Developed as part of the EA31337 framework, the robot identifies market entries through CCI-derived signals. It supports multi-timeframe operations, allowing users to activate specific intervals from M1 to H4 a

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Strategy CCI Arrows

Lancers System Trade App

by Lancers-itoh
1 stars

This MetaTrader 4 expert advisor functions as a trade receiver or bridge for external web services. It uses the WebRequest function to poll a Heroku-hosted URL for trading data and instructions. The software parses incoming text strings to identify specific trade parameters and synchronize the local terminal with the r

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Lancers System Trade App

Fox EA

by OrangeFoxie
1 stars

This MetaTrader 5 expert advisor, developed as a university project, executes trades based on technical indicators including Average Directional Index (ADX) and Moving Averages. The system features risk management controls such as fixed stop loss and take profit levels, which are automatically scaled for five-digit pri

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Fox EA

IBand EA

by Anter10
1 stars

This MetaTrader 4 repository provides a collection of expert advisors, featuring the IBandEA system designed for gold trading on the 5-minute timeframe. The robot executes trades based on price deviations from a central indicator line and specific candle high-low ranges. It incorporates risk management through a lot si

MT4 Collection Mean reversionMartingaleIndicator crossover High risk
Updated 6 years ago None stated GitHub repository of IBand EA

Discretion Algo

by BenWhittakerTM
1 stars

Discretion Algo is a collection of MetaTrader 4 experts designed for automated trading based on technical price action patterns. The repository provides distinct modules for identifying liquidity sweeps and engulfing candle formations. The system employs multi-timeframe analysis, by default analyzing price data across

MT4 Collection SMC / ICT / price actionMulti-strategy
Updated 6 years ago None stated GitHub repository of Discretion Algo

EMA 200 EA

by MrKali
1 stars

This MetaTrader 4 expert advisor executes a strategy based on the 200-period Exponential Moving Average. It identifies potential entries when price action deviates from the EMA, specifically seeking bearish candles below the average for buy orders and bullish candles above the average for sell orders. The robot include

MT4 Trading robot Mean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of EMA 200 EA

TimeBit

by minhtranlife
1 stars

This MetaTrader 5 expert advisor utilizes ZigZag indicators and Fibonacci retracements to identify and trade ABCD patterns. Operating primarily on the M1 and M5 timeframes, the robot calculates entry points based on specific price ranges and Fibonacci levels such as 23.6 and 38.2. The system employs an aggressive marti

MT5 Trading robot MartingaleMean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of TimeBit

TradeRobot

by Wrobless
1 stars

TradeRobot is a manual trading panel for MetaTrader 4 that facilitates trade execution and order management. It allows users to open buy and sell positions directly from the chart using graphical buttons. The utility incorporates essential risk management features, including fixed lot sizing, stop loss, take profit, an

MT4 Utility
Updated 6 years ago None stated GitHub repository of TradeRobot
1 stars

This repository is a collection of MQL5 utility scripts and snippets for the MetaTrader 5 platform. It includes tools for dumping account details, active positions, and trade history directly into the terminal log for debugging or monitoring. Other components demonstrate SQLite database integration, price alerts, and g

MT5 Collection

Ndow Forex

by ndow33
1 stars

Ndow Forex is a MetaTrader 5 expert advisor that uses price action from a specific lookback period to determine trade boundaries. It scans a defined number of historical candles to identify the highest and lowest price points. Based on this range, which the developer calls the chasm, the EA calculates stop loss and tak

MT5 Trading robot Breakout
Updated 6 years ago None stated GitHub repository of Ndow Forex

QGA SVM Forex

by TerenceLiu98
1 stars

This repository provides a framework for integrating machine learning and quantum physics models with MetaTrader 4 and 5. It aims to implement a Quantum Genetic Algorithm and Support Vector Machine for feature selection and price classification. The system utilizes a ZeroMQ bridge to connect Python 3.8 with the trading

MT4MT5 Framework & template AI / machine learning
Updated 6 years ago BSD-3-Clause GitHub repository of QGA SVM Forex
1 stars

This MetaTrader 5 repository provides a collection of Expert Advisors based on the educational material from Andrew Young. It includes several distinct strategies such as RSI and Bollinger Band counter-trend systems, moving average crossovers, and breakout trading with pending orders. Each EA includes standard risk man

MT5 Collection Mean reversionIndicator crossoverBreakout
Updated 6 years ago None stated GitHub repository of Mql5 Book EA Collection
1 stars

This repository provides a collection of MetaTrader 4 and MetaTrader 5 resources, including standard MetaQuotes examples and custom trading tools. A primary feature is the 3D correlation matrix utility, which uses the Canvas3D library to visualize price relationships across multiple symbols. The collection also include

MT4MT5 Collection GridIndicator crossoverMulti-strategy High risk

MT4 Trading Collection

by paulnheera
1 stars

This collection of MetaTrader 4 scripts and experts features an automated trading robot based on the MACD indicator. It identifies entry points using MACD signal line crossovers filtered by an Exponential Moving Average to determine trend direction. The system includes built-in risk controls such as fixed lot sizing, t

MT4 Collection Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of MT4 Trading Collection

Break Time UJ

by robinoud
1 stars

Break Time UJ is a MetaTrader 4 expert advisor that automates a breakout strategy triggered at a specific time of day. It identifies support and resistance levels using the BreakOut PANCA EAGLE custom indicator and applies a 60-period Exponential Moving Average as a trend filter. The EA manages risk through a trailing

MT4 Trading robot BreakoutTrend following
Updated 6 years ago None stated GitHub repository of Break Time UJ

MQL5 Python UDP Integration

by FelipeGaldino
1 stars

This expert advisor acts as a bridge between MetaTrader 5 and Python using the UDP protocol. It functions as a server that captures real-time symbol tick data, specifically ask prices and timestamps, and transmits them to an external Python client. The tool enables low-latency data streaming for external analysis or al

MT5 Copier & bridge
Updated 6 years ago None stated GitHub repository of MQL5 Python UDP Integration
1 stars

This repository is a collection of MetaTrader 5 expert advisors and analytical utilities. It features several standard trading examples like MACD and Moving Average, alongside more specific implementations using MAMA and Parabolic SAR indicators. A notable component is a three-dimensional correlation matrix tool that v

MT5 Collection Indicator crossoverMulti-strategyGrid High risk

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

TradeSync MT4 Receiver

by JafferWilson
1 stars

This expert advisor acts as a trade receiver for the MetaTrader 4 platform, enabling the execution of orders sent from a remote master account. It establishes a connection via a socket library to a cloud hub or a specified local port to receive trade commands. The system parses incoming messages for parameters such as

MT4 Copier & bridge
Updated 6 years ago LGPL-3.0 GitHub repository of TradeSync MT4 Receiver

Forex Scalping Strategy

by taivoit1993
1 stars

This MetaTrader 4 expert advisor implements a trend-following scalping strategy using a combination of moving averages and the Stochastic oscillator. It identifies the primary trend using a 200-period Simple Moving Average and a 21-period Exponential Moving Average. Trades are entered during pullbacks when the Stochast

MT4 Trading robot Trend followingScalpingIndicator crossover
Updated 6 years ago None stated GitHub repository of Forex Scalping Strategy

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