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.

743 EAs match Clear filters

Banik MQL4 EA Collection

by Chiradeep-Banik
3 stars

This MetaTrader 4 repository features a collection of expert advisors, including a dual moving average retracement strategy and a Morning Star candlestick pattern robot. The primary moving average EA identifies trends using fast and slow Simple Moving Averages, entering trades when price retraces to the short-term aver

MT4 Collection Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Banik MQL4 EA Collection

News Trading EA

by Badzoneyv4n
3 stars

News Trading EA is a volatility-capture robot for MetaTrader 4 and MetaTrader 5 designed to trade high-impact economic events. The EA places simultaneous buy stop and sell stop orders at a specific user-defined time before news releases. Once one order triggers, the robot is designed to close the opposite pending order

MT4MT5 Trading robot News
Updated 3 years ago None stated GitHub repository of News Trading EA

RSI MA Cross Custom

by OrchardForexTutorials
3 stars

This Expert Advisor for MetaTrader 4 executes trades based on the confluence of Relative Strength Index levels and Moving Average crossovers. It enters long positions when the RSI is oversold and a fast exponential moving average crosses above a slow one, and short positions when the RSI is overbought during a downward

MT4 Trading robot Indicator crossoverMean reversion
Updated 3 years ago GPL-3.0 GitHub repository of RSI MA Cross Custom

This collection for MetaTrader 4 features several expert advisors, primarily centered on the Candlestick Breakout Scalper. The lead tool monitors price action relative to previous candle highs and lows to identify breakout opportunities. It incorporates stochastic filters to confirm entries and supports specific tradin

MT4 Collection BreakoutScalpingMartingale High risk

EJTrader Order Flow

by ejtraderLabs
3 stars

EJTrader Order Flow is a technical utility for MetaTrader 4 that implements Level 2 market depth and tape reading tools. It utilizes the Bitcoin Nano API to stream order flow data directly onto the chart using various visual layouts like BookMap and volume aggression indicators. The EA manages manual trade execution wi

MT4 Utility SMC / ICT / price action
Updated 3 years ago None stated GitHub repository of EJTrader Order Flow

Pouriakouhzadeh MQL4 Collection

by pouriakouhzadeh
3 stars

This repository contains a collection of over 70 Expert Advisors developed for the MetaTrader 4 platform. The primary file, NNA_Expert, utilizes DLL imports and shell execution to exchange data via CSV files, suggesting integration with external prediction engines or neural networks. Other included experts focus on Fib

MT4 Collection Multi-strategyIndicator crossover
3 stars

This repository for MetaTrader 4 contains a series of expert advisors based on the Bystruev algorithm. The core logic focuses on price velocity and spread monitoring to place pending stop or limit orders. Trade management includes a global stop loss and a trailing profit mechanism that activates once a specific percent

MT4 Collection Trend followingBreakoutMartingale High risk
Updated 3 years ago None stated GitHub repository of Bystruev Trading Collection

PipFinite Breakout EA

by martycode49
3 stars

This automated expert advisor for MetaTrader 4 utilizes the PipFinite suite of indicators to identify market entries. It integrates the PipFinite Breakout Analyzer and Strength Meter to execute long and short positions when specific threshold levels and entry percentages are met. The EA manages risk through user-define

MT4 Trading robot BreakoutTrend following
Updated 4 years ago None stated GitHub repository of PipFinite Breakout EA

HolyLamp

by dollarkillerx
3 stars

HolyLamp is a MetaTrader 4 automated trading system that utilizes mean-reversion signals across several technical indicators, including Bollinger Bands, RSI, Stochastics, and the Commodity Channel Index. It is primarily configured for EURUSD on the five-minute timeframe. The robot enters trades at indicator extremes an

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 4 years ago MIT GitHub repository of HolyLamp

Slime Mold RSI

by Kei-Sanada
3 stars

Slime Mold RSI is an experimental MetaTrader 4 expert advisor that implements a single-layer perceptron model to determine trade entries. The robot calculates a weighted signal value by processing Relative Strength Index data across multiple timeframes, specifically the fifteen-minute, thirty-minute, and one-hour chart

MT4 Trading robot AI / machine learning
Updated 4 years ago None stated GitHub repository of Slime Mold RSI
3 stars

This MetaTrader 4 expert advisor implements a classic moving average crossover strategy designed for scalping forex pairs and metals. It monitors two exponential moving averages, defaulting to 8 and 21 periods, to identify momentum shifts. When a crossover is detected, the robot places pending stop orders with a specif

MT4 Trading robot Indicator crossoverScalping
Updated 5 years ago None stated GitHub repository of Simple EMA Cross Scalper

Reji Breakout

by ziyouzy
3 stars

