Synced with GitHub · updated hourly

Expert Advisor Library

1,978 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

45 EAs match Clear filters
643 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
234 stars

This is a modular MetaTrader 5 expert advisor framework designed to accelerate the development of custom trading strategies. It provides a standardized base that includes position management, risk controls, and multi-symbol support. The template features configurable entry and exit logic, integrated stop loss and take

MT5 Framework & template Martingale High risk

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

NetAlgo EA Collection

by santiago-cruzlopez
55 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
46 stars

This repository features a collection of MetaTrader 5 trading utilities and management tools. The central component is the ASQ Command Desk, a manual trading dashboard that offers one-click execution and hotkey support. It manages positions using a three-stage partial take-profit logic and provides various trailing sto

MT5 Collection ScalpingMartingale High risk

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

Mql5 Json Api

by parrondo
18 stars

This expert advisor acts as a server bridge for MetaTrader 5, facilitating communication with external applications via ZeroMQ sockets and JSON messaging. It enables remote control from languages like Python to request account details, trade history, and current positions. The system supports the execution of market an

MT5 Copier & bridge Martingale High risk
Updated 6 years ago GPL-3.0 GitHub repository of Mql5 Json Api

RSI Martingale EA

by peefpee
10 stars

This Expert Advisor for MetaTrader 5 implements a martingale trading strategy triggered by the Relative Strength Index (RSI). It opens an initial position when RSI reaches overbought or oversold thresholds. If price continues to move against the initial trade, the EA layers additional orders at set point intervals, mul

MT5 Trading robot MartingaleMean reversionGrid High risk
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

MQTT MQL5 Library

by gmag11
6 stars

This library and example Expert Advisor provide an MQTT client interface for MetaTrader 5. It enables the platform to communicate with external MQTT brokers using version 3.1 or 3.1.1 protocols. The system supports both encrypted TLS and standard TCP/IP connections. Users can publish messages to specific topics and sub

MT5 Copier & bridge Martingale High risk
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

Currency Strength EA

by drdz9876
6 stars

This MetaTrader 5 expert advisor utilizes a multicurrency strength system to identify trading opportunities by comparing relative currency values. It calculates strength based on a configurable lookback period, typically using H4 data, and includes triangular weighting and smoothing options. The robot manages exits usi

MT5 Trading robot MartingaleMulti-strategyGrid High risk
Updated 4 years ago GPL-3.0 GitHub repository of Currency Strength EA
4 stars

This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo

MT5 Trading robot ScalpingMartingaleGrid High risk
4 stars

This machine learning robot for MetaTrader 5 uses an ensemble of AI models including LSTM, GRU, and LightGBM to predict price movements. It executes trades based on signal confidence and predicted price targets. The EA features multiple risk controls such as volatility filters, trend-based MA filters, RSI checks, and a

MT5 Trading robot AI / machine learningTrend followingMartingale High risk
Updated 4 months ago GPL-3.0 GitHub repository of GGTH Forex Predictor

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot

Zerith EA Collection

by BlamzKunG
3 stars

This MetaTrader 5 repository provides a suite of algorithmic trading tools known as the Zerith series. The featured SwingGrid EA utilizes ADX trend filters and ATR-based volatility thresholds to execute trades, employing a recovery grid system with dynamic lot multipliers. Other tools in the set cover news straddle bre

MT5 Collection GridMartingaleSMC / ICT / price action High risk

KolaTradebot SMC

by Sidoine1991
3 stars

KolaTradebot is a MetaTrader 5 expert advisor that executes a multi-asset strategy using Smart Money Concepts and a Global Order Model. It bridges the platform with a Python-based server to analyze market structures like order blocks, fair value gaps, and liquidity sweeps across multiple timeframes. The system includes

MT5 Collection SMC / ICT / price actionAI / machine learningBreakout High risk

Fxcodebase Archive

by gehtsoft-usa
3 stars

This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5. The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale

MT4MT5 Collection Multi-strategyMartingaleHedging High risk
Updated 2 months ago GPL-3.0 GitHub repository of Fxcodebase Archive

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk
3 stars

This MetaTrader 5 expert advisor is an educational project implementing a martingale trading strategy. It uses Bollinger Bands to trigger entries and employs a grid-based approach to manage trades by layering additional positions at fixed intervals. The system features lot size multiplication after each layer to recove

MT5 Collection MartingaleGridMean reversion High risk

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader

CBMQL MQL5 Framework

by HarryWarre
2 stars

