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.

115 EAs match Clear filters

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337
645 stars

This collection of MetaTrader 5 expert advisors implements various technical strategies using indicators such as Moving Averages, MACD, and the Andean Oscillator. It includes a specific tool for trading based on Commitment of Traders data combined with SuperTrend signals. Most robots in the repository incorporate a gri

MT5 Collection Indicator crossoverScalpingGrid High risk

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Darwinex DWX Connect

by darwinex
232 stars

DWX Connect is an open-source bridge that links external trading strategies written in Python, C#, or Java to MetaTrader 4 and 5. It functions as a server EA that facilitates communication via file-based messaging, allowing users to execute trades and subscribe to market data without coding in MQL. The EA manages trade

MT4MT5 Copier & bridge
Updated 1 year ago BSD-3-Clause GitHub repository of Darwinex DWX Connect

ICT Library MQ5

by xxvw
205 stars

This MetaTrader 5 library and expert advisor automates Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies. It identifies market structure shifts, breaks of structure, order blocks, and liquidity zones. The system features a confluence-based entry mechanism that evaluates signals against kill zones,

MT5 Framework & template SMC / ICT / price action

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper

GridMaster Pro

by sajidmahamud835
128 stars

An automated MetaTrader 5 expert advisor that executes a bi-directional grid trading strategy. It uses the Average True Range (ATR) indicator to dynamically calculate grid spacing, allowing the system to adapt to current market volatility. The robot supports neutral, bullish, and bearish modes. It includes risk managem

MT5 Trading robot GridMean reversion High risk
Updated 5 months ago MIT GitHub repository of GridMaster Pro

Roffild Library

by Roffild
120 stars

Roffild Library is an extensive framework and collection of expert advisors for MetaTrader 5 that bridges MQL5 with modern data science tools. It provides functional implementations for machine learning models, specifically Multilayer Perceptron neural networks and Random Forests via the AlgLib library. The project fac

MT5 Framework & template AI / machine learning
Updated 6 years ago Apache-2.0 GitHub repository of Roffild Library
101 stars

This collection for MetaTrader 5 provides a library and several expert advisors optimized for Renko chart trading. It includes a primary automated robot that executes trades based on Renko bar signals, as well as specific examples for moving average and price crossovers. The included tools offer robust trade management

MT5 Collection Trend followingIndicator crossoverBreakout
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

My Trading Bot

by carlosrod723
78 stars

This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts. It identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning fil

MT5 Trading robot SMC / ICT / price actionAI / machine learningMulti-strategy
Updated 10 months ago MIT GitHub repository of My Trading Bot

Hitback ZMQ Bridge

by EricSchles
59 stars

This expert advisor functions as a data bridge for streaming real-time market information from MetaTrader 4 and 5 to external applications. It utilizes the ZeroMQ library to transmit price ticks and order book updates to a remote server. The tool is intended for developers building quantitative trading platforms or dat

MT4MT5 Copier & bridge
Updated 6 years ago Apache-2.0 GitHub repository of Hitback ZMQ Bridge

NetAlgo EA Collection

by santiago-cruzlopez
56 stars

This repository contains a diverse collection of automated trading robots for the MetaTrader 5 platform. The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts inclu

MT5 Collection Trend followingScalpingMartingale High risk

News Trader

by EarnForex
55 stars

News Trader is a semi-automatic expert advisor for MetaTrader 4 and MetaTrader 5 designed to execute trades around high-volatility economic announcements. Users manually input the scheduled news release time, and the robot opens positions a specified number of seconds before the event. It supports single-direction trad

MT4MT5 News trading NewsHedging
Updated 1 year ago Apache-2.0 GitHub repository of News Trader

FxChartAI OpenEA

by abiodunaremu
49 stars

FxChartAI OpenEA is an automated trading solution for MetaTrader 5 that executes trades based on signals retrieved from the FxChartAI platform. The system operates in two modes, allowing for live API integration or historical testing using CSV datasets. It utilizes multi-timeframe analysis across M10 and H1 intervals,