This MetaTrader 4 expert advisor implements a scheduled breakout strategy. It functions by placing Buy Stop and Sell Stop orders at a specified distance from the current market price once a pre-set local computer time is reached. The system includes risk management controls such as fixed stop loss, take profit, and a t

MT4 Trading robot Breakout
Updated 5 years ago None stated GitHub repository of Reji Breakout

NNFX EA

by dnshouse
3 stars

This MetaTrader 4 expert advisor implements the No Nonsense Forex methodology using a clean, object-oriented programming architecture. The robot manages trade entries and exits based on a modular indicator stack, allowing users to easily swap or add technical indicators via wrapper classes. It is specifically designed

MT4 Trading robot Trend following
Updated 5 years ago MIT GitHub repository of NNFX EA
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including robots based on RSI, Bollinger Bands, and moving averages. The primary featured expert advisor implements a dual-symbol statistical arbitrage strategy using indicators such as ZigZag and Moving Averages to identify entries. It employs a ma

MT4 Collection ArbitrageMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Clunique Experts Collection
3 stars

This MetaTrader 4 expert advisor implements a mean-reversion strategy using Bollinger Bands and the Relative Strength Index (RSI). Intended as an educational starting point for programmers, it enters trades when the price crosses specific standard deviation bands while RSI confirms overbought or oversold conditions. Th

MT4 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of Bollinger Band Strategy 1

This repository offers a collection of MetaTrader 4 expert advisors focused on technical indicator triggers and price action. The suite includes tools for trading moving average crossovers, ADX momentum, and Stochastic oscillators. A dedicated EA identifies specific candlestick patterns such as Three White Soldiers and

MT4 Collection Indicator crossoverTrend followingMean reversion

Averaging Master

by terukusu
3 stars

Averaging Master is a MetaTrader 4 expert advisor that employs a directional averaging strategy. It identifies trend direction using a 6-period moving average on the H4 timeframe and enters trades during specific morning hours. The system manages risk by layering up to four additional positions if the price moves again

MT4 Trading robot Trend followingGrid High risk
Updated 6 years ago None stated GitHub repository of Averaging Master

Email To Order

by mikha-dev
3 stars

This MetaTrader 4 expert advisor functions as a bridge between a POP3 email inbox and the trading terminal. It monitors a specified email account for incoming messages containing trade signals and automatically executes orders on the platform. The tool supports secure SSL connections and allows users to configure fixed

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Email To Order
3 stars

This repository contains an extensive collection of over 250 expert advisors and utility scripts for MetaTrader 4. The library features various automated robots, manual trade panels, and risk management tools. It includes specialized folders for hedging strategies, pending order assistants, and multi-indicator monitors

MT4 Collection HedgingMartingaleMulti-strategy High risk

Ichimoku Kumo Breakout

by reuniware
3 stars

This MetaTrader 4 expert advisor implements a breakout strategy based on the Ichimoku Kinko Hyo indicator. It scans all financial instruments visible in the Market Watch window to identify price movements relative to the Ichimoku cloud. The robot enters buy positions when a 15-minute candle opens below the Kumo top and

MT4 Trading robot BreakoutTrend following
Updated 7 years ago None stated GitHub repository of Ichimoku Kumo Breakout

Nafi Deep RL

by neoricalex
3 stars

Nafi is a MetaTrader 5 expert advisor framework designed for deep reinforcement learning in forex trading. It bridges Python-based training environments, such as OpenAI Gym and PyTorch, with MetaTrader to facilitate automated trade execution. The system features standard risk management controls including fixed lot siz

MT5 Trading robot AI / machine learningTrend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Nafi Deep RL

MQ4 Master Collection

by hairibaba
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,

MT4 Collection Trend followingScalpingIndicator crossover High risk Archived
Updated 7 years ago None stated GitHub repository of MQ4 Master Collection

Xeque Mate Open Source

by petrusbastos
3 stars

Xeque Mate Open Source is a counter-trend expert advisor for MetaTrader 5 based on the theories of Flavio Schotgues. It executes trades by placing limit orders at a user-defined point distance from a moving average. The system manages risk through fixed stop loss and take profit levels, while limiting exposure to a sin

MT5 Trading robot Mean reversion
Updated 7 years ago None stated GitHub repository of Xeque Mate Open Source

Tre Boll Trend

by linbirg
3 stars

Tre Boll Trend is a MetaTrader 4 Expert Advisor designed to identify and trade market trends using multi-timeframe Bollinger Band analysis. The system processes data from timeframes ranging from five minutes to one day, calculating advanced metrics such as price velocity, acceleration, and standard deviation. It monito

MT4 Trading robot Trend followingIndicator crossoverMean reversion
Updated 7 years ago None stated GitHub repository of Tre Boll Trend

