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

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

Swift Algo Bot

by connectfazla
2 stars

This MetaTrader 5 expert advisor provides an automated trading system with two primary operation modes: a multi-confluence signal engine and a Smart Money Concepts strategy. The confluence engine aggregates signals from RSI, MACD, Bollinger Bands, and EMA crossovers, while the Smart Money mode focuses on liquidity swee

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 5 months ago None stated GitHub repository of Swift Algo Bot

GainzAlgo EA

by saadkhan371
2 stars

This MetaTrader 5 robot is a trend-following expert advisor converted from Pine Script, designed primarily for gold scalping on the one-minute timeframe. It identifies entries using a triple Exponential Moving Average stack combined with Relative Strength Index filters and candle confirmation. The EA manages risk throu

MT5 Trading robot Trend followingScalpingIndicator crossover
Updated 5 months ago None stated GitHub repository of GainzAlgo EA

This MetaTrader 5 expert advisor executes a multi-stage trading strategy focusing on H1 trendline breakouts and RSI divergences. It refines entries on the M5 timeframe using Change of Character and micro Break of Structure signals. The EA includes automated risk management with percentage-based lot sizing and ATR-based

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

MH EA Collection

by mhizterkeyz
2 stars

This collection of MetaTrader 5 expert advisors contains numerous trading scripts, with the primary source code focusing on a gold-trading strategy. The robot utilizes a combination of the Relative Strength Index, Average True Range, and Average Directional Index alongside three simple moving averages to identify trend

MT5 Collection Trend followingIndicator crossoverMean reversion
Updated 7 months ago None stated GitHub repository of MH EA Collection

Forex Master Multi Strategy

by simonokwundue-ops
2 stars

This MetaTrader 5 expert advisor utilizes a weighted signal scoring system to execute trades based on four technical indicators: Moving Average crossovers, RSI, Bollinger Bands, and MACD. It incorporates multi-timeframe analysis across M15, M30, and H1 periods to confirm trend direction. Risk management features includ

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 10 months ago None stated GitHub repository of Forex Master Multi Strategy
2 stars

This Expert Advisor for MetaTrader 5 executes an Opening Range Breakout strategy enhanced with a daily trend filter. It identifies the high and low price levels during a specific market session opening, defined by the user. The robot enters trades when price breaks out of this range, but only if the direction matches t

MT5 Trading robot BreakoutTrend following
Updated 10 months ago None stated GitHub repository of ORB Daily Bias EA

Tokyo Box

by polcad
2 stars

This expert advisor for MetaTrader 5 automates trading strategies based on the Asian session price range. It calculates the high and low of a defined Asian session and executes breakout or range-reversion trades during the US session. The robot includes automated risk management features such as lot sizing, stop loss a

MT5 Trading robot BreakoutMean reversion
Updated 10 months ago None stated GitHub repository of Tokyo Box

MQ Autonomous High Break

by lordgaruda
2 stars

MQ Autonomous is a momentum breakout expert advisor for MetaTrader 4 and MetaTrader 5. It scans multiple assets simultaneously for significant daily price movements exceeding a specified percentage. Once a threshold is met, the system seeks entries based on price breaking recent highs or lows, supported by a volume ave

MT4MT5 Trading robot BreakoutMulti-strategy
Updated 11 months ago None stated GitHub repository of MQ Autonomous High Break

Span Model Trader

by KC-Kamioka
2 stars

Span Model Trader is an automated expert advisor for MetaTrader 4 that utilizes the Span Model and Super Bollinger technical indicators. It identifies entry and exit signals based on components such as the Blue Span and Delayed Span. The robot operates on a bar-by-bar basis, executing logic only at the opening of a new

MT4 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Span Model Trader
2 stars

This MetaTrader 5 expert advisor combines Bollinger Band mean-reversion, squeeze breakouts, and EMA crossover trend following. It filters for ranging markets using a long-period EMA slope to execute reversal trades with candlestick confirmation, specifically identifying Doji patterns at the bands. Risk management inclu

MT5 Trading robot Mean reversionBreakoutIndicator crossover
2 stars

