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.

62 EAs match Clear filters

XAUUSD Forex Trader

by frkn2076
31 stars

This expert advisor for MetaTrader 4 focuses on gold trading using daily price extremes and moving averages. It calculates the 7-day Simple Moving Average and identifies the highest price points from the previous five trading days to determine market direction. The EA executes its logic on a five-second timer interval

MT4 Trading robot Mean reversionBreakout
Updated 5 years ago None stated GitHub repository of XAUUSD Forex Trader

Spike Trader

by EarnForex
29 stars

Spike Trader is a price action robot for MetaTrader 4 and 5 that identifies price spikes to trade market reversals. It monitors candle highs or lows relative to preceding bars and requires a specific percentage price jump and candle close position to trigger an entry. The EA enters trades in the opposite direction of t

MT4MT5 Trading robot Mean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Spike Trader

CRT Turtle Soup EA

by n30dyn4m1c
21 stars

This MetaTrader 5 expert advisor scans over 60 financial instruments to identify Turtle Soup reversal setups based on Candle Range Theory. It monitors price action for specific three-candle patterns involving a range, a false breakout with a long wick, and a subsequent reversal. The EA operates as an alert-only utility

MT5 Utility Mean reversionSMC / ICT / price action

Persistent Anti

by EarnForex
12 stars

Persistent Anti is a technical expert advisor for MetaTrader 4 and 5 that attempts to exploit the statistical persistence or anti-persistence of price trends. It analyzes a user-defined number of historical candles to determine if the market is currently repeating or reversing its previous directional movements. The ro

MT4MT5 Trading robot Mean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Persistent Anti

SR Expert

by OwaisQuadri
11 stars

SR Expert is a MetaTrader 4 robot that executes trades based on price reversals at support and resistance levels. It determines key levels by analyzing daily high and low price data to calculate dynamic trading intervals. The expert advisor features automated position sizing calculated as a percentage of the account ba

MT4 Trading robot Mean reversion
Updated 6 years ago None stated GitHub repository of SR Expert

Trading Signals

by CDrosos
10 stars

A notification utility for MetaTrader 4 that monitors multiple technical indicators to generate trade alerts. It tracks moving average crossovers, specifically the 50 and 200 periods, along with Relative Strength Index levels, Bollinger Band breakouts, and MACD confirmations. Users can configure the tool to send notifi

MT4 Utility Indicator crossoverMean reversion
Updated 4 years ago None stated GitHub repository of Trading Signals

DaxAlgo Trading Strategies

by dhruuvsharma
9 stars

This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l

MT5 Collection ScalpingMean reversionTrend following
9 stars

This MetaTrader 5 expert advisor executes a counter-trend strategy utilizing Bollinger Bands and the Slow Stochastic oscillator. Developed as part of academic research into deep learning and technical analysis, the robot incorporates Heiken Ashi filtering to identify market extensions and doji candles. It manages risk

MT5 Trading robot Mean reversionAI / machine learning
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

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

Strategy TMA CG

by EA31337
3 stars

This MetaTrader 5 expert advisor implements a trading strategy based on the TMA+CG (Triangular Moving Average and Center of Gravity) indicator. Developed using the EA31337 framework, the robot utilizes the non-repainting version of the indicator to identify market entries. It features a multi-timeframe capability, enab

MT5 Trading robot Mean reversionTrend following
Updated 2 years ago None stated GitHub repository of Strategy TMA CG

Strategy Pinbar

by EA31337
3 stars

Strategy Pinbar is an automated trading robot for MetaTrader 5 that identifies entry points using pinbar candlestick patterns. The EA enhances signal accuracy by applying Relative Strength Index (RSI) and Commodity Channel Index (CCI) filters to confirm market conditions. Built upon the EA31337 framework, the system is

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Strategy Pinbar
3 stars

This MetaTrader 4 expert advisor implements a mean-reversion strategy using Bollinger Bands and the Relative Strength Index (RSI). Intended as an educational starting point for programmers, it enters trades when the price crosses specific standard deviation bands while RSI confirms overbought or oversold conditions. Th

MT4 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of Bollinger Band Strategy 1

