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.

103 EAs match Clear filters
109 stars

LIVMOR is a MetaTrader 4 expert advisor found within this repository of over fifty automated trading tools. It utilizes technical indicators such as MACD, Stochastic, and moving averages to identify entry points, while also offering manual price entry options. The EA manages risk through user-defined stop loss and take

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of LIVMOR Trading Collection

FX Git Collection

by dennislwm
101 stars

This repository contains a diverse collection of MetaTrader 4 expert advisors and R-based financial scripts. The primary robot is based on the Nanningbob trading system, which utilizes multi-timeframe analysis across daily and four-hour charts to identify trends and ranging markets. It employs Bollinger Bands for mean-

MT4 Collection Trend followingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of FX Git Collection
36 stars

This repository contains the MQL source code used by Forex Strategy Builder Professional to export automated trading strategies to MetaTrader 4 and MetaTrader 5. It serves as a standardized template for executing technical strategies generated by the software, handling order execution and trade management. The EA inclu

MT4MT5 Framework & template Multi-strategyMartingale High risk
Updated 4 years ago None stated GitHub repository of FSB Pro Expert Advisor
33 stars

This repository provides a collection of MetaTrader 4 expert advisors, notably featuring a grid-based trading system. The mGRID EA executes trades by placing multiple pending buy and sell stop orders at fixed pip increments, attempting to capture price movement in either direction. It offers risk controls through confi

MT4 Collection GridIndicator crossoverMulti-strategy High risk

Telegram Signal Trader

by nguemechieu
25 stars

This expert advisor bridges MetaTrader 4 and MetaTrader 5 with Telegram to facilitate signal-based trading and remote account management. It can execute trades from external signals or generate its own alerts using built-in indicators such as Ichimoku, Bollinger Bands, and Momentum. The software includes the ability to

MT4MT5 Copier & bridge NewsMulti-strategy
Updated 2 years ago Apache-2.0 GitHub repository of Telegram Signal Trader

Parallel Strategies

by Pierre8r
20 stars

Parallel Strategies is a MetaTrader 4 expert advisor designed to execute multiple independent technical strategies simultaneously. It includes modules for Moving Average crossovers, MACD breakouts, Heiken Ashi signals, and a hybrid Heiken-MACD system. Each strategy operates with a unique magic number to allow concurren

MT4 Collection Indicator crossoverBreakoutMulti-strategy
Updated 8 years ago None stated GitHub repository of Parallel Strategies
19 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on the MultiTrader dashboard and various technical utility robots. MultiTrader functions as a multi-symbol management tool that monitors dozens of currency pairs simultaneously, using high and low percentage levels for trade execut

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 7 years ago None stated GitHub repository of MQL4 MultiTrader Collection

MQL4 Experts Collection

by GeneralTradingSarl
17 stars

This repository features a vast collection of over 1,100 open-source Expert Advisors for the MetaTrader 4 platform. It serves as an educational library containing diverse trading strategies, including trend following, breakout, scalping, and mean-reversion systems. The collection explicitly includes high-risk methodolo

MT4 Collection Multi-strategyMartingaleGrid High risk
Updated 4 days ago None stated GitHub repository of MQL4 Experts Collection
17 stars

This repository contains a collection of MetaTrader 4 expert advisors, including Indo Run, Forex Hacked, and several grid-based strategies. The primary EA, Indo Run, features advanced time-based filtering for specific weekdays, month-end offsets, and news events like Non-Farm Payrolls. It manages trades using a basket

MT4 Collection GridNewsMartingale High risk
Updated 8 years ago None stated GitHub repository of Ling MQL4 EA Collection

Mansour Bot

by MShokry
16 stars

This MetaTrader 4 expert advisor executes automated trades on the forex market by combining signals from various technical indicators. The logic incorporates Average Directional Index analysis across multiple timeframes, alongside Ichimoku and Stochastic oscillators. Users can configure lot sizing, take profit, and sto

MT4 Trading robot Indicator crossoverMulti-strategyMartingale High risk
Updated 7 years ago None stated GitHub repository of Mansour Bot

MultiTrader

by mazmazz
14 stars

MultiTrader is a multi-currency expert advisor for MetaTrader 4 and MetaTrader 5 that executes trades across multiple forex instruments concurrently. It uses a modular system of filters to generate entry and exit signals based on various technical indicators. The EA manages risk through fixed or trailing stop losses, b

MT4MT5 Trading robot GridMulti-strategy High risk
Updated 5 years ago GPL-3.0 GitHub repository of MultiTrader