Ichimoku Forex

by alifarahm
3 stars

This MetaTrader 4 expert advisor automates trading using the Ichimoku Kinko Hyo indicator alongside Simple Moving Average crossovers. It monitors Tenkan, Kijun, and Senkou spans to identify market trends while applying a Kumo cloud size threshold to filter out low-volatility entries. For risk control, the system provid

MT4 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Ichimoku Forex

This repository provides a collection of MetaTrader 4 expert advisors developed for algorithmic trading research. The library includes multiple distinct robots such as the Turtle strategy, Keltner channel candlestick patterns, and volatility-based breakouts. Each EA implements various risk controls including ATR-based

MT4 Collection Trend followingBreakoutMean reversion High risk Archived

Quotes Hub

by CloudFree9
3 stars

Quotes Hub is a MetaTrader 5 data bridge designed to receive and broadcast market data to external applications. It specifically handles data feeds, including references to Interactive Brokers, and redistributes them using socket connections. The utility functions as a server, allowing other software to subscribe to li

MT5 Copier & bridge
Updated 8 years ago Apache-2.0 GitHub repository of Quotes Hub

EJ Trader MT5 Collection

by ejtraderPlugins
3 stars

This repository is a diverse collection of MetaTrader 5 Expert Advisors, featuring nearly 100 different scripts sourced from various origins. The library includes automated robots based on standard indicators like Bollinger Bands, MACD, Stochastics, and moving average crossovers, as well as channel trading systems and

MT5 Collection Indicator crossoverMean reversionBreakout High risk
Updated 8 years ago None stated GitHub repository of EJ Trader MT5 Collection

Demo Bot

by johnnydeez-zz
3 stars

This MetaTrader 4 expert advisor implements a trend-following strategy using two Simple Moving Averages. It is specifically pre-configured for the CHFJPY currency pair on the 30-minute timeframe. The robot identifies entries when a fast 145-period SMA and a slow 250-period SMA align, placing pending orders rather than

MT4 Trading robot Trend followingIndicator crossover
Updated 8 years ago None stated GitHub repository of Demo Bot

Open Expert Advisor

by saadmahboob
3 stars

Open Expert Advisor is a mean-reversion trading robot for MetaTrader 4, primarily designed for Swiss Franc pairs such as EURCHF. It executes trades based on overbought and oversold price levels, specifically during the transition at the end of the New York trading session. The system manages risk through adjustable lot

MT4 Trading robot Mean reversion
Updated 9 years ago None stated GitHub repository of Open Expert Advisor

Xingtai MQ4 Collection

by huoliang2012
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including implementations based on Moving Averages and MACD indicators. The primary EA uses a moving average crossover strategy to identify entry points and manage positions. It features a lot-sizing module that adjusts volume based on available mar

MT4 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of Xingtai MQ4 Collection

XLiquidex

by m-root
3 stars

XLiquidex is an impulsive volatility breakout robot for MetaTrader 4. It identifies entry signals using Keltner Channel breakouts, Moving Average filters, and a candle body range requirement to verify momentum. The expert advisor includes trade management features such as take profit, stop loss, break-even offsets, and

MT4 Trading robot BreakoutTrend following
Updated 10 years ago Apache-2.0 GitHub repository of XLiquidex

GsignalX Velocity

by gocitygroup
2 stars

GsignalX Velocity is a comprehensive trend-following toolkit for MetaTrader 5, designed for prop traders and fund managers. It utilizes a multi-engine approach for trade entries, combining PP SuperTrend, ATR SuperTrend, and SuperBollingerTrend signals. The system filters entries using moving averages and Bollinger Band

MT5 Collection Trend followingMulti-strategy
Updated yesterday Custom licence GitHub repository of GsignalX Velocity

MA Cross Risk EA

by alexistdev
2 stars

This MetaTrader 5 expert advisor executes a trend-following strategy based on moving average crossovers. It monitors fast and slow exponential moving averages on closed bars to trigger buy or sell orders, with an optional RSI filter to confirm momentum. The robot includes automated risk management features such as dyna

MT5 Trading robot Indicator crossoverTrend following
Updated 2 days ago None stated GitHub repository of MA Cross Risk EA
2 stars

This collection for MetaTrader 5 provides several automated Expert Advisors designed for various symbols including forex, gold, and indices. The repository features Mecha Godzilla, a grid trading system using ATR-based spacing and bidirectional orders, alongside specialized bots for Asian session breakouts and H4 trend

MT5 Collection GridBreakoutTrend following High risk
2 stars

