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.

83 EAs match Clear filters

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

SuperMao is an automated trading robot for MetaTrader 4 that executes trades based on technical indicator configurations. The repository includes variations of the strategy, specifically utilizing Ichimoku Kinko Hyo for trend identification and a combination of Bollinger Bands with MACD crossovers for momentum-based en

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of SuperMao Trading Robot

NNFX Backtest C1

by goncaloe
34 stars

NNFX Backtest C1 is a specialized utility for MetaTrader 4 designed to evaluate external confirmation indicators using the No Nonsense Forex methodology. It enables users to backtest custom indicators by defining signal logic such as two-line crossovers, zero-line crosses, or histogram changes. The system manages risk

MT4 Utility Trend followingIndicator crossover

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

Super Trading Collection

by RoyluxuryTrading
24 stars

This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management

MT4MT5 Collection Trend followingScalpingAI / machine learning High risk

Binario

by EarnForex
20 stars

Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista

MT4MT5 Trading robot BreakoutTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Binario

Tobiah Rex EA

by TobiahRex
17 stars

This MetaTrader 4 expert advisor is an automated trading system designed for technical analysis using trend and momentum indicators. It incorporates multiple exponential and simple moving averages, RSI with integrated smoothing periods, and MACD. The EA manages risk through dynamic lot sizing based on account percentag

MT4 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Tobiah Rex EA

Hybrid Swing EA

by clevergoldfox
15 stars

This MetaTrader 4 expert advisor executes a regime-gated breakout strategy specifically optimized for XRP and ETH markets. It operates on the H4 timeframe, utilizing Bollinger Bands for entry signals coupled with ADX and ATR filters to identify high-volatility trend environments. The EA employs a one-shot entry approac

MT4 Trading robot BreakoutTrend following
Updated 8 months ago None stated GitHub repository of Hybrid Swing EA

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

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market

MT4MT5 Collection Indicator crossoverMartingaleGrid High risk
12 stars

This MetaTrader 4 expert advisor implements the No Nonsense Forex (NNFX) trading algorithm. It utilizes a modular structure comprising a baseline indicator for trend direction, dual confirmation signals, and a volume filter to detect market volatility. The system includes specific NNFX rules such as the seven-candle ru

MT4 Trading robot Trend following

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

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

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

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

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

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

EA HiLo

by yuriodilon
6 stars

EA HiLo is an automated trading robot for MetaTrader 4 that utilizes the HiLo Activator indicator for signal generation. It executes buy orders when the price closes above the indicator and sell orders when it closes below. The system includes a directional filter based on a moving average to confirm market trends befo

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 5 years ago None stated GitHub repository of EA HiLo

Nnfx Autotrader

by henriquepfeifer
5 stars

This Expert Advisor for MetaTrader 4 implements the No Nonsense Forex (NNFX) methodology on the daily timeframe. It manages 27 forex pairs by scanning for signals shortly before the daily candle close to optimize spread costs. The EA handles trade entries, partial scaling out, and trailing stops based on Average True R

MT4 Trading robot Trend following
Updated 4 years ago MIT GitHub repository of Nnfx Autotrader

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

Clarissa EA

by Lucas170
5 stars

Clarissa is a MetaTrader 4 expert advisor that automates a momentum-based strategy utilizing price action and volatility indicators. It identifies entry opportunities by comparing Monday's price change to the 14-period Average True Range (ATR) on a daily timeframe. For trade management, the EA features volatility-based

MT4 Trading robot Breakout
Updated 6 years ago None stated GitHub repository of Clarissa EA

Git Gpa Collection

by shidatonglin
5 stars

GitGpa is an extensive repository of MetaTrader 4 expert advisors, primarily featuring implementations of the OzFX strategy alongside various technical indicator-based bots. The collection includes tools for trend chasing, breakout trading, and moving average crossovers. These experts incorporate multiple risk manageme

MT4 Collection Trend followingBreakoutIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of Git Gpa 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

Trade0h Forex Bot Collection

by namnhatpham1995
4 stars

This collection provides several automated trading scripts for MetaTrader 4, with a primary focus on the Trade0h expert advisor. The robot monitors daily opening prices to execute trades at the start of the trading day. It incorporates a martingale lot scaling system that multiplies position sizes based on previous tra

MT4 Collection Martingale High risk
3 stars

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

MT4MT5 Collection SMC / ICT / price actionScalpingBreakout High risk

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

PipFinite Breakout EA

by martycode49
3 stars

This automated expert advisor for MetaTrader 4 utilizes the PipFinite suite of indicators to identify market entries. It integrates the PipFinite Breakout Analyzer and Strength Meter to execute long and short positions when specific threshold levels and entry percentages are met. The EA manages risk through user-define

