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.

595 EAs match Clear filters

MT5 TradingView Bridge

by bktimmy247
4 stars

This MetaTrader 5 expert advisor functions as a bridge to execute trades originating from TradingView alerts or a custom embedded dashboard. It utilizes a local Python Flask server and file-based Inter-Process Communication to relay commands. The system supports manual execution through a floating toolbar and automated

MT5 Copier & bridge

Narymunt MQL5 Scripts

by Narymunt
4 stars

This repository features a collection of expert advisors for MetaTrader 5, primarily focused on technical indicator logic and educational implementation. The main script, AO-bot, utilizes the Awesome Oscillator to identify swings and switch trade directions, while other tools incorporate Parabolic SAR for trend filteri

MT5 Collection Trend followingGridIndicator crossover High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Narymunt MQL5 Scripts
4 stars

Gold SnR Momentum Scalper Pro is an automated scalping robot for MetaTrader 5, specifically optimized for XAUUSD on the M1 timeframe. It identifies entry points by combining support and resistance zones with RSI and moving average momentum. The system incorporates tick-level analysis to measure buying and selling press

MT5 Trading robot ScalpingBreakoutMean reversion
Updated 3 months ago Custom licence GitHub repository of Gold SnR Momentum Scalper Pro
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

MT5 Auto Backtest Pipeline

by 26730023-PhamPhuNguyenHung
4 stars

This repository features a headless CLI automation pipeline for MetaTrader 5, enabling users to compile, backtest, and rank MQL5 Expert Advisors through PowerShell. It contains a large collection of robots focused on candlestick patterns, such as Morning and Evening Star signals, combined with Stochastic or CCI filters

MT5 Collection SMC / ICT / price actionIndicator crossoverMean reversion

Move Stop To Breakeven

by EarnForex
4 stars

Move Stop To Breakeven is a trade management expert advisor for MetaTrader 4 and 5 that automatically secures open positions by adjusting stop-loss levels. Once a trade reaches a user-defined profit distance in points, the EA moves the stop-loss to the entry price or a specified buffer level. It features options to acc

MT4MT5 Trade manager
Updated 6 months ago Apache-2.0 GitHub repository of Move Stop To Breakeven

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
4 stars

This repository contains an extensive collection of over 200 Expert Advisors developed for the MetaTrader 4 and MetaTrader 5 platforms. The files range from individual strategy implementations like CCI multi-pair and cycle-based trading to comprehensive testing frameworks. The primary featured Expert Advisor includes a

MT4MT5 Collection Indicator crossoverMulti-strategyTrend following High risk

SMC Master Pro

by Kanishkar01
4 stars

This MetaTrader 5 expert advisor implements an automated strategy based on Smart Money Concepts and the Trading Hub Juka Method. It analyzes market structure, institutional order blocks, and fair value gaps to identify high-probability entry points. The robot features multi-timeframe analysis, evaluating alignment betw

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 7 months ago Unlicense GitHub repository of SMC Master Pro
4 stars

This repository contains a collection of MetaTrader 4 and 5 expert advisors primarily focused on grid and martingale trading strategies. The included robots utilize multiplier-based lot scaling, geometric progression, and fixed-distance grid layering to manage positions. The suite features specialized dashboards for mo

MT4MT5 Collection GridMartingaleMulti-strategy High risk
Updated 8 months ago None stated GitHub repository of Soko8 EA Collection
4 stars

This MetaTrader 5 expert advisor implements an automated breakout strategy based on the high and low prices of the previous candle. It monitors price action on the active chart and enters long positions when the bid price exceeds the previous high, or short positions when it falls below the previous low. Risk managemen

MT5 Trading robot Breakout
Updated 8 months ago None stated GitHub repository of Breakout Trading Script
4 stars

This repository provides a collection of MetaTrader 4 expert advisors, primarily focused on a manual trading dashboard and an indicator-based robot. The included dashboard enables manual execution with automated trade management features such as hidden virtual stop loss and take profit levels, profit locking, and multi