CBMQL is a development framework and build tool for MetaTrader 5 designed to modularize Expert Advisor code. Inspired by modern web development bundlers, it allows developers to break complex trading systems into reusable modules and bundle them into a single portable file. The system includes a Node.js-based environme

MT5 Framework & template Trend followingGridMartingale High risk

Oslib MT5 Collection

by marcoc68
2 stars

Oslib is an extensive repository of Expert Advisors and indicators for MetaTrader 5, encompassing various quantitative trading approaches. The collection includes statistical arbitrage robots that trade spreads between two correlated symbols, machine learning experts utilizing Support Vector Machines (SVM), and high-fr

MT5 Collection ArbitrageAI / machine learningMean reversion High risk
Updated 11 months ago GPL-3.0 GitHub repository of Oslib MT5 Collection
2 stars

This repository provides a diverse collection of MetaTrader 5 expert advisors focusing on technical indicators and Smart Money Concepts. The primary expert advisor, Behemoth Max, utilizes a combination of MACD, weighted moving averages, and exponential moving averages across multiple timeframes to identify entries. Ris

MT5 Collection SMC / ICT / price actionIndicator crossoverTrend following High risk
2 stars

This repository contains a collection of MetaTrader 5 expert advisor files designed for educational and tutorial purposes. It includes various scripts covering fundamental MQL5 programming concepts such as array manipulation, mathematical functions, and position management. Specific examples demonstrate basic entry log

MT5 Collection Indicator crossoverTrend followingMartingale High risk
2 stars

This expert advisor for MetaTrader 4 and 5 implements a hedging recovery strategy to handle losing positions. When an initial trade moves against the user, the robot enters a recovery zone, placing counter-orders with scaled lot sizes to achieve a collective exit at a profit or break-even point. The EA includes risk co

MT4MT5 Trading robot HedgingMartingale High risk
Updated 3 years ago GPL-3.0 GitHub repository of Forex Recovery Zone

MadRabbit Universal

by Cerqlau
2 stars

MadRabbit Universal is a collection of MetaTrader 5 expert advisors and trading tools focused on multi-indicator strategies. The flagship Universal Turbo robot allows users to combine signals from moving average crossovers, MACD, VWAP, ATR, and RSI. It is primarily designed for netting accounts trading indices and stoc

MT5 Collection Indicator crossoverTrend followingMean reversion High risk
2 stars

This MetaTrader 5 framework provides a modular library for technical analysis, including candle pattern detection, support and resistance levels, and Fibonacci calculations. The repository includes an expert advisor that implements ZigZag-based wave analysis to identify market structure and chart patterns. It features

MT5 Framework & template SMC / ICT / price actionTrend followingMartingale High risk
1 stars

This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli

MT5 Trading robot Mean reversionGridMartingale High risk
1 stars

This repository features a collection of MetaTrader 5 Expert Advisors developed for strategy and risk-management research. It includes a multi-pair mean reversion grid system, a gold breakout robot using previous day levels, and trend-following strategies based on moving averages. The EAs incorporate extensive risk con

MT5 Collection Trend followingBreakoutMean reversion High risk

MoneyMaker EA Collection

by akshayboora342-cell
1 stars

This MetaTrader 5 collection features the Prime Quantum AI expert advisor alongside a Python-based FastAPI dashboard for strategy management. The primary robot utilizes a hybrid logic, combining traditional indicators like ADX and the Bill Williams Alligator with external artificial intelligence models for market analy

MT5 Collection AI / machine learningTrend followingGrid High risk
Updated 3 months ago Apache-2.0 GitHub repository of MoneyMaker EA Collection

MADR Brothers

by mitsuaki-41
1 stars

MADR Brothers is a MetaTrader 5 expert advisor that utilizes multi-timeframe Moving Average Deviation Rates to identify trading opportunities. It filters market trends using a long-period MADR on higher timeframes while entering trades based on overbought or oversold levels of a shorter-period MADR. The system includes

MT5 Trading robot Trend followingMean reversionGrid High risk
Updated 3 months ago MIT GitHub repository of MADR Brothers

Bakome Hash EA

by Bakomebandias
1 stars

Bakome Hash EA is a trend-following expert advisor for MetaTrader 5 that combines Exponential Moving Average crossovers with RSI momentum filtering. It initiates trades based on the interaction between fast and slow EMAs while confirming momentum through RSI levels. The robot utilizes Average True Range for calculated

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 4 months ago MIT GitHub repository of Bakome Hash EA