This MetaTrader 5 expert advisor combines technical indicators with price action to automate trading decisions. It incorporates five individual strategies including EMA crossovers, candlestick engulfing patterns, and support or resistance breakouts. The system is specifically calibrated for the 30-minute timeframe and

MT5 Trading robot Indicator crossoverBreakoutMean reversion

Eagle Eyes EA

by Tobias2921
2 stars

Eagle Eyes EA is an automated MetaTrader 5 robot that executes trades based on institutional Smart Money Concepts, specifically focusing on the Breaker Block retest strategy. It monitors price action for Break of Structure events and validates Order Blocks before entering positions on price retests. The EA incorporates

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 1 year ago None stated GitHub repository of Eagle Eyes EA
2 stars

This MetaTrader 5 expert advisor serves as a signal generation tool primarily designed for the EURUSD currency pair. It identifies entry signals by combining MACD crossovers and Relative Strength Index levels, using a 200-period Exponential Moving Average as a primary trend filter. The system integrates a fundamental n

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Advanced Signal Generator

AI Assisted EAs

by cgmond
2 stars

This MetaTrader 5 repository contains a collection of expert advisors, including a scalping robot built with AI assistance for Forex, Gold, Crypto, and Indices. The main EA integrates technical indicators like RSI, Moving Averages, and ADX for entry signals. Risk management is handled through percentage-based lot sizin

MT5 Collection ScalpingHedgingMean reversion
Updated 1 year ago None stated GitHub repository of AI Assisted EAs

RSI Surf Scout

by Xtley001
2 stars

RSI Surf Scout is a multi-symbol momentum expert advisor for MetaTrader 5 that combines RSI signals with EMA trend filtering. It scans multiple instruments and timeframes simultaneously, entering trades via limit orders when momentum aligns with the long-term trend. The robot features robust risk controls designed for

MT5 Trading robot Trend followingMulti-strategy
Updated 1 year ago None stated GitHub repository of RSI Surf Scout
2 stars

This MetaTrader 5 expert advisor is a multi-timeframe scalping robot designed for the forex market. It utilizes a Currency Strength Meter (CSM) combined with a technical indicator suite including RSI, MACD, and ADX to identify entry signals across various periods from M1 to H4. The system incorporates comprehensive ris

MT5 Trading robot ScalpingTrend followingMulti-strategy
Updated 1 year ago None stated GitHub repository of Sophisticated Scalping EA

EA Trade Manager

by NexaNomad
2 stars

This MetaTrader 5 expert advisor provides a framework for trade execution and management, specifically targeting EURUSD and XAUUSD markets. It handles the full trade lifecycle, including automatic lot size calculation based on a defined risk percentage per trade. The EA utilizes fixed stop loss and take profit levels m

MT5 Trading robot
Updated 1 year ago None stated GitHub repository of EA Trade Manager

EURUSD Surge EA

by Masa1984a
2 stars

This MetaTrader 4 expert advisor is designed specifically for the EURUSD pair, focusing on price surge detection and subsequent pullback entries. It identifies significant volatility using ATR and candlestick body ratios, entering trades during correction phases. The robot incorporates multi-timeframe analysis across M

MT4 Trading robot Trend followingBreakoutMean reversion

NY 9AM Breakout Bot

by SouleEater99
2 stars

This MetaTrader 5 expert advisor automates a breakout strategy based on the high and low price levels of a 4-hour candle. It places limit orders at these boundaries, specifically timed for the New York 9 AM market open to capture volatility. The bot features dynamic adjustments for Daylight Saving Time and broker serve

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of NY 9AM Breakout Bot

LinearFX Trader

by Carloncho0528
2 stars

LinearFX Trader is an automated expert advisor for MetaTrader 5 that utilizes mathematical linear regression to identify trading opportunities. The robot analyzes historical price data over a configurable lookback period to determine market direction. It includes essential risk management features such as fixed lot siz

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago None stated GitHub repository of LinearFX Trader

Siluman Kambing

by rajaculaemas
2 stars

This MetaTrader 4 expert advisor implements a multi-strategy approach for trading various currency pairs and gold. It combines technical indicators including Moving Averages, RSI, Bollinger Bands, and ADX with price action concepts such as support, resistance, and engulfing patterns. The EA features risk management too

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Siluman Kambing
2 stars