MT4 Collection Trend followingIndicator crossover

AI Telegram Signal

by bizkut
4 stars

This MetaTrader 5 expert advisor acts as a bridge between Telegram channels and the trading terminal via a dedicated Python server. It uses a TCP socket connection to receive structured JSON data parsed by artificial intelligence from unstructured chat messages. The EA executes market or pending orders based on entry r

MT5 Copier & bridge ScalpingMulti-strategy

Tony Tan EA Collection

by leciffre69
4 stars

This collection of MetaTrader 4 expert advisors provides several distinct trading strategies including candlestick pattern recognition, moving average trends, and currency strength analysis. The repository contains a dedicated martingale algorithm alongside robots focused on engulfing and morning star patterns. The pri

MT4 Collection Trend followingMartingaleSMC / ICT / price action High risk
Updated 10 months ago None stated GitHub repository of Tony Tan EA Collection

AI Supertrend Long Only

by dharaarpan7
4 stars

This MetaTrader 5 expert advisor executes automated long-only trades based on the Supertrend indicator. It calculates trend direction using Average True Range and a multiplier factor to identify entry points. The robot includes built-in risk management tools such as percentage-based stop loss and take profit orders, as

MT5 Trading robot Trend following
Updated 11 months ago BSL-1.0 GitHub repository of AI Supertrend Long Only

Indicator Tester EA

by softwaredevelop
3 stars

This MetaTrader 5 expert advisor serves as a modular framework for testing and optimizing indicator-based trading strategies. It currently implements a trend-following system based on Supertrend signals, which utilize volatility-driven calculations for entries. The robot executes logic exclusively at the opening of eac

MT5 Trading robot Trend following
Updated yesterday None stated GitHub repository of Indicator Tester EA
3 stars

This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul

MT4MT5 Collection SMC / ICT / price actionScalpingBreakout High risk

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
3 stars

A collection of systematic Expert Advisors for MetaTrader 5 designed for session-specific execution. The repository includes multiple specialized engines for strategies such as range reversion, breakouts, and trend following. It features a centralized risk management layer with spread caps, daily loss limits, and conse

MT5 Collection Mean reversionBreakoutTrend following

News Filter MQL5

by sushiix-trader
3 stars

This news filter module for MetaTrader 5 provides a framework for Expert Advisors to avoid trading during high-impact economic events. It features a dual-layer system: a decision layer that blocks new entries and an action layer that can flatten current positions or cancel pending orders. The tool supports live termina

MT5 News trading News
Updated 12 days ago Apache-2.0 GitHub repository of News Filter MQL5

IJESHA Algo EA

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-indicator strategy based on momentum and divergence confluence. It utilizes Stochastic, Commodity Channel Index (CCI), Parabolic SAR, and Exponential Moving Averages (EMA) to identify entries, specifically targeting bullish and bearish divergence patterns. Risk manage

MT5 Trading robot Mean reversionTrend followingIndicator crossover
Updated 2 weeks ago MIT GitHub repository of IJESHA Algo EA

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
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and indicators designed for automated trading and technical analysis. The EAs implement various strategies such as trend-following, candle pattern recognition, and tick movement analysis. Risk management features across the files include standard sto

MT4 Collection Trend followingMartingaleGrid High risk

Grid Trading EA MT5

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-layer grid trading system suitable for forex, gold, and indices. It establishes a grid of price levels around an anchor point, opening buy positions when the price crosses down through a specific level. The grid is divided into three customizable layers, each with ind

MT5 Trading robot Grid High risk
Updated 5 weeks ago None stated GitHub repository of Grid Trading EA MT5
3 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy combining M15 trend direction with M5 trade execution. It identifies entries using Smart Money Concepts like break of structure and order blocks, confirmed by MACD, Stochastic, and Parabolic SAR indicators. Risk management is a primary focus, offeri