MT5 Trading robot AI / machine learningTrend following
Updated 1 year ago GPL-3.0 GitHub repository of FxChartAI OpenEA

Telegram Trading Bot

by fabioo29
41 stars

This MetaTrader 5 expert advisor functions as a remote management bridge, enabling users to execute and oversee trades through Telegram messages. It supports market and limit orders with user-defined stop losses and handles trade modifications such as closing positions or adjusting stop levels remotely. The tool featur

MT5 Copier & bridge

JB News Bot

by jblanked
31 stars

JB News Bot is an automated trading expert advisor for MetaTrader 4 and MetaTrader 5 that executes positions based on scheduled economic data releases. It interfaces with the JBlanked News API to fetch calendar events from sources including MQL5, Forex Factory, and FXStreet. The EA allows users to configure specific en

MT4MT5 News trading News
Updated 3 months ago MIT GitHub repository of JB News Bot

Spike Trader

by EarnForex
29 stars

Spike Trader is a price action robot for MetaTrader 4 and 5 that identifies price spikes to trade market reversals. It monitors candle highs or lows relative to preceding bars and requires a specific percentage price jump and candle close position to trigger an entry. The EA enters trades in the opposite direction of t

MT4MT5 Trading robot Mean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Spike Trader

Box Breakout EA

by je-zhou
27 stars

This MetaTrader 5 expert advisor implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R

MT4MT5 Trading robot BreakoutTrend following

Telegram Signal Trader

by nguemechieu
25 stars

This expert advisor bridges MetaTrader 4 and MetaTrader 5 with Telegram to facilitate signal-based trading and remote account management. It can execute trades from external signals or generate its own alerts using built-in indicators such as Ichimoku, Bollinger Bands, and Momentum. The software includes the ability to

MT4MT5 Copier & bridge NewsMulti-strategy
Updated 2 years ago Apache-2.0 GitHub repository of Telegram Signal Trader

This MetaTrader 5 collection features two primary components: a manual risk management panel and an automated confluence robot. The TyAlgo advisor executes trades using the No Nonsense Forex method, aggregating signals from various technical indicators via global variables. Risk is managed through the TyphooN tool, whi

MT5 Collection Trend followingMulti-strategyMartingale High risk

Super Trading Collection

by RoyluxuryTrading
24 stars

This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management

MT4MT5 Collection Trend followingScalpingAI / machine learning High risk

Amazing

by EarnForex
24 stars

Amazing is a news trading expert advisor for MetaTrader 4 and 5 designed to capture volatility during scheduled economic announcements. It operates as a semi-automatic tool, requiring the user to manually input the specific date and time of an upcoming news event. The EA places two symmetrical pending orders at a defin

MT4MT5 News trading News
Updated 3 years ago Apache-2.0 GitHub repository of Amazing

CRT Turtle Soup EA

by n30dyn4m1c
21 stars

This MetaTrader 5 expert advisor scans over 60 financial instruments to identify Turtle Soup reversal setups based on Candle Range Theory. It monitors price action for specific three-candle patterns involving a range, a false breakout with a long wick, and a subsequent reversal. The EA operates as an alert-only utility

MT5 Utility Mean reversionSMC / ICT / price action

Basic Bollinger Bands EA

by terencebeauj
21 stars

This MetaTrader 5 expert advisor utilizes the Bollinger Bands and Parabolic SAR indicators to execute trades based on market volatility. It functions as an entry-level algorithmic trading template, allowing users to modify strategy logic or optimize parameters using the MT5 Strategy Tester. The bot manages risk through

MT5 Trading robot Mean reversionTrend following

Binario

by EarnForex
20 stars

Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista

MT4MT5 Trading robot BreakoutTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Binario

Heiken Ashi Naive

by EarnForex
17 stars