This repository contains a collection of Expert Advisors and trading tools developed for the MetaTrader 4 platform. It features multiple standalone scripts implementing classic technical strategies, including Ichimoku Cloud trend following, Moving Average crossovers, and momentum-based entries using RSI or MACD. The Ex

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of AlgoTrading MQL Collection

Scalping Robot ML

by Red-misst
2 stars

This expert advisor for MetaTrader 5 performs scalping by identifying price levels based on a configurable lookback period. It incorporates a machine learning signal filter, requiring a separate Python environment to classify high-probability trade setups using historical market data. The robot manages entries within s

MT5 Trading robot ScalpingAI / machine learning
Updated 1 year ago None stated GitHub repository of Scalping Robot ML

DC Fib2O MT5 Bot

by sournk
2 stars

This Expert Advisor for MetaTrader 5 automates a strategy based on Fibonacci retracements following a Break of Structure or Change of Character. It identifies market structure shifts and places two separate pending orders: a trend-following stop order and a reversal limit order targeting liquidity runs. The EA calculat

MT5 Trading robot SMC / ICT / price actionMean reversion

MACD Trend Trader

by diankartika
2 stars

This MetaTrader 4 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator. Developed as an academic project, the bot filters signals using an Exponential Moving Average to ensure trades follow the established trend. Risk management features include a fixed lot sizing model, a

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of MACD Trend Trader
2 stars

This repository contains a collection of MetaTrader 5 expert advisors designed for various financial instruments including the DAX index, gold, oil, and major currency pairs. The library includes specialized robots like German Sunrise for DAX mean reversion and others for specific events like Friday gold moves or Tuesd

MT5 Collection Mean reversionIndicator crossoverTrend following

Forecasting LSTM

by frkn2076
2 stars

This MetaTrader 5 expert advisor utilizes a Long Short-Term Memory (LSTM) machine learning model to forecast price movements for the GBPUSD currency pair. It operates by triggering an external Python script every hour to perform incremental learning and generate price predictions. The robot enters trades when predicted

MT5 Trading robot AI / machine learning
Updated 2 years ago None stated GitHub repository of Forecasting LSTM

No Forex Nonsense EA

by mojtaba-brz
2 stars

This expert advisor for MetaTrader 5 implements the No Nonsense Forex trend-following methodology. It utilizes a modular approach where users can select and configure specific components including a baseline, primary and secondary confirmation indicators, a volume filter, and a dedicated exit indicator. The EA manages

MT5 Trading robot Trend following

Macd Ema Strategy

by jokwok1
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using MACD and EMA indicators. For long entries, it requires a MACD crossover below the zero line and price confirmation above the EMA. It manages risk through ATR-based stop losses and take profits, with a default 1:2 risk-to-reward ratio. Users ca

MT5 Trading robot Trend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of Macd Ema Strategy
2 stars

This MetaTrader 4 expert advisor automates trading using moving average crossovers. It generates buy and sell signals based on user-defined periods and shift parameters. The EA includes a risk management module that calculates lot sizes dynamically based on free margin and a maximum risk percentage. It features a reduc

MT4 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Clarionxk Moving Average
2 stars

This repository is a collection of MetaTrader 4 projects including expert advisors, libraries, and utilities. The featured Tri-Arbitrage EA executes an experimental strategy by monitoring price discrepancies between currency triplets like EURUSD and EURGBP. It calculates an implied price and enters trades when market i

MT4 Collection ArbitrageTrend following

RSI Bands Breaker

by visualxl
2 stars

This MetaTrader 4 expert advisor implements a breakout strategy using Bollinger Bands, the Relative Strength Index (RSI), and a Simple Moving Average (SMA). Optimized for AUD/JPY, it identifies periods of low volatility through a Bollinger Band squeeze before entering trades on a price breakout confirmed by RSI momentu

MT4 Trading robot BreakoutTrend following
Updated 2 years ago None stated GitHub repository of RSI Bands Breaker

This repository features MetaTrader 4 expert advisor templates focused on technical indicator integration and price action patterns. The included files utilize simple and exponential moving averages alongside fractal and candlestick pattern detection, such as hammers and stars. Trade management is handled through time-