MT5 Trading robot SMC / ICT / price actionTrend followingIndicator crossover

Hydra Prime

by sriramvarun0636
3 stars

Hydra Prime is a systematic expert advisor for MetaTrader 5 designed specifically for the gold market. It executes trades based on intraday momentum expansions and market structure shifts using Smart Money Concepts like Fair Value Gaps and Optimal Trade Entry zones. The robot analyzes swing structures on the M5 timefra

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 5 weeks ago GPL-3.0 GitHub repository of Hydra Prime

Opening Bot

by shahabodin121
3 stars

Opening Bot is an automated trading robot for MetaTrader 5 that executes an opening range breakout strategy. It identifies the high and low price levels during specific market session starts, such as London, New York, Tokyo, or Sydney. The EA supports three entry models: instant breakout of the range, waiting for a can

MT5 Trading robot Breakout
Updated 2 months ago None stated GitHub repository of Opening Bot

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

Mql5 EAs Collection

by tnickel
3 stars

This collection for MetaTrader 5 features an ADR-based grid trading expert advisor and a dedicated risk management tool. The primary trading robot identifies reversal opportunities using Average Daily Range percentages, RSI, and Stochastic oscillators. It includes an automated news filter and supports external CSV sign

MT5 Collection GridMean reversionNews High risk
Updated 2 months ago None stated GitHub repository of Mql5 EAs Collection

Mql5 Pro

by hushamQA
3 stars

Mql5 Pro is a comprehensive development framework and template collection for MetaTrader 5, specifically optimized for AI-assisted coding and Pine Script conversion. It provides standardized structures for creating Expert Advisors, custom indicators, and graphical user interfaces. The system includes built-in risk mana

MT5 Framework & template SMC / ICT / price actionMulti-strategy
Updated 2 months ago None stated GitHub repository of Mql5 Pro

Omak FxYO

by GoyBoi
3 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy based on the TTrades Fractal Model and Dow Theory. It operates using two distinct execution branches: Intraday (D1/H1/M5) and Swing (W1/H4/M15). The system analyzes market structure to identify points of interest, employing wick ratios and optional

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 3 months ago None stated GitHub repository of Omak FxYO
3 stars

This MetaTrader 5 analytical tool uses Markov Chain theory to examine the relationship between consecutive price movements. It processes historical data to calculate transition probabilities for up and down candles based on the preceding price action. The repository contains separate experts for analyzing one, two, or

MT5 Utility
Updated 3 months ago None stated GitHub repository of Markov Chain Candle Study

QuantAlgo Prop Firm Elite

by thesenegalesehitch
3 stars

Prop Firm Elite EA is a comprehensive trading suite for MetaTrader 5 designed for automated prop firm challenge management. It utilizes Smart Money Concepts, including Break of Structure and Fair Value Gaps, combined with exponential moving averages and RSI filters. The system manages risk through fixed percentage lot

MT5 Collection SMC / ICT / price actionTrend followingIndicator crossover
Updated 3 months ago Custom licence GitHub repository of QuantAlgo Prop Firm Elite

OrderBlock ICT

by cfournel
3 stars

This MetaTrader 5 expert advisor implements Inner Circle Trader concepts, specifically focusing on Order Blocks and PD Arrays for trade entries. The robot identifies price action structures including breakouts, range-based patterns, and Fibonacci extensions. For risk management, it utilizes ATR-based stop losses, trail

MT5 Trading robot SMC / ICT / price actionBreakoutNews
Updated 3 months ago None stated GitHub repository of OrderBlock ICT

Adjustable MA 3G

by EarnForex
3 stars

This expert advisor for MetaTrader 4 and 5 executes trades based on crossovers of the 3rd Generation Moving Average indicator. It utilizes two instances of the custom indicator with adjustable periods and sampling settings to identify trend shifts. The robot enters positions when the difference between the fast and slo

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