MT4 Trading robot BreakoutTrend following
Updated 4 years ago None stated GitHub repository of PipFinite Breakout EA

NNFX EA

by dnshouse
3 stars

This MetaTrader 4 expert advisor implements the No Nonsense Forex methodology using a clean, object-oriented programming architecture. The robot manages trade entries and exits based on a modular indicator stack, allowing users to easily swap or add technical indicators via wrapper classes. It is specifically designed

MT4 Trading robot Trend following
Updated 5 years ago MIT GitHub repository of NNFX EA
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

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

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

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

Xingtai MQ4 Collection

by huoliang2012
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including implementations based on Moving Averages and MACD indicators. The primary EA uses a moving average crossover strategy to identify entry points and manage positions. It features a lot-sizing module that adjusts volume based on available mar

MT4 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of Xingtai MQ4 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

RSI Bands Breaker

by visualxl
2 stars

This MetaTrader 4 expert advisor implements a breakout strategy using Bollinger Bands, the Relative Strength Index (RSI), and a Simple Moving Average (SMA). Optimized for AUD/JPY, it identifies periods of low volatility through a Bollinger Band squeeze before entering trades on a price breakout confirmed by RSI momentu

MT4 Trading robot BreakoutTrend following
Updated 2 years ago None stated GitHub repository of RSI Bands Breaker

This repository features MetaTrader 4 expert advisor templates focused on technical indicator integration and price action patterns. The included files utilize simple and exponential moving averages alongside fractal and candlestick pattern detection, such as hammers and stars. Trade management is handled through time-

MT4 Collection Indicator crossoverSMC / ICT / price action

Swing NNFX Framework

by BenoitDurandIndep
2 stars

This MetaTrader 4 framework provides a modular environment for developing and backtesting expert advisors based on the No Nonsense Forex methodology. It includes functional swing trading robots that utilize baseline indicators, multiple confirmation layers, and volatility filters to identify entries. The system feature

MT4 Framework & template Trend followingMulti-strategy
Updated 3 years ago GPL-3.0 GitHub repository of Swing NNFX Framework

Trading Bot FX

by dre10155
2 stars

Trading Bot FX is an automated expert advisor for MetaTrader 4 designed to trade twenty-seven currency pairs. It implements a trend-following strategy using a customizable baseline moving average, such as LWMA or SMA, alongside the SSL Channel indicator to determine market direction. To filter entries, the robot utiliz

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Trading Bot FX

Uncle Bean BWMFI MA

by TheUncleWhoGrowsBeans
2 stars

This MetaTrader 4 expert advisor utilizes a strategy combining Bill Williams Market Facilitation Index colors and Moving Averages. It features a multi-currency scanner that allows the robot to monitor and trade multiple symbols from a single chart using a comma-separated input list. Traders can toggle a filter to only

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Uncle Bean BWMFI MA

Anton Voronezh EA Collection

by AntonVoronezh
2 stars

This repository contains a collection of MetaTrader 4 expert advisors designed for automated forex trading. The robots implement a loss-recovery mechanism that scales lot sizes based on the cumulative deficit of previous losing trades. Each EA includes adjustable parameters for stop loss and take profit targets to mana

MT4 Collection MartingaleMulti-strategy High risk
2 stars

This repository contains five MetaTrader 4 Expert Advisors focused on technical indicator strategies. The robots implement multi-timeframe stochastic logic, single exponential moving average crosses for mean reversion or trend following, and classic dual moving average crossovers. Each system manages its own exits thro

MT4 Collection Indicator crossoverMulti-strategy

Telegram Scraper

by tnickel
1 stars

This repository functions as an automated tool and collection for extracting Expert Advisors from Telegram chats. It provides a pipeline to download, structure, and analyze MetaTrader files using LLM-based processing and a centralized SQLite dashboard. The collection includes various robots like Gold Trade Pro and Spac

MT4MT5 Collection Multi-strategyMartingaleGrid High risk
Updated 3 months ago None stated GitHub repository of Telegram Scraper

Inside Bar Grid EA

by danielworthy
1 stars

This MetaTrader 4 robot implements a grid-based hedging strategy triggered by inside bar price formations. It places multiple pending orders on both sides of a breakout and uses martingale lot scaling to increase position sizes for subsequent entries. The expert advisor is designed for the H4 and Daily timeframes, util

MT4 Trading robot BreakoutGridMartingale High risk
Updated 6 months ago None stated GitHub repository of Inside Bar Grid EA

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

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