MT4 Collection Indicator crossoverSMC / ICT / price action

Nexus EA

by NexusEA
2 stars

Nexus EA is a scalping robot for MetaTrader 4 that identifies trade opportunities based on price volatility relative to historical bar averages. It monitors the current bar movement and executes trades when price displacement exceeds a set threshold within specific hours. Risk management is handled through dynamic lot

MT4 Trading robot Scalping
Updated 3 years ago None stated GitHub repository of Nexus EA

Fisher EA

by jyyan
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on volatility and momentum. It utilizes Average True Range calculations with configurable fast and slow multipliers to identify trade entries and manage exits. The robot handles risk through a percentage-based budget per trade, a fixed risk-re

MT4 Trading robot Trend following
Updated 3 years ago MIT GitHub repository of Fisher EA

FX Data Collector

by mskelton
2 stars

This MetaTrader 5 utility serves as a historical data collector for exporting market information. Instead of executing trades, the expert advisor iterates through historical candles when run in the strategy tester to generate a CSV file containing open, high, low, and close prices. The data output includes ISO8601 form

MT5 Utility
Updated 3 years ago None stated GitHub repository of FX Data Collector
2 stars

This collection includes four MetaTrader 5 expert advisors designed to demonstrate basic algorithmic trading using the Relative Strength Index. The repository provides separate scripts for long and short entries, with options to evaluate trade signals either on a per-tick basis or only upon candle completion. Each expe

MT5 Collection Mean reversion

Swing NNFX Framework

by BenoitDurandIndep
2 stars

This MetaTrader 4 framework provides a modular environment for developing and backtesting expert advisors based on the No Nonsense Forex methodology. It includes functional swing trading robots that utilize baseline indicators, multiple confirmation layers, and volatility filters to identify entries. The system feature

MT4 Framework & template Trend followingMulti-strategy
Updated 3 years ago GPL-3.0 GitHub repository of Swing NNFX Framework

Envelope Scalper

by andhoo
2 stars

This MetaTrader 5 expert advisor implements a counter-trend scalping strategy using price envelopes. The robot calculates an exponential moving average and applies a percentage-based deviation to create upper and lower bands. It enters trades when the price closes outside these bands, targeting a reversal. Positions ar

MT5 Trading robot ScalpingMean reversion
Updated 4 years ago None stated GitHub repository of Envelope Scalper

Kronos

by PlacidoMaidana
2 stars

Kronos is an automated trading robot for MetaTrader 5 designed to trade price range corrections using Fibonacci retracement levels. The system identifies specific price ranges over a set number of candles and enters positions based on retracement signals. It incorporates several risk management tools, including stop lo

MT5 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of Kronos

Trading Bot FX

by dre10155
2 stars

Trading Bot FX is an automated expert advisor for MetaTrader 4 designed to trade twenty-seven currency pairs. It implements a trend-following strategy using a customizable baseline moving average, such as LWMA or SMA, alongside the SSL Channel indicator to determine market direction. To filter entries, the robot utiliz

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Trading Bot FX

Donchian Channel Bot

by amirsafaricg
2 stars

This MetaTrader 4 expert advisor executes a trend-following strategy based on a 20-period Donchian Channel and a 200-period Exponential Moving Average. It enters long positions when price breaks above the 20-candle high while staying above the EMA 200, and short positions when price falls below the 20-candle low while

MT4 Trading robot Trend followingBreakout
Updated 4 years ago None stated GitHub repository of Donchian Channel Bot
2 stars

This MetaTrader 5 expert advisor implements a trade execution strategy based on a linear regression model. It calculates entries using specific coefficients for an intercept and five independent variables, which include volatility, relative strength index, and average directional index data. The bot supports intraday o

MT5 Trading robot AI / machine learningMean reversion

EA 5120

by thevictorwhyte
2 stars

EA 5120 is a MetaTrader 4 robot that executes trades based on a trend-following system using several exponential moving averages. The strategy utilizes multiple EMA periods, such as 5, 13, 25, and 120, to determine market momentum and generate signals. Trade management includes options for fixed or dynamically calculat

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of EA 5120

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