This repository offers a collection of MetaTrader 4 expert advisors focused on technical indicator triggers and price action. The suite includes tools for trading moving average crossovers, ADX momentum, and Stochastic oscillators. A dedicated EA identifies specific candlestick patterns such as Three White Soldiers and

MT4 Collection Indicator crossoverTrend followingMean reversion

Wealth Protector

by edwardlorilla
3 stars

Wealth Protector is a MetaTrader 4 expert advisor designed for automated trading using technical indicators. It combines price envelopes and ZigZag parameters to determine market entries and exits. While described by the author as a scalping tool, it is specifically configured for use on the daily timeframe. The system

MT4 Trading robot ScalpingMean reversion
Updated 6 years ago None stated GitHub repository of Wealth Protector

Tre Boll Trend

by linbirg
3 stars

Tre Boll Trend is a MetaTrader 4 Expert Advisor designed to identify and trade market trends using multi-timeframe Bollinger Band analysis. The system processes data from timeframes ranging from five minutes to one day, calculating advanced metrics such as price velocity, acceleration, and standard deviation. It monito

MT4 Trading robot Trend followingIndicator crossoverMean reversion
Updated 7 years ago None stated GitHub repository of Tre Boll Trend
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion

Sumting Wong EA

by definitelyfkd
2 stars

This multistrategy expert advisor for MetaTrader 5 combines currency strength analysis, breakout/reversal logic, and swap carry trading. It targets various markets including forex, gold, oil, indices, and crypto. Trade execution involves ATR-based stop losses, multiplier-based take profits, and partial closing mechanis

MT5 Trading robot BreakoutMean reversionMulti-strategy
Updated 3 months ago None stated GitHub repository of Sumting Wong EA

This MetaTrader 5 expert advisor implements a candlestick pattern breakout and mean-reversion strategy. It identifies specific sequences of three candles to determine market entry points. The robot places pending buy stop, sell stop, and buy limit orders at fixed distances from previous price extremes to target liquidi

MT5 Trading robot BreakoutMean reversion

Chimera

by keyalgos
2 stars

Chimera is an automated trading system for MetaTrader 5 designed to trade XAUUSD through multi-asset confluence. It analyzes price action across several timeframes, from M5 to H4, and incorporates inverse correlation filters using the US Dollar Index and US30. The EA identifies entries using harmonic patterns and RSI d

MT5 Trading robot Trend followingMean reversionMulti-strategy
Updated 6 months ago None stated GitHub repository of Chimera
2 stars

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

MT5 Trading robot Mean reversionBreakoutIndicator crossover
2 stars

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

MT5 Collection Mean reversionIndicator crossoverTrend following

Kronos

by PlacidoMaidana
2 stars

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

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

Medula SMC EA

by gurupirataurai92-wq
1 stars

This MetaTrader 5 expert advisor utilizes Smart Money Concepts and pure price action to execute trades without traditional technical indicators. By analyzing raw candle data, it identifies market structures, order blocks, and various fair value gaps. The system includes multiple versions, ranging from simple price acti

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
Updated 6 days ago None stated GitHub repository of Medula SMC EA

Daily Sweep EA

by spice2807
1 stars

This MetaTrader 5 expert advisor implements the Daily Sweep strategy, focusing on Swing Failure Patterns. It monitors high-timeframe liquidity levels and executes trades on lower timeframes when price sweeps these zones. The robot manages entries during defined session hours, such as the New York session, and exits bas

MT5 Trading robot SMC / ICT / price actionMean reversion
Updated 10 days ago None stated GitHub repository of Daily Sweep EA

Garxy Fenx Lite

by VelSepia
1 stars

Garxy Fenx Lite is a trading framework for MetaTrader 5 that uses a multi-engine architecture to analyze market conditions and execute trades. The robot evaluates volatility, trend, and range data to calculate confidence scores for strategy and risk before opening positions. It manages trades using either fixed point t

MT5 Trading robot Trend followingMean reversionMulti-strategy
Updated 7 weeks ago None stated GitHub repository of Garxy Fenx Lite

Harmonic Five

by AwareSet
1 stars

Harmonic Five is a MetaTrader 5 trading suite designed for harmonic pattern detection and execution across forex, gold, indices, and cryptocurrencies. It identifies ABCD, Gartley, Bat, Butterfly, and Crab formations using Fibonacci geometry. The included expert advisor handles entries on fresh patterns and manages exit

