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.

New EAs by RSS
515 EAs match Clear filters

EURUSD EA Template

by himi1024
1 stars

This MetaTrader 4 repository hosts a collection of expert advisors based on a standardized automated trading template. The source files are tailored for EURUSD on the M15 timeframe, offering a modular structure for integrating custom entry and exit signals. It includes comprehensive risk management settings, allowing u

MT4 Framework & template
Updated 4 years ago None stated GitHub repository of EURUSD EA Template

Quantatech Securities FX

by QuantatechSecurities
1 stars

Quantatech Securities FX provides two distinct expert advisors for MetaTrader 4, focusing on trend-following and momentum strategies. The primary MACD robot identifies entries using signal line crossovers filtered by an exponential moving average. It manages risk through fixed lot sizing with account margin checks, a s

MT4 Collection Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Quantatech Securities FX

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

XRL8 Bot

by Gabriel-Ferraz
1 stars

XRL8 Bot is a MetaTrader 4 expert advisor designed for automated forex trading based on a simple moving average crossover system. The robot monitors price action to identify entries when a fast-period moving average crosses a slow-period moving average. It manages trades using fixed stop loss and take profit targets de

MT4 Trading robot Indicator crossover
Updated 4 years ago None stated GitHub repository of XRL8 Bot
1 stars

This MetaTrader 4 expert advisor implements a correlation-based trading strategy focused on the seven major currency groups. It utilizes the Auto Trend Forecaster custom indicator to identify market trends across multiple currency pairs simultaneously. The system monitors the aggregate profit and loss of specific curre

MT4 Collection Trend followingMulti-strategy

Arbitrage Algo

by baufometic
1 stars

This MetaTrader 4 expert advisor implements a latency arbitrage strategy by monitoring price discrepancies across multiple ECN brokers and liquidity pools. It tracks bid and ask prices for twenty-three currency pairs in a high-speed loop, identifying instances where prices diverge significantly across different platfor

MT4 Trading robot ArbitrageScalping
Updated 4 years ago None stated GitHub repository of Arbitrage Algo

StrategyQuant Demo EA

by Pius-Emmanuel
1 stars

This MetaTrader 4 expert advisor is a sample trading robot generated by StrategyQuant X. It utilizes the Williams Percent Range indicator for entry signals and incorporates Average True Range components for volatility measurement. The system employs fixed lot sizing and includes risk management features such as a hard

MT4 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of StrategyQuant Demo EA

3EMA ZigZag Bot

by Puchite
1 stars

This MetaTrader 4 expert advisor is a trend-following robot developed as an academic project for an object-oriented programming course. The system combines Exponential Moving Averages and ZigZag indicators to determine trade entries and manage positions. It features basic risk controls including a user-defined maximum

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of 3EMA ZigZag Bot
1 stars

This MetaTrader 4 expert advisor is an automated trading robot specifically developed for the GBPNZD currency pair on the M15 timeframe. Generated using the EA Studio software, the strategy utilizes Bollinger Bands as its primary technical indicator to determine market entries and exits. The code includes built-in risk

MT4 Trading robot Mean reversionTrend following
Updated 4 years ago None stated GitHub repository of GBPNZD EA Studio M15
1 stars

This automated trading robot is designed specifically for the AUDJPY currency pair on the H1 timeframe for MetaTrader 4. Developed using the Expert Advisor Studio platform, the software utilizes a combination of directional and volume indicators to identify entry and exit points. It incorporates standard risk managemen

MT4 Trading robot Trend following
Updated 4 years ago None stated GitHub repository of Audjpy H1 EA Studio

BBS Expert

by AliFadaei90
1 stars

This MetaTrader 4 expert advisor implements an automated trading strategy based on the Bollinger Bands indicator. It monitors price positions relative to the upper, lower, and middle bands on the H1 timeframe. The EA uses a series of threshold parameters to determine entry and exit points, as well as the deletion of or

MT4 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of BBS Expert

Auto Zone Trader

by iamshakibulislam
1 stars

Auto Zone Trader is a MetaTrader 4 expert advisor that automates trade execution based on manually identified price zones and technical candlestick patterns. Users specify potential reversal areas by placing horizontal lines labeled for buy or sell zones on the chart. The robot monitors these levels and triggers an ord

MT4 Trading robot SMC / ICT / price actionMean reversion
Updated 4 years ago None stated GitHub repository of Auto Zone Trader

Ea Scalp Three

by mirkop94
1 stars

Ea Scalp Three is an automated scalping robot for MetaTrader 4 that uses recent price action to determine market direction. It analyzes the closing prices of the three most recent candles on the one-minute timeframe to detect momentum. The software opens a buy position when bullish momentum is identified and a sell pos

MT4 Trading robot ScalpingTrend following
Updated 5 years ago None stated GitHub repository of Ea Scalp Three

Investment EA Collection

by MohammadMahdiOmid
1 stars