This collection for MetaTrader 5 provides dozens of expert advisors based on the combination of Japanese candlestick patterns and technical indicators. The robots detect patterns such as Engulfing, Harami, and Morning Stars, using Stochastic, RSI, MFI, or CCI for signal confirmation. Trades are managed with fixed stop

MT5 Collection Multi-strategyMean reversion

Sanqing EA

by caoruihua
3 stars

An automated trading system for MetaTrader 4 specifically designed for gold (XAUUSD) on the M5 timeframe. It features two core strategies: trend continuation and price pullbacks. The expert advisor utilizes a dual exponential moving average framework for direction and ATR for volatility filtering. Risk management is ha

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 5 months ago None stated GitHub repository of Sanqing EA

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

Break Even Bot

by autoea-online
3 stars

This MetaTrader 5 utility serves as an automated trade manager focused on risk reduction. It monitors active positions and moves the Stop Loss to the entry price once a specific profit target, defined in pips, is reached. The tool allows for an optional offset to account for spreads or transaction costs. It does not in

MT5 Trade manager
Updated 6 months ago MIT GitHub repository of Break Even Bot

Antigravity Geo Scalper

by Pusparaj99op
3 stars

Antigravity Geo Scalper is a MetaTrader 5 expert advisor that utilizes geometric and mathematical logic to identify trade opportunities. It focuses on price action and structure, specifically avoiding lagging indicators. The strategy incorporates Fibonacci levels, Gann Fans, harmonic pattern tolerances, and linear regr

MT5 Trading robot ScalpingMean reversion

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

This repository provides a collection of expert advisors for MetaTrader 4 and 5, centered on news event volatility and trend following. The primary NewsTrader tool integrates with online economic calendars to automate trade placement seconds before scheduled events. It deploys a grid of pending orders with configurable

MT4MT5 Collection NewsTrend followingGrid High risk

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 7 months ago None stated GitHub repository of AutoTrade EA

Bot Trend

by uselinuxdev
3 stars

Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.

MT5 Trading robot Trend followingGridMartingale High risk
Updated 8 months ago None stated GitHub repository of Bot Trend

Sentinel EA

by davidtomblin
3 stars

Sentinel EA is a trend-following scalping robot developed for MetaTrader 5, specifically optimized for trading Gold (XAU/USD) on the one-minute timeframe. The strategy utilizes a fast and slow Exponential Moving Average crossover to identify trade entries. It features mandatory risk controls including fixed stop loss a

MT5 Trading robot ScalpingIndicator crossoverTrend following
Updated 9 months ago None stated GitHub repository of Sentinel EA
3 stars

This repository is a collection of educational Expert Advisors for MetaTrader 5, structured as a learning roadmap. It contains several standalone trading scripts, including a multi-symbol basket trader called Profit Twins, which enters buy positions on two different pairs and exits based on a combined profit percentage

MT5 Collection Mean reversionIndicator crossoverMulti-strategy
Updated 9 months ago None stated GitHub repository of MQL5 Learning Collection

Xauusd God MT5

by techly39
3 stars

This MetaTrader 5 expert advisor is designed specifically for trading gold (XAUUSD). The system utilizes a modular architecture to detect market regimes, identify ranges, and execute trades based on liquidity sweeps and breakouts. It incorporates several filters, including spread and volume checks, alongside a drawdown

MT5 Trading robot BreakoutSMC / ICT / price actionMean reversion
Updated 10 months ago None stated GitHub repository of Xauusd God MT5
3 stars

This MetaTrader 4 collection contains various expert advisors, including a primary strategy based on EMA 50/200 crossovers and RSI filtering. The main EA manages entries through trend confirmation and provides risk controls such as stop loss, take profit, and trailing stops. It includes features for breakeven activatio

MT4 Collection Indicator crossoverTrend followingGrid High risk
Updated 10 months ago Custom licence GitHub repository of Simple Forex Tools Collection

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