This repository contains a collection of MetaTrader 5 expert advisors focused on advanced quantitative and machine learning techniques. The featured EA utilizes a technical summary approach inspired by TradingView, combining moving averages and oscillators with neural network confirmation via Hopfield and Restricted Bo

MT5 Collection AI / machine learningTrend followingBreakout
Updated 2 weeks ago None stated GitHub repository of Medium Papers EA Collection

Atlas EA

by ymk5py-commits
2 stars

Atlas EA is a multi-strategy intraday trading robot for MetaTrader 5, primarily focused on gold, silver, and USDJPY. It identifies market structure shifts using Smart Money Concepts, specifically targeting breaks of structure and fair value gaps during the London and New York sessions. The EA includes optional modules

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 3 weeks ago None stated GitHub repository of Atlas EA

Fibonacci ICT EA

by Shifrozy
2 stars

Fibonacci ICT EA for MetaTrader 5 combines institutional price action concepts with Fibonacci retracement levels. It identifies higher timeframe trends and enters on pullbacks to specific golden zones using confirmations like Break of Structure and Fair Value Gaps. The system includes robust risk management such as per

MT5 Trading robot SMC / ICT / price actionIndicator crossoverMean reversion High risk
Updated 3 weeks ago None stated GitHub repository of Fibonacci ICT EA
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion

Apex Breakout

by sbrakni
2 stars

This Expert Advisor for MetaTrader 5 offers two distinct trading modes: Donchian Channel breakouts for trend following and session range breakouts for daytrading. The Donchian mode utilizes high/low channel breaks filtered by an Exponential Moving Average, while the session mode targets breakouts from defined UTC time

MT5 Trading robot Trend followingBreakoutMartingale High risk
Updated 6 weeks ago None stated GitHub repository of Apex Breakout
2 stars

This collection of utilities for MetaTrader 5 focuses on protecting open positions during periods of high volatility or spread widening. The SpreadHourDodger tool manages stop loss orders during market rollover by either removing them entirely or widening them based on historical spread data stored in a CSV file. The N

MT5 Risk & protection
Updated 7 weeks ago None stated GitHub repository of Spread Hour and News Dodger
2 stars

This MetaTrader 5 expert advisor automates trading strategies based on Inner Circle Trader (ICT) concepts. It identifies market structure elements such as Order Blocks, Fair Value Gaps, and Market Structure Shifts to find entry points. The robot features specific logic for Kill Zones, Asian range liquidity, and Optimal

MT5 Trading robot SMC / ICT / price actionScalping
Updated 2 months ago Custom licence GitHub repository of Market Makers Nightmare

Sumting Wong EA

by definitelyfkd
2 stars

This multistrategy expert advisor for MetaTrader 5 combines currency strength analysis, breakout/reversal logic, and swap carry trading. It targets various markets including forex, gold, oil, indices, and crypto. Trade execution involves ATR-based stop losses, multiplier-based take profits, and partial closing mechanis

MT5 Trading robot BreakoutMean reversionMulti-strategy
Updated 3 months ago None stated GitHub repository of Sumting Wong EA

This MetaTrader 5 expert advisor implements a candlestick pattern breakout and mean-reversion strategy. It identifies specific sequences of three candles to determine market entry points. The robot places pending buy stop, sell stop, and buy limit orders at fixed distances from previous price extremes to target liquidi

MT5 Trading robot BreakoutMean reversion

Jamesmaria EA

by King-jamesmaria
2 stars

Jamesmaria EA is a multi-pair MetaTrader 5 trading robot specializing in EURUSD, EURGBP, and Gold. It employs an H1 entry strategy based on the EMA 21/50 crossover and RSI confirmation, using H4 trend filtering for higher-probability setups. The EA includes dynamic lot sizing scaled to account equity, ATR-based take pr

MT5 Trading robot Indicator crossoverTrend following
Updated 4 months ago None stated GitHub repository of Jamesmaria EA

Mt4 Ai Trading

by 160037lk
2 stars

This MetaTrader 4 expert advisor connects to a Python FastAPI backend to facilitate automated trading based on Claude AI signals. The system transmits market data to the server, which performs multi-indicator analysis and sentiment processing before returning trade recommendations. It features multi-timeframe trend fil

MT4 Collection AI / machine learningTrend followingNews
Updated 4 months ago None stated GitHub repository of Mt4 Ai Trading
2 stars

This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
2 stars

This MetaTrader 5 expert advisor automates butterfly option strategies specifically for the AUDUSD pair. It utilizes a multi-timeframe approach, requiring bullish trend confirmation on H1 and H4 charts using exponential moving averages before entering positions. The logic identifies favorable volatility conditions thro

MT5 Trading robot Trend followingMean reversion
Updated 4 months ago None stated GitHub repository of AUDUSD Butterfly Options 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 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