MT5 Collection Mean reversion
Updated 2 months ago None stated GitHub repository of Harmonic Five

Acteck QA5

by Evgeniy-makdak
1 stars

Acteck QA5 is an analytical tool for MetaTrader 5 that performs quantitative analysis on historical price movements to identify trend segments and potential reversal zones. It utilizes a user-defined volatility filter in pips to categorize waves and calculates the mathematical probability of price exhaustion based on h

MT5 Utility Trend followingMean reversion
Updated 2 months ago None stated GitHub repository of Acteck QA5

H4 EMA Pullback Next Level

by Mohamed-Kathree
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy on the H4 timeframe by identifying pullbacks to the 50-period Exponential Moving Average. It utilizes the 200 EMA to define the primary trend and the 21 EMA to confirm momentum recovery after a pullback. The EA enters trades based on price rejec

MT5 Trading robot Trend followingMean reversion
Updated 3 months ago None stated GitHub repository of H4 EMA Pullback Next Level

MT5 AutoEA

by Asura-lab
1 stars

MT5 AutoEA is a multi-strategy trading robot for MetaTrader 5 that utilizes an ensemble approach to market participation. It incorporates over twenty modular strategies, including trend following, mean reversion, and breakouts, which can be toggled individually. The EA supports two execution modes: a portfolio mode for

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 3 months ago None stated GitHub repository of MT5 AutoEA

Nasdaq Trading Bot Collection

by alejandrolunas7
1 stars

This repository features two MetaTrader 5 expert advisors specifically designed for Nasdaq indices. The first strategy utilizes a mean reversion approach based on the RSI-2 indicator on daily charts to identify oversold entries within a broader uptrend. The second strategy is a trend-following system for the M15 timefr

MT5 Collection Mean reversionTrend followingIndicator crossover
Updated 3 months ago None stated GitHub repository of Nasdaq Trading Bot Collection

Advanced KT Trader

by Valenteeno
1 stars

Advanced KT Trader is a price action robot for MetaTrader 5 that specializes in trading the Kangaroo Tail candlestick pattern. It employs a sophisticated scoring system to filter entries based on tail-to-body ratios and candle positioning. The strategy integrates support and resistance zone confluence alongside 200 EMA

MT5 Trading robot SMC / ICT / price actionMean reversionTrend following
Updated 3 months ago Custom licence GitHub repository of Advanced KT Trader
1 stars

This repository is a collection of MetaTrader 5 expert advisors focusing on quantitative research and price action strategies. It includes implementations of Smart Money Concepts and Inner Circle Trader methods, such as Order Blocks, Fair Value Gaps, and liquidity sweeps. Other components feature Ichimoku Kinko Hyo tre

MT5 Collection SMC / ICT / price actionTrend followingMean reversion

AI Quant Strategy Lab

by Vinu-Kevin-Diesel
1 stars

This MetaTrader 5 framework provides a suite of expert advisors optimized for Gold trading using advanced signal processing. It employs a Hidden Markov Model to classify the market into five regimes, filtering entries based on current volatility and trend strength. The logic utilizes Gaussian IIR filters for lag-reduce

MT5 Collection Trend followingMean reversionAI / machine learning

MT5 Strategies Collection

by vincentwongso
1 stars

This repository provides a collection of expert advisors for MetaTrader 5, featuring various technical strategies. The primary implementation is the Trading Made Simple system, which utilizes Hull Moving Average crossovers, Heiken Ashi candles, and Stochastic filters to identify entry signals. Other included robots foc

MT5 Collection Indicator crossoverBreakoutScalping
Updated 7 months ago None stated GitHub repository of MT5 Strategies Collection
1 stars

This repository contains a collection of MetaTrader 4 and MetaTrader 5 utilities focused on technical analysis and automated trading. Key expert advisors include a binary options dashboard that monitors RSI levels and trendline breakouts across multiple timeframes, and a currency strength trader for automated entries.

MT4 Collection Trend followingBreakoutMean reversion
Updated 8 months ago None stated GitHub repository of MetaTrader Indicators and EAs

Project Chimera

by S44dMas00d
1 stars