Heiken Ashi Naive is a trading robot for MetaTrader 4 and 5 that executes trades based on Heiken Ashi candle characteristics, including body length and wick presence. It evaluates candle sequences to enter positions and can be configured to either follow the trend or operate in an inverted mode for mean-reversion. Risk

MT4MT5 Trading robot Trend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Heiken Ashi Naive
17 stars

This MetaTrader 5 expert advisor identifies price accumulation zones to execute breakout trades based on consolidation ranges. The robot calculates a box area using a specified number of candles and enters positions when price moves outside these boundaries. It includes comprehensive trade management features such as f

MT5 Trading robot Breakout

PSAR Trailing Stop

by EarnForex
16 stars

PSAR Trailing Stop is a management utility for MetaTrader 4 and 5 that automates the adjustment of stop-loss levels for open positions. Instead of manual movement, it follows the Parabolic SAR indicator values to lock in profits or minimize losses as a trend progresses. The software includes filtering options to target

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

Adjustable MA

by EarnForex
15 stars

This MetaTrader expert advisor implements a classic moving average crossover strategy for both MT4 and MT5. It enters trades when a fast moving average crosses a slow moving average, requiring a user-defined minimum point difference to confirm the signal. The robot includes risk management features such as stop loss, t

MT4MT5 Trading robot Indicator crossover
Updated 5 months ago Apache-2.0 GitHub repository of Adjustable MA

Phase 404 EA

by Musyimi97
14 stars

Phase 404 EA is a MetaTrader 5 robot that automates a mechanical Smart Money Concepts strategy including Wyckoff logic and liquidity sweeps. It identifies market structure shifts and enters trades during London or New York kill zones using Fibonacci Optimal Trade Entry levels. The expert advisor manages risk through pe

MT5 Trading robot SMC / ICT / price action
Updated 5 months ago MIT GitHub repository of Phase 404 EA

MultiTrader

by mazmazz
14 stars

MultiTrader is a multi-currency expert advisor for MetaTrader 4 and MetaTrader 5 that executes trades across multiple forex instruments concurrently. It uses a modular system of filters to generate entry and exit signals based on various technical indicators. The EA manages risk through fixed or trailing stop losses, b

MT4MT5 Trading robot GridMulti-strategy High risk
Updated 5 years ago GPL-3.0 GitHub repository of MultiTrader

JBlanked MQL Library

by jblanked
12 stars

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies for forex markets. A core component is the Gareth Range Breakout, which defines specific time-based price zones and executes trades when price breaks those boundaries. It includes risk controls such as stop loss and take pro

MT4MT5 Collection BreakoutMulti-strategyGrid High risk

MonsterFX Reliable Trader

by NadirAliOfficial
12 stars

This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l

MT5 Trading robot Indicator crossoverTrend followingMean reversion

Persistent Anti

by EarnForex
12 stars

Persistent Anti is a technical expert advisor for MetaTrader 4 and 5 that attempts to exploit the statistical persistence or anti-persistence of price trends. It analyzes a user-defined number of historical candles to determine if the market is currently repeating or reversing its previous directional movements. The ro

MT4MT5 Trading robot Mean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Persistent Anti
11 stars

This MetaTrader 5 expert advisor utilizes deep learning models, specifically Long Short-Term Memory or Transformer architectures, to predict price movements several bars ahead. It operates by communicating via HTTP with a local Python daemon that processes machine learning inference. The system includes an advanced Kel

MT5 Trading robot AI / machine learningScalping
Updated 1 year ago GPL-3.0 GitHub repository of ALFA Transformer AI

MyRandom

by EarnForex
10 stars

MyRandom is a proof-of-concept expert advisor for MetaTrader 4 and 5 that executes trades in random directions. Developed for educational purposes and backtesting research, the robot enters a position after a user-defined number of bars have passed. It includes standard risk management controls such as fixed lot sizing

MT4MT5 Trading robot
Updated 1 year ago Apache-2.0 GitHub repository of MyRandom

AlgoMaster NNFX