Bakome Bitcoin EA

by BAKOME-Hub
1 stars

Bakome Bitcoin EA is a trend-following robot optimized for trading BTCUSD on the MetaTrader 5 platform. It generates trade signals using an exponential moving average crossover combined with price breakouts on the H1 timeframe. The system features a grid recovery module that adds positions with a lot multiplier when tr

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 4 months ago MIT GitHub repository of Bakome Bitcoin EA

Bakome Trinity EA

by BAKOME-Hub
1 stars

This multi-asset MetaTrader 5 expert advisor is designed for gold, forex, and cryptocurrency markets, specifically XAUUSD, GBPUSD, and BTCUSD. It focuses on a single-position approach, explicitly avoiding grid or martingale techniques. Trade entries are managed through session filters for London and New York and are pr

MT5 Trading robot Trend followingMean reversionMartingale High risk
Updated 4 months ago MIT GitHub repository of Bakome Trinity EA

UltraHFT Expert Advisor

by NipunDilshanSenevirathne
1 stars

UltraHFT Expert Advisor is a high-frequency scalping robot for MetaTrader 5 that combines five strategy layers including EMA crossovers, RSI mean reversion, and volatility breakouts. It evaluates market conditions on every tick, entering trades when multiple signals align. The system employs strict risk controls with h

MT5 Trading robot ScalpingMean reversionTrend following High risk

This repository provides a collection of MetaTrader 5 Expert Advisors, featuring the Milyoner AI Project and Titanium Omega series. The primary EA uses an AI-weighted scoring engine to combine technical indicators like adaptive moving averages with price action analysis, including candle patterns and Smart Money Concep

MT5 Collection ScalpingSMC / ICT / price actionGrid High risk
1 stars

This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage

MT5 Trading robot AI / machine learningMulti-strategyScalping High risk

Expanding Grid EA

by OrchardForexTutorials
1 stars

This MetaTrader 5 robot implements a grid trading strategy featuring dynamic order spacing. Unlike traditional fixed grids, this expert advisor increases the distance between subsequent levels using an expansion factor. It employs martingale lot scaling where volumes grow exponentially based on the number of open posit

MT5 Trading robot GridMartingaleHedging High risk
Updated 11 months ago GPL-3.0 GitHub repository of Expanding Grid EA

M Grid

by OrchardForexTutorials
1 stars

This Expert Advisor for MetaTrader 5 implements a bi-directional grid strategy combined with martingale lot scaling. The robot monitors buy and sell legs independently, opening new orders at fixed pip intervals when the price moves against existing positions. It utilizes an exponential growth factor to increase trade v

MT5 Trading robot GridMartingaleHedging High risk
Updated 11 months ago GPL-3.0 GitHub repository of M Grid

Zone Entry

by junmt
1 stars

Zone Entry is a MetaTrader 5 expert advisor that automates the placement of multiple limit orders within a calculated price zone, a technique described as chumming. It utilizes the Average True Range on the H1 timeframe to determine the spacing and breadth of entries based on manual price inputs. The EA manages open po

MT5 Trading robot GridMean reversionMartingale High risk
Updated 2 years ago MIT GitHub repository of Zone Entry

Multipair EA Template

by drdz9876
1 stars

This MetaTrader 5 expert advisor serves as a template for multi-pair trading systems using a dual Moving Average crossover strategy. It is designed to execute trades across multiple symbols from a single chart based on a user-defined list of currency pairs. The EA includes risk management tools such as a trailing stop,

MT5 Framework & template Indicator crossoverMartingaleMulti-strategy High risk
Updated 2 years ago GPL-3.0 GitHub repository of Multipair EA Template

Dollar Killer Martingale

by DollarKillerMQL
1 stars

Dollar Killer Martingale is an automated trading robot for MetaTrader 5 that utilizes Bollinger Bands to identify market entry points. The EA initiates trades based on price interaction with band boundaries and manages drawdowns through a lot-multiplication recovery system. It features a grid-based approach where addit

MT5 Trading robot MartingaleGridMean reversion High risk

MEAS

by elijunior01
1 stars

MEAS is a scalping robot for MetaTrader 5 that implements a martingale strategy for financial markets. The expert advisor captures small price movements while managing positions through adjustable stop loss and take profit levels. It provides options for either fixed lot sizes or incremental lot increases based on acco

MT5 Trading robot ScalpingMartingaleTrend following High risk
Updated 11 years ago GPL-2.0 GitHub repository of MEAS

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