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.

273 EAs match Clear filters
6 stars

This MetaTrader 4 repository contains a collection of experts and tools focused on technical indicators and machine learning. It features an implementation of Alexander Elder's Triple Screen strategy using Exponential Moving Averages and MACD to filter trends and entries. Additionally, the collection includes a machine

MT4 Collection Trend followingIndicator crossoverAI / machine learning Archived
Updated 8 years ago None stated GitHub repository of Mql Projects Collection

General Trading MT5 Collection

by GeneralTradingSarl
5 stars

This repository provides a collection of four Expert Advisors for MetaTrader 5, developed using the MQL5 standard library framework. These robots focus on trend-following and momentum strategies using indicators like Moving Averages, MACD, and the MESA Adaptive Moving Average. Notable features include a Parabolic SAR t

MT5 Collection Trend followingIndicator crossoverMulti-strategy

Profit Hunter

by phpkadir
5 stars

Profit Hunter is an expert advisor for MetaTrader 4 designed for forex and cryptocurrency trading. It utilizes a composite signal strategy combining Triple Moving Average, Adaptive RSI, CCI, iTrend, and Fisher indicators. The robot executes trades using a grid system where distances between orders are set manually or c

MT4 Trading robot GridMartingaleHedging High risk
Updated 4 years ago None stated GitHub repository of Profit Hunter
5 stars

This repository contains a collection of MetaTrader 5 scripts and Expert Advisors focusing on various technical indicators. The primary EA provided uses Relative Strength Index (RSI) levels to determine long and short entry conditions, including specific start and end thresholds for signal filtering. Other files in the

MT5 Collection Indicator crossoverMean reversionMulti-strategy

Compound Effect EA

by forexist
5 stars

This MetaTrader 5 collection provides several automated trading scripts, including a core robot that executes trades based on random entries or basic indicators. It manages positions using percentage-based stop loss and take profit targets rather than fixed pips. The expert advisors include risk controls like equity al

MT5 Collection HedgingMulti-strategy
Updated 5 years ago None stated GitHub repository of Compound Effect EA
5 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily featuring SwapTrader. This specific EA enters and exits positions at predefined times, specifically targeting the market rollover period to account for swap rates. It includes risk management settings such as fixed or percentage-based lot

MT4 Collection Multi-strategyIndicator crossover
Updated 8 years ago None stated GitHub repository of AlexDevFx MQL4 Collection

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

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

Chinaliyue MT4 EA Collection is a repository of various expert advisors and trading utilities for MetaTrader 4. The collection features several manual trading panels that allow users to execute orders with predefined stop loss and take profit levels. It includes management functions such as trailing stops and break-eve

MT4 Collection ScalpingMulti-strategyTrend following High risk
4 stars

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA
4 stars

This MetaTrader 5 expert advisor collection provides several automated trading strategies based on classic technical indicators. The primary component combines CCI, RSI, Stochastic, MACD, and Moving Average crossovers to identify entry signals. It features a configurable grid system that layers multiple orders at fixed

MT5 Collection GridIndicator crossoverMean reversion High risk
Updated 1 year ago None stated GitHub repository of Simple EA MT5 Collection

Yousuf Mesalm MQL Projects

by dryousufmesalm
4 stars

A diverse collection of MetaTrader 4 and MetaTrader 5 resources developed by Yousuf Mesalm. The repository features various utilities including interactive trading panels, multi-strategy dashboards, and automated expert advisors. These tools provide manual trade management options like partial closing and automated exe

MT4MT5 Collection Multi-strategyGridMartingale High risk
Updated 2 years ago None stated GitHub repository of Yousuf Mesalm MQL Projects

Hercules MQL5 Library

by herculeshssj
4 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility scripts. It includes a variety of automated strategies such as mean reversion, Dunnigan NRTR, and experiments with artificial intelligence. The library also features utility tools for Telegram integration, search functions, and signal das

MT5 Collection Mean reversionAI / machine learningIndicator crossover High risk Archived

Oanda TDesk Drone

by LonnieCoffman
4 stars

Oanda TDesk Drone is a MetaTrader 4 expert advisor designed to execute trades based on signals from the TDesk dashboard via the Oanda FXtrade platform. It functions as a bridge, using an external Python script and file-based data exchange to facilitate order placement. The EA is specifically designed to support fractio

MT4 Trading robot Multi-strategyGridHedging High risk
Updated 7 years ago None stated GitHub repository of Oanda TDesk Drone
4 stars

This repository is a comprehensive collection of MetaTrader 5 source code gathered from the MQL5 CodeBase and various technical articles. It serves as an archive of various trading systems, including trend-based impulse strategies, fuzzy logic applications, and standard indicator samples. The collection contains over 5

MT5 Collection Indicator crossoverTrend followingMulti-strategy
Updated 8 years ago None stated GitHub repository of All MQL5 Code Collection
4 stars