This repository provides a collection of MetaTrader 4 expert advisors designed for forex and digital markets. The primary expert advisor implements a breakout strategy by placing buy and sell stop orders at a specific distance from the previous day's high and low prices. It includes automated trade management features

MT4 Collection BreakoutIndicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Investment EA Collection

London Breakout EA

by anhpnh
1 stars

This MetaTrader 4 robot automates a breakout strategy focused on the London and New York trading sessions. It identifies price ranges over a set number of bars and executes trades when price breaks above or below these levels. The EA includes an Exponential Moving Average filter to align trades with the prevailing tren

MT4 Trading robot BreakoutTrend following
Updated 5 years ago None stated GitHub repository of London Breakout EA

This repository is a collection of Expert Advisors for MetaTrader 5, providing several distinct automated strategies such as range trading, ZigZag-based signals, and Fibonacci targets. The primary robot executes trades based on Moving Average calculations and specific intraday session times. It manages risk through fix

MT5 Collection Trend followingIndicator crossoverMulti-strategy

HLHB Trend Catcher

by Martian4x
1 stars

This MetaTrader 4 expert advisor is designed to capture price trends by combining moving average crossovers with momentum oscillators. It monitors fast and slow moving averages for entry signals while utilizing a long-term trend moving average as a directional filter. The Relative Strength Index is incorporated to vali

MT4 Trading robot Trend followingIndicator crossover
Updated 5 years ago None stated GitHub repository of HLHB Trend Catcher
1 stars

This MetaTrader 4 expert advisor automates an inside bar momentum strategy based on price action patterns. It identifies dual candlestick formations where the second bar's range is entirely contained within the high and low of the mother bar. The robot monitors the four-hour timeframe to detect volatility contractions

MT4 Trading robot BreakoutTrend following

This repository provides a collection of MetaTrader 4 expert advisors centered on trend-following and hedging mechanics. The primary Trend EA identifies market entries using moving average crossovers, stochastic oscillators, and MACD indicators. Risk is managed through percentage-based equity lot sizing and pair-specif

MT4 Collection Trend followingIndicator crossoverHedging
1 stars

This MetaTrader 4 expert advisor functions as a semi-automatic trading assistant designed to automate lot sizing and position management. It calculates position sizes based on the user account balance, a target interest rate, and a specific pips distance. The tool provides manual execution buttons for immediate buy and

MT4 Trade manager

Prediction App DLL

by LeCray
1 stars

This MetaTrader 5 framework provides tools for integrating machine learning models with algorithmic trading. It features scripts designed to generate training data by exporting price action and technical indicators like RSI, MACD, and Stochastics into CSV formats. The system interfaces with external neural network mode

MT5 Framework & template AI / machine learningTrend following
Updated 5 years ago None stated GitHub repository of Prediction App DLL

Area Fifty One

by Valerzen88
1 stars

This MetaTrader 4 expert advisor utilizes a modular approach to automated trading, offering multiple selectable strategies including trend-following, RSI mean-reversion, and moving average crossovers. It calculates entries using indicators like ADX, Stochastic, and Hull Moving Averages. Risk management is handled throu

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Area Fifty One
1 stars

This MetaTrader 4 repository contains a collection of automated trading scripts designed for the foreign exchange market. The primary robots include Mover, which utilizes moving average crossovers to identify trends, and Cristos, which focuses on market openings and news events. The collection also features a semi-auto

MT4 Collection Indicator crossoverTrend followingNews
Updated 5 years ago None stated GitHub repository of Small Scripts EA Collection
1 stars

This MetaTrader 4 expert advisor acts as a multi-symbol scanner that monitors the Relative Strength Index and Money Flow Index indicators. It evaluates market conditions across six timeframes simultaneously, ranging from one-minute to four-hour charts. The logic triggers when both indicators reach specific overbought o

MT4 Utility Mean reversion
Updated 5 years ago None stated GitHub repository of RSI MFI Trading Algorithm

Box Trader

by Christian-de-beer
1 stars

Box Trader is a MetaTrader 5 utility designed to visualize price levels directly on the trading terminal. The expert advisor automatically generates horizontal lines on the chart that track real-time price movements, specifically following the Bid and Ask levels. Users can modify various visual parameters including lin

MT5 Utility
Updated 5 years ago MIT GitHub repository of Box Trader
1 stars

This MetaTrader 4 expert advisor automates binary options trading for the Intrade.bar broker. It functions as a signal generator and bridge, utilizing a dual Bollinger Band strategy to identify entry points. The EA communicates with an external C++ console application via a named pipe to execute trades through a REST A

MT4 Trading robot Mean reversion

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

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

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

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

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

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

Aych MT Learn

by AYCHMT
1 stars

Aych MT Learn is a repository for MetaTrader 4 that provides a baseline expert advisor for educational purposes. The robot implements a classic strategy based on Moving Average Convergence Divergence (MACD) crossovers filtered by an Exponential Moving Average trend component. It includes standard trade management featu

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Aych MT Learn
1 stars

