Synced with GitHub · updated hourly

Expert Advisor Library

1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

57 EAs match Clear filters

EA MQL4 Collection

by Yumerain
151 stars

This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 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
26 stars

This MetaTrader 4 expert advisor operates two concurrent strategy groups based on technical indicators. It primarily utilizes Bollinger Bands and Envelopes to identify market entries for automated trading. The robot employs a position scaling approach, using lot multipliers and fixed-distance grid additions to manage t

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of Bollinger Envelopes Grid
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

Mad Pound Profits

by Syakyr
16 stars

Mad Pound Profits is a MetaTrader 4 expert advisor that automates trading based on structural breakouts and price action. The system utilizes time-specific analysis windows throughout the day to identify entry opportunities. It incorporates technical elements such as Fibonacci levels, momentum indicators, and mean reve

MT4 Trading robot BreakoutSMC / ICT / price actionMartingale High risk Archived
Updated 7 years ago None stated GitHub repository of Mad Pound Profits

Session Sauce

by jblanked
13 stars

Session Sauce is an automated expert advisor for MetaTrader 4 designed to trade market session transitions and price extremes. It allows users to configure entries based on session opens, highs, and lows for the New York, London, and Asian sessions. The EA includes risk management features such as fixed stop losses, ta

MT4 Trading robot BreakoutMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Session Sauce
12 stars

This repository is a collection of MetaTrader 4 expert advisors, featuring the XMT-Scalper robot and several legacy systems. XMT-Scalper is an automated scalping strategy designed to trade based on volatility breakouts using indicators like Bollinger Bands and Moving Averages. It includes risk controls such as stop los

MT4 Collection ScalpingBreakoutMean reversion High risk
Updated 11 years ago None stated GitHub repository of XMT-Scalper and EA Collection

Support Resistance EA

by jblanked
11 stars

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu

MT4 Trading robot Trend followingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Support Resistance EA

Monkey Attack Gold Pivot EA

by Monkeyattack
10 stars

This MetaTrader 4 expert advisor focuses on Gold trading using institutional pivot point levels and fractal-based support and resistance zones. The robot filters entries through a combination of RSI, MACD, and moving average alignment, supplemented by a trade quality scoring system. It includes comprehensive risk contr

MT4 Trading robot Mean reversionIndicator crossoverMartingale High risk

Harey

by visualxl
9 stars

Harey is a MetaTrader 4 expert advisor designed to trade mean-reversion setups using a combination of the Relative Strength Index (RSI) and Stochastic indicators. The system triggers trades when both indicators reach their respective overbought or oversold zones simultaneously. It manages risk through user-defined stop

MT4 Trading robot Mean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of Harey

Zobad EA Collection

by zobad16
7 stars

This MetaTrader 4 repository contains a large collection of automated trading systems, including scalpers, grid bots, and trend-following tools. The primary expert advisors utilize indicators such as Bollinger Bands and Average True Range (ATR) for entry and exit signals. Risk management features include percentage-bas

MT4 Collection ScalpingGridTrend following High risk
Updated 7 months ago None stated GitHub repository of Zobad EA Collection

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus
7 stars

This MetaTrader 4 expert advisor provides a robust framework for developing automated trading strategies. It includes pre-built modules for trend detection using ADX and Moving Averages, alongside pullback entry logic. The template emphasizes risk management, featuring percentage-based lot sizing and adaptive volatilit

MT4 Framework & template Trend followingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of Falcon Trading Bot Template
4 stars

This repository is a collection of MetaTrader 4 expert advisors and indicators focused on aggressive trading strategies. The primary expert advisor uses a grid-based approach with martingale lot scaling to manage positions. It features multiple entry logics, including Bollinger Bands, Exponential Moving Averages, and m

MT4 Collection MartingaleGridIndicator crossover High risk

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

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

HolyLamp

by dollarkillerx
3 stars

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

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

Oil Hedge

by vvvf
3 stars

This MetaTrader 4 expert advisor implements a correlation-based hedging strategy between two instruments, typically UKOIL and USOIL. It monitors the price spread between the two assets, opening buy and sell positions simultaneously when the spread expands or narrows beyond defined thresholds. The EA manages exits based

MT4 Trading robot HedgingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of Oil Hedge

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

MT4 Collection Trend followingBreakoutMean reversion High risk Archived

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

Mansa Mussa

by JohnBrandews
2 stars

This MetaTrader 4 expert advisor is an automated trading robot developed using the fxDreema visual building framework. It utilizes an adaptive Relative Strength Index for market analysis and trade execution. The system features risk management controls based on account percentages, including inputs for balance-based si

MT4 Trading robot Mean reversionMartingale High risk
Updated 1 year ago None stated GitHub repository of Mansa Mussa
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
2 stars

This repository contains a collection of MetaTrader 4 expert advisors, with a primary focus on the XMT-Scalper system. The software implements a tick-scalping strategy that identifies reversals from channel breakouts using indicators such as Bollinger Bands and Moving Averages. It includes risk management features incl