This collection of MetaTrader 4 expert advisors features several distinct trading robots including Daybreaker, Stradle, and the Signature System. The primary Daybreaker EA utilizes custom task scheduling and lookback periods to identify market entries based on volatility. It includes risk management controls such as pe

MT4 Collection BreakoutMulti-strategy
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

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

Edelweiss EA

by Attornado
3 stars

Edelweiss EA is an educational trading robot for MetaTrader 4 that utilizes a multi-indicator framework to generate buy and sell signals. It combines exponential moving averages, stochastic oscillators, the awesome oscillator, ADX, and Bollinger Bands to identify market entries. Trade management includes dynamic ATR-ba

MT4 Trading robot Indicator crossoverMean reversionTrend following
Updated 11 months ago MIT GitHub repository of Edelweiss EA

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master

North East Way

by Yogurt-Peng
3 stars

This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way

Strategy Meta Multi

by EA31337
3 stars

This MetaTrader 5 expert advisor acts as a meta-strategy container that executes multiple underlying trading strategies simultaneously. Built on the EA31337 framework, it aggregates signals from various included strategy files across several timeframes ranging from M15 to H8. The EA manages trade entries and exits base

MT5 Trading robot Multi-strategy
Updated 2 years ago None stated GitHub repository of Strategy Meta Multi
3 stars

This repository provides a diverse collection of MetaTrader 5 expert advisors and utility scripts for automated trading. The primary logic focuses on managing pending orders through dynamic distance adjustments, time-scheduled trade execution, and sophisticated trailing stops that operate via price ticks or millisecond

MT5 Collection BreakoutIndicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Cesreve MQL5 Collection

Forex Pro EA

by hqs-triet
3 stars

This MetaTrader 5 expert advisor serves as an educational repository for various automated trading strategies and capital management techniques. It features a modular architecture allowing users to toggle between multiple entry algorithms, including EMA crossovers, MACD zero-crossings, and a combination of ADX and Boll

MT5 Trading robot Indicator crossoverHedgingTrend following
Updated 2 years ago MIT GitHub repository of Forex Pro EA

Discord Telegram Client

by nguemechieu
3 stars

This MetaTrader 4 utility serves as a bridge between the trading terminal and external platforms like Telegram and Discord. It functions as a comprehensive manual trading panel, enabling users to execute various order types and manage positions directly from the chart interface. The EA integrates indicator-based signal

MT4 Copier & bridge Multi-strategy

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 collection provides several MetaTrader 5 expert advisors and utility scripts developed for educational purposes. The primary advisor combines moving average crossovers with Relative Strength Index filters to identify entry points. It features standard risk management controls including fixed lot sizing, hard stop

MT5 Collection Indicator crossoverMean reversionMulti-strategy

NOMQL4 EA Collection

by NematilloOchilov
3 stars

This repository is an extensive collection of MetaTrader 4 expert advisors and source code components written in MQL4. It includes over 70 files featuring diverse trading strategies such as Sanity TREND for trend following and various robots utilizing divergence-based entries. A significant portion of the code is based

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 4 years ago None stated GitHub repository of NOMQL4 EA Collection
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 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

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

Mql Projects Collection

by PranavSonar
3 stars

This repository features a collection of MetaTrader 4 expert advisors, primarily focused on a multi-strategy system named Complete Robot. The main EA utilizes a combination of technical indicators including Moving Averages, MACD, Bollinger Bands, and Stochastic oscillators for market entry. It employs a grid-based appr

MT4 Collection GridMartingaleIndicator crossover High risk
Updated 8 years ago None stated GitHub repository of Mql Projects Collection

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

Trading Robot

by robintkim
3 stars

Trading Robot is an automated expert advisor for MetaTrader 4 that utilizes a multi-strategy approach based on classical technical indicators. It executes trades using distinct logic paths for buy and sell positions, incorporating Moving Averages, RSI, MACD, Ichimoku Kinko Hyo, and Fractals. The EA monitors price volat

MT4 Trading robot Indicator crossoverMulti-strategy
Updated 9 years ago None stated GitHub repository of Trading Robot

Genesis Trading Platform

by FabricioProjects
3 stars

This MetaTrader 5 repository provides a collection of expert advisors centered around a data science framework for financial markets. The system implements deep learning classification methods, including deep neural networks and fractal analysis, to identify market patterns. It includes specific modules for Brazilian f

MT5 Collection AI / machine learningMulti-strategy
Updated 9 years ago None stated GitHub repository of Genesis Trading Platform

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

Hosopi

by harukihosono
2 stars

Hosopi operates as an automated trading robot for the MetaTrader 4 and MetaTrader 5 platforms. It utilizes a modular architecture to handle trade execution and account protection, incorporating indicator-based entry logic and volatility filtering. The software includes a Funds Guard to prevent orders during insufficien

MT4MT5 Trading robot Multi-strategy
Updated 2 months ago None stated GitHub repository of Hosopi

Omak FxYO

by GoyBoi
2 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

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