This collection for MetaTrader 4 provides a suite of trade management and utility scripts. The primary expert advisor automates the application of stop loss and take profit levels for existing trades. It features a sophisticated trailing stop system with dedicated settings for major forex pairs, gold, and silver. Users

MT4 Collection
1 stars

Manual Trading Tool MTT is a MetaTrader 4 utility designed to assist traders in managing manual positions. It features a graphical dashboard that displays live order data, including accumulated profits, swap costs, and position sizes for buy and sell orders. The tool monitors stop loss and take profit states while prov

MT4 Utility
Updated 6 years ago None stated GitHub repository of Manual Trading Tool MTT

Artemis IA

by Fernando-7
1 stars

Artemis IA is an expert advisor for the MetaTrader 4 platform that executes trades in the forex market. It uses a strategy based on fractal methodology and technical indicators to determine market direction. The logic integrates the Parabolic SAR indicator across M1, M5, and M15 timeframes, complemented by signals from

MT4 Trading robot Trend following
Updated 6 years ago None stated GitHub repository of Artemis IA

EA Swap

by pablogalve
1 stars

EA Swap is a MetaTrader 4 expert advisor designed to capture interest rate differentials during the triple rollover period, typically occurring on Wednesdays. It automates the process of opening a buy or sell position shortly before the swap is charged and closing it after the rollover is processed. The robot includes

MT4 Trading robot Arbitrage
Updated 7 years ago Apache-2.0 GitHub repository of EA Swap

Yumokin CCI

by yumokin
1 stars

This automated trend-following expert advisor for MetaTrader 4 is designed specifically for the GBPJPY pair on the H1 timeframe. It identifies market entries using the Commodity Channel Index and Moving Average Convergence Divergence indicators. The system operates within specific GMT hours and manages a maximum of two

MT4 Trading robot Trend followingIndicator crossoverHedging
Updated 7 years ago None stated GitHub repository of Yumokin CCI
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

Uzi Forex EA

by blitz4x
1 stars

Uzi Forex EA is a centralized trade copying system for MetaTrader 4 that utilizes a server-client architecture. It consists of a server module that broadcasts signals from a designated master account and a client expert advisor that executes trades locally. Users can define fixed lot sizes, limit the total number of co

MT4 Copier & bridge
Updated 7 years ago None stated GitHub repository of Uzi Forex EA

Mql4 Bot Collection

by jesuscovam
1 stars

This MetaTrader 4 repository contains a collection of expert advisors focused on simple automated trading logic. The scripts include various entry methods such as Relative Strength Index triggers and time-based executions. Risk management is implemented through standard parameters including fixed lot sizing, stop loss,

MT4 Collection Trend following
Updated 7 years ago None stated GitHub repository of Mql4 Bot Collection
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

Junbari MT4

by fujishuu
1 stars

Junbari MT4 is a trend-following expert advisor for MetaTrader 4 that identifies trade entries based on price breakouts. The system monitors the highest highs and lowest lows over a specific lookback period to determine market direction. It enters positions when the current price breaks a historical level and meets a m

MT4 Trading robot Trend followingBreakout
Updated 7 years ago None stated GitHub repository of Junbari MT4

Classic Winner

by kkinzler
1 stars

Classic Winner is an educational MetaTrader 4 expert advisor designed as a structural framework for automated forex trading. The repository provides a template for managing trades with built-in risk controls, including fixed percentage lot sizing and Average True Range based exit points. It features time-of-day filteri

MT4 Framework & template
Updated 7 years ago None stated GitHub repository of Classic Winner
1 stars

This MetaTrader 4 tool monitors several currency pairs and gold using the Ichimoku Kinko Hyo indicator. It identifies price crosses across the Tenkan-sen, Kijun-sen, and Senkou Span lines. The tool generates alerts based on price action relative to these levels on timeframes ranging from thirty minutes to one day. It s

MT4 Utility Indicator crossover

KD AG Basket Trading

by adiarthagriadhi
1 stars

This MetaTrader 4 expert advisor implements a multicurrency basket trading strategy based on price action. It evaluates multiple currency pairs simultaneously using a scoring system that compares current price levels to opening prices across five-minute and fifteen-minute timeframes. The robot manages entries automatic

MT4 Trading robot Trend followingMulti-strategy
Updated 7 years ago None stated GitHub repository of KD AG Basket Trading

Usd5 3 EA

by monakafx
1 stars

Usd5 3 EA is a MetaTrader 4 expert advisor that executes trades based on specific candlestick sequences and trend direction. It identifies patterns of three consecutive bullish or bearish candles followed by a reversal to signal potential entries. The robot utilizes a 25-period Simple Moving Average on the H4 timeframe

MT4 Trading robot Trend followingMean reversion
Updated 7 years ago MIT GitHub repository of Usd5 3 EA

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