by alexcercos
10 stars

AlgoMaster NNFX is an algorithm development and testing system for MetaTrader 4 and 5, built specifically to implement the No Nonsense Forex (NNFX) trading methodology. It enables users to test trading logic across 28 major forex pairs while managing complex factors like currency exposure, news events, and market volat

MT4MT5 Trading robot Trend followingMulti-strategy
Updated 2 years ago BSD-3-Clause GitHub repository of AlgoMaster NNFX

DaxAlgo Trading Strategies

by dhruuvsharma
9 stars

This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l

MT5 Collection ScalpingMean reversionTrend following

SmartMoney MTF EA

by SiyabongaDlamini
9 stars

This automated expert advisor for MetaTrader 5 implements institutional Smart Money Concepts using a multi-timeframe approach. It synchronizes analysis across three timeframes to identify trend direction, premium or discount zones, and market structure shifts. The robot executes trades based on liquidity sweeps and Fib

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 4 months ago Apache-2.0 GitHub repository of SmartMoney MTF EA

MA Cross Scale In

by OrchardForexTutorials
9 stars

This educational expert advisor for MetaTrader 4 and 5 demonstrates a logic for scaling into winning positions. It utilizes a simple moving average crossover strategy for initial trade entries. The primary feature is a function that detects when a current position has reached a specific profit target to trigger additio

MT4MT5 Trading robot Indicator crossover
Updated 4 years ago GPL-3.0 GitHub repository of MA Cross Scale In
8 stars

High Frequency Grid EA is an automated trading robot for MetaTrader 5 that implements a mean-reversion strategy through a grid of pending orders. It places buy and sell stop orders at calculated distances, using dynamic spread monitoring to ensure execution only during favorable conditions. The EA includes a trailing s

MT5 Trading robot GridMean reversionScalping High risk

News Stopper MT5

by faraz-hk
7 stars

This news management utility for MetaTrader 5 protects accounts during high-impact economic events by monitoring the ForexFactory calendar. It automatically disables algorithmic trading and manages open positions according to pre-defined schedules before and after news releases. The tool can close active trades, delete

MT5 News trading
Updated 2 years ago GPL-3.0 GitHub repository of News Stopper MT5

Breakout Set and Forget

by OrchardForexTutorials
7 stars

This Expert Advisor for MetaTrader 5 implements a breakout strategy centered on a user-defined time range. It calculates the high and low prices within a specific session to place multiple pending orders at a set distance from the range boundaries. The system utilizes three separate take-profit targets for each directi

MT5 Trading robot Breakout
7 stars

This MetaTrader 5 expert advisor executes a mean reversion strategy based on price deviation from a Simple Moving Average. It enters short positions when prices rise above the average and long positions when prices fall below. The algorithm utilizes an aggressive grid-based recovery system where both the entry distance

MT5 Trading robot Mean reversionMartingaleGrid High risk

Enamel

by DocProvolone
6 stars

Enamel is a trend-pullback expert advisor for MetaTrader 5 specifically configured for USD currency pairs. The robot identifies entries using a combination of exponential moving averages, RSI, MACD, and ADX indicators, requiring confirmation from candle body size relative to volatility. It includes a higher timeframe t

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 12 months ago Apache-2.0 GitHub repository of Enamel
6 stars

This repository provides a collection of MetaTrader 5 expert advisors based on Smart Money Concepts and ICT methodologies. The tools implement price action strategies including Fair Value Gaps, Market Structure Shifts, and the Next Day Model. Each EA handles trade execution with automated risk-based lot sizing and conf

MT5 Collection SMC / ICT / price actionScalpingTrend following
6 stars

This MetaTrader 5 expert advisor provides a basic implementation of the Martingale strategy for forex markets. It initiates trades using a base lot size and applies a multiplier after losses to recoup previous deficits, utilizing fixed stop loss and take profit levels for exit management. The logic is extremely minimal

MT5 Trading robot Martingale High risk

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