Project Chimera is an algorithmic trading robot for MetaTrader 5 that executes trades on XAUUSD. The system employs a modular architecture to synthesize signals from RSI divergence, harmonic patterns, and trend confirmation across multiple timeframes. It utilizes a multi-asset correlation filter monitoring the US Dolla

MT5 Trading robot Trend followingMean reversionMulti-strategy
Updated 9 months ago None stated GitHub repository of Project Chimera

Gold FX EA

by ajeet-trader
1 stars

Gold FX EA is a multi-asset trading robot for MetaTrader 5 that functions as a modular framework for various technical strategies. It allows users to toggle specific modules for forex, gold, silver, cryptocurrencies, and commodities. Strategies include trend following with moving averages, Bollinger Band mean reversion

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 9 months ago None stated GitHub repository of Gold FX EA
1 stars

This collection for MetaTrader 5 provides several trend-following Expert Advisors based on technical indicators such as Ichimoku Kinko Hyo and Simple Moving Averages. The included robots utilize multi-timeframe analysis, sensitive SMA slope detection, and candlestick pattern recognition to identify entry points. Risk m

MT5 Collection Trend followingIndicator crossoverMean reversion

Swing Trading EA

by JonusNattapong
1 stars

This expert advisor for MetaTrader 5 implements a medium-term swing trading strategy using multiple technical indicators. It identifies entries through two primary methods: trend reversals and breakouts from consolidation zones. The reversal logic utilizes Fibonacci retracement levels combined with Stochastic and MACD

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago None stated GitHub repository of Swing Trading EA

HipoAlgoritm

by Khajavi8056
1 stars

This MetaTrader 5 expert advisor provides an automated trading system designed for Forex, Bitcoin, Gold, and various indices. It employs technical analysis filters including RSI levels and Moving Average price distance to identify entries. Risk management features include flexible lot sizing based on account equity or

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

Krsna Daily EA

by rahuldhangar
1 stars

Krsna Daily EA for MetaTrader 5 is an automated trading robot that executes trades based on price action patterns of custom-defined daily candles. Users can set a specific starting hour for the trading day, and the EA plots visual candle overlays on the chart. It places buy or sell limit orders at specific retracement

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago MIT GitHub repository of Krsna Daily EA

H4 XAUUSD Candlestick EA

by SimonMonnier
1 stars

This MetaTrader 4 expert advisor is designed specifically for trading Gold (XAUUSD) on the H4 timeframe. It employs a combination of technical indicators, including the Relative Strength Index (RSI), Stochastic Oscillator, and Ichimoku Kinko Hyo. The strategy monitors overbought and oversold levels while using the Ichi

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of H4 XAUUSD Candlestick EA

Strategy Meta RSI

by EA31337
1 stars

Strategy Meta RSI is an Expert Advisor for MetaTrader 5 that utilizes a meta-strategy approach to execute trades. It selects and alternates between different internal trading strategies depending on the current daily Relative Strength Index value. Built on the EA31337 framework, it supports simultaneous operation acros

MT5 Trading robot Multi-strategyMean reversion
Updated 2 years ago None stated GitHub repository of Strategy Meta RSI

Strategy TMA SVEBB

by EA31337
1 stars

This MetaTrader 5 expert advisor implements a contrarian trading strategy using Triangular Moving Average (TMA) bands and Sylvain Vervoort's Bollinger Bands (SVEBB). Built on the EA31337 framework, it monitors multiple timeframes simultaneously to identify potential price reversals. The EA uses technical indicators to

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Strategy TMA SVEBB

Strategy Chaikin

by EA31337
1 stars

Strategy Chaikin is a MetaTrader 5 expert advisor that automates trades using the Chaikin Oscillator (CHO) indicator. Developed using the EA31337 framework, the robot monitors market momentum and volume accumulation to identify potential entry and exit points. It supports multi-timeframe operations, allowing users to a

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of Strategy Chaikin
1 stars

This MetaTrader 4 expert advisor focuses on identifying and trading trend reversals using price action patterns, specifically pin bars. It operates as an automated robot that monitors market conditions to execute entries based on reversal signals. The EA features an extensive graphical user interface that displays real

MT4 Trading robot Mean reversionSMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Reverse Trend Pinbar Trader

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