CARA Correlation EA

by jblanked
13 stars

This MetaTrader 4 expert advisor facilitates automated trading based on asset correlations across various markets. It identifies opportunities within a predefined list of symbols, including forex pairs, cryptocurrencies, gold, and equity indices. The EA manages entries based on the relationship between these instrument

MT4 Trading robot ArbitrageMulti-strategy
Updated 2 years ago None stated GitHub repository of CARA Correlation EA
13 stars

This repository contains a collection of over sixty experimental expert advisors for the MetaTrader 4 platform. The core functionality revolves around the Model Maker series, which uses statistical iterations to generate and test trading logic based on various input types and comparers. The system evaluates potential s

MT4 Collection Multi-strategy

JBlanked MQL Library

by jblanked
12 stars

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies for forex markets. A core component is the Gareth Range Breakout, which defines specific time-based price zones and executes trades when price breaks those boundaries. It includes risk controls such as stop loss and take pro

MT4MT5 Collection BreakoutMulti-strategyGrid High risk
Updated 11 days ago GPL-3.0 GitHub repository of JBlanked MQL Library
12 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily featuring the Chaos Theory EA. This robot combines several trading methodologies including Bill Williams' Chaos Theory, Trading Made Simple, and THV3 to trade multiple currency pairs simultaneously. It utilizes technical filters such as Su

MT4 Collection Multi-strategyTrend followingIndicator crossover High risk

AlgoMaster NNFX

by alexcercos
10 stars

AlgoMaster NNFX is an algorithm development and testing system for MetaTrader 4 and 5, built specifically to implement the No Nonsense Forex (NNFX) trading methodology. It enables users to test trading logic across 28 major forex pairs while managing complex factors like currency exposure, news events, and market volat

MT4MT5 Trading robot Trend followingMulti-strategy
Updated 2 years ago BSD-3-Clause GitHub repository of AlgoMaster NNFX

Lorne MQL4 Collection

by lorne-luo
7 stars

This MetaTrader 4 repository provides a collection of expert advisors and technical utilities built on a custom framework. The primary trading systems, such as New Golden EA, utilize trend-based logic across multiple timeframes including H4, H1, and M15. These robots implement a multi-stage trailing stop mechanism that

MT4 Collection Trend followingMulti-strategyMartingale High risk
Updated 9 years ago None stated GitHub repository of Lorne MQL4 Collection
7 stars

This MetaTrader 4 expert advisor implements a flexible strategy based on the directional consensus of multiple technical indicators. It allows users to combine Moving Averages, Stochastic Oscillators, THV3 T3, Babon Slope, and AMA Optimized modules. A trade is initiated only when all selected indicators align in the sa

MT4 Trading robot Trend followingMulti-strategyIndicator crossover

Alboogy Dev Projects

by alboogycOdR
6 stars

This repository is a large collection of over 2,400 MetaTrader 4 and 5 files, including expert advisors, utilities, and indicators. It includes a trade copier client that synchronizes positions via socket libraries. The systems manage trades through sophisticated risk controls like equity-based trailing stops, cycle-pe

MT4MT5 Collection Multi-strategyMartingaleGrid High risk
Updated 6 months ago None stated GitHub repository of Alboogy Dev Projects
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

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

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

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

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

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

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

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

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

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

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

This repository is a compilation of MetaTrader 4 and MetaTrader 5 expert advisors primarily focused on gold (XAUUSD) trading. The core system included features seven independent trading strategies that can be enabled concurrently. It provides various risk management tools, including automated lot sizing based on accoun

MT4MT5 Collection ScalpingTrend followingMulti-strategy High risk

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

North East Way Collection

by Yogurt-Peng
2 stars

This repository contains a collection of MetaTrader expert advisors for MT4 and MT5, featuring various algorithmic trading strategies. The primary EA, North East Way, implements a multi-currency grid and martingale system focused on mean reversion for correlated pairs such as AUDNZD and NZDCAD. It manages risk through

MT4MT5 Collection Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way Collection
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
2 stars

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk

MQL4 Tutorial Collection

by a-forghani-y79
2 stars

This MetaTrader 4 repository serves as a research and development environment for MQL4 algorithmic trading. It includes multiple experimental files focusing on pivot point identification and volume-based price analysis. The code explores custom data structures for price action and seeks to implement specific strategies

MT4 Collection Multi-strategy
Updated 3 years ago None stated GitHub repository of MQL4 Tutorial 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 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