MT4 Collection ScalpingBreakoutMean reversion High risk
Updated 5 years ago None stated GitHub repository of XMT Scalper Collection

Guangying Strategy

by sunyourway
2 stars

This collection for MetaTrader 4 and 5 features the Guangying multi-symbol expert advisor alongside various utility tools and martingale-based robots. The primary system monitors multiple forex pairs and gold from a single chart using Fibonacci-derived logic for trade entries. It includes risk controls such as equity d

MT4MT5 Collection MartingaleGridMulti-strategy High risk
Updated 9 years ago None stated GitHub repository of Guangying Strategy

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 EA

Angry Bird

by bobdomo
2 stars

Angry Bird is a MetaTrader 4 expert advisor based on the Ilan 1.6 architecture, utilizing a mean-reversion strategy combined with aggressive risk management. The EA enters trades based on Relative Strength Index (RSI) levels to identify overextended price movements. It employs an exponential martingale lot scaling syst

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 10 years ago None stated GitHub repository of Angry Bird

Puer Tigris

by PuerTigris
1 stars

Puer Tigris is a MetaTrader 4 expert advisor that implements multiple entry strategies, primarily focusing on Bollinger Bands mean reversion. It features a martingale lot scaling system where position sizes are multiplied after a trade is closed, with a configurable limit on the number of recovery levels. The robot use

MT4 Trading robot MartingaleMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Puer Tigris

Axuusd Gold Advisor

by damozycodes
1 stars

This expert advisor is designed specifically for trading gold on the MetaTrader 4 platform. It employs a hybrid strategy approach, allowing users to toggle between trend following using moving average crossovers, mean reversion via RSI and Stochastic divergence, and breakout patterns. Trade management includes automate

MT4 Trading robot Trend followingMean reversionBreakout High risk
Updated 8 months ago None stated GitHub repository of Axuusd Gold Advisor

Hosopi 2

by harukihosono
1 stars

Hosopi 2 is an automated trading robot for MetaTrader 4 and 5 that utilizes a mean-reversion strategy based on Bollinger Bands. The system enters counter-trend trades when price hits the bands and manages positions using a Nanpin martingale approach, layering orders at intervals to average down. Risk controls include t

MT4MT5 Trading robot Mean reversionMartingaleGrid High risk
Updated 10 months ago None stated GitHub repository of Hosopi 2

Mql Coading EA Collection

by Sureshpatil4348
1 stars

This repository provides an extensive collection of MetaTrader 4 and MetaTrader 5 expert advisors, including the Cobra and Pivot Point systems. The included tools utilize strategies ranging from daily pivot level reversals to grid-based recovery and cost-averaging methods. Notable features include ATR-based stop losses

MT4MT5 Collection GridMean reversionMulti-strategy High risk
Updated 1 year ago None stated GitHub repository of Mql Coading EA Collection

This repository provides a diverse collection of expert advisors for the MetaTrader 4 platform. The primary RubberBands EA utilizes Bollinger Bands for mean-reversion, entering when price exceeds the bands and exiting at the center line. It features advanced lot management, including linear and dynamic lot scaling that

MT4 Collection Mean reversionGridMartingale High risk

MQL4 Projects Collection

by AmonCheruiyotHQ
1 stars

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.

MT4 Collection Trend followingMartingaleMulti-strategy High risk

FSB Strategy Collection

by hoanguyen1998
1 stars

This repository provides a collection of over 100 expert advisors for MetaTrader 4 and MetaTrader 5, produced using the Forex Strategy Builder software. The robots are configured for specific forex pairs including GBPUSD, USDJPY, and EURAUD on low timeframes. Trading logic typically combines multiple technical indicato

MT4MT5 Collection Indicator crossoverMean reversionTrend following High risk
Updated 1 year ago None stated GitHub repository of FSB Strategy Collection

Liquidity EA

by badim04
1 stars

This MetaTrader 4 expert advisor automates trading based on liquidity and market structure concepts. It identifies price action landmarks like higher highs, higher lows, lower lows, and lower highs to determine current trend or ranging states. The robot executes trades with distinct stop loss and take profit settings f

MT4 Trading robot SMC / ICT / price actionMean reversionMartingale High risk
Updated 2 years ago None stated GitHub repository of Liquidity EA

EA Sofia

by syarief02
1 stars

EA Sofia is an automated trading robot for MetaTrader 4 that implements a grid-based martingale strategy. It is designed to operate on the M5 timeframe, specifically targeting ranging currency pairs. The EA enters trades and manages positions by layering orders at fixed or incremental distances, using a multiplier to i

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 2 years ago None stated GitHub repository of EA Sofia

Forex Winner EA

by syarief02
1 stars

Forex Winner EA is an automated trading robot for MetaTrader 4 that utilizes Relative Strength Index boundaries and volatility calculations to identify entry points. It employs a martingale-style recovery strategy, using a lot multiplier to scale positions after losses. The EA includes risk management controls such as

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 2 years ago None stated GitHub repository of Forex Winner EA

MegaDroid Pro XE Collection

by ominiraindustries
1 stars

This MetaTrader 4 repository provides a collection of legacy expert advisors, headlined by the MegaDroid Pro XE. These files are curated for educational study and represent older MQL4 development styles. The main robot is a session-based scalper designed for specific forex pairs like EURUSD. It includes specialized ris

MT4 Collection ScalpingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of MegaDroid Pro XE Collection
1 stars

Strawberry Strategy Tester is a MetaTrader 4 expert advisor designed for automated trading and strategy evaluation. It implements Bollinger Band-based entry logic and offers multiple lot sizing methods, including fixed lots, addition, and multiplication. The use of lot multiplication suggests the expert advisor utilize

MT4 Trading robot Indicator crossoverMartingaleGrid High risk
Updated 3 years ago None stated GitHub repository of Strawberry Strategy Tester
1 stars

This expert advisor for MetaTrader 4 is a multi-strategy robot focused on the recovery zone management technique. It offers a wide array of entry signals, including RSI, MACD, Bollinger Bands, and mean-reversion models. When initial trades move into a loss, the system employs an averaging recovery strategy with lot mul

MT4 Trading robot Multi-strategyMean reversionIndicator crossover High risk
1 stars

This repository is a collection of several MetaTrader 4 expert advisors, including robots based on RSI and MACD crossovers, engulfing patterns, and pending order strategies. The primary code provided utilizes a combination of the Relative Strength Index (RSI) for overbought and oversold detection and Moving Average Con

MT4 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Forex Code MQL4 Collection

Saikyou RSI Breakout

by chanmoto
1 stars

This MetaTrader 4 expert advisor implements a counter-trend strategy based on RSI trendline breakouts and price prediction indicators. It enters trades when the RSI breaks out of support or resistance lines and manages positions using a grid-based approach. The system layers limit and stop orders at fixed intervals, em

MT4 Trading robot BreakoutMean reversionMartingale High risk
Updated 4 years ago None stated GitHub repository of Saikyou RSI Breakout

Arbitrage Expert

by wawaw237zz
1 stars

Arbitrage Expert is a MetaTrader 4 expert advisor that focuses on a zone recovery hedging strategy rather than traditional arbitrage. Based on the OGT Zone Recovery system, it manages trades by opening counter-positions within a defined price zone when an initial trade goes into drawdown. The system employs a lot multi

MT4 Trading robot HedgingMartingaleMean reversion High risk
Updated 4 years ago None stated GitHub repository of Arbitrage Expert

Matrix Martingale

by derek-mu
1 stars

Matrix Martingale is a MetaTrader 4 expert advisor designed to trade price action based on previous candle ranges. It utilizes a fixed Martingale lot scaling sequence across ten levels to manage trades. Entries are determined by Fibonacci levels, specifically placing orders at 25% or 50% retracements of the previous ca

MT4 Trading robot MartingaleMean reversion High risk
Updated 5 years ago None stated GitHub repository of Matrix Martingale

MFI Expert

by Hamzeh24w
1 stars

This MetaTrader 4 expert advisor implements a trading strategy centered on the Money Flow Index (MFI) indicator. It opens buy positions when the MFI crosses below a user-defined threshold and sell positions when it crosses above a threshold. To manage losing trades, the EA employs a martingale-style lot scaling mechani

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 5 years ago None stated GitHub repository of MFI Expert

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303

IBand EA

by Anter10
1 stars

This MetaTrader 4 repository provides a collection of expert advisors, featuring the IBandEA system designed for gold trading on the 5-minute timeframe. The robot executes trades based on price deviations from a central indicator line and specific candle high-low ranges. It incorporates risk management through a lot si

MT4 Collection Mean reversionMartingaleIndicator crossover High risk
Updated 6 years ago None stated GitHub repository of IBand EA

Fujii MQL4 EA Collection

by FujiiKairi
1 stars

This repository is a collection of over forty MetaTrader 4 expert advisors covering various trading styles and market conditions. It features the EA31337 multi-strategy framework alongside specialized bots for currency strength, New York session breakout patterns, and Heikin Ashi trend following. The collection include

MT4 Collection Multi-strategyBreakoutTrend following High risk
Updated 6 years ago None stated GitHub repository of Fujii MQL4 EA Collection

RSI Grid

by jensengelke
1 stars

This MetaTrader 4 expert advisor executes a mean-reversion strategy driven by the Relative Strength Index. It enters trades when the RSI indicates overextended price levels and manages them using a grid-based approach. The EA scales lot sizes using a martingale factor and allows for position layering at specified dista

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 6 years ago None stated GitHub repository of RSI Grid

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