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.

19 EAs match Clear filters
Platform
Type
Trading robot 12Trade managerRisk & protectionNews tradingCopier & bridgeFramework & templateCollection 7Utility
Market
Forex 14Gold 4Crypto 1IndicesOil & commoditiesAny symbol 3
Timeframe

Free Expert Advisor

by ersingencturk
35 stars

This MetaTrader 4 expert advisor is a scalper designed for the five-minute timeframe across several Forex pairs. It utilizes three strategies based on overbought and oversold market conditions to execute trades. Risk management features include a fixed hard stop loss, a virtual take profit and stop loss derived from an

MT4 Trading robot ScalpingMean reversion
Updated 9 years ago BSD-3-Clause GitHub repository of Free Expert Advisor

Project Eingana

by ThePathsOfSaga
13 stars

This MetaTrader 4 repository contains a collection of expert advisors developed for the Eingana social trading project. It features multiple strategies, including a Keltner Channel-based mean-reversion system for pairs like EURNZD and EURAUD, alongside a EURUSD scalper. The robots typically enter trades when price acti

MT4 Collection Mean reversionScalping
Updated 6 years ago GPL-3.0 GitHub repository of Project Eingana
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

Mforex Smart Scalper

by francomascareloai
9 stars

This MetaTrader 4 expert advisor is designed for gold scalping using a combination of Relative Strength Index and Exponential Moving Average indicators. It identifies entry points when momentum reaches specific overbought or oversold thresholds while considering moving average trends. The system manages risk through fi

MT4 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of Mforex Smart Scalper

Three Bar Play EA

by OwaisQuadri
8 stars

Three Bar Play EA is a MetaTrader 4 robot designed for scalping based on three-bar price action patterns, specifically confirmations and reversals. The system manages risk by limiting execution to three trades per day and calculating position sizes based on a 2% account balance risk model. Upon identifying a setup, it

MT4 Trading robot ScalpingMean reversion
Updated 6 years ago None stated GitHub repository of Three Bar Play EA

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

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

Ray Scalper

by ThePathsOfSaga
2 stars

Ray Scalper is an automated expert advisor for MetaTrader 4 that uses technical indicators to trade both trend-following and counter-trend strategies. It monitors Bollinger Bands, Moving Averages, and Stochastic crossovers to trigger entries. The robot allows users to toggle between trend and anti-trend modes and inclu

MT4 Trading robot ScalpingIndicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Ray Scalper

Mt4 Develop Collection

by xianGuiye
2 stars

This repository features a collection of MetaTrader 4 expert advisors designed for various trading approaches. The included M5_M30integral EA utilizes moving average crossovers across multiple timeframes for trend detection. Other scripts employ envelope scalping at specific standard deviations and Bollinger Band strat

MT4 Collection Indicator crossoverMean reversionScalping High risk

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

AntiLatency Sniper EA

by themusafirr
1 stars

This algorithmic scalping robot for MetaTrader 4 and 5 uses a five-factor confluence engine to identify trade entries. It monitors RSI extremes, Bollinger Band breakouts, MACD momentum, EMA ribbons, and volume acceleration. The EA employs percentage-based risk management with a strict stop loss and a flexible take prof

MT4MT5 Trading robot ScalpingTrend followingMean reversion
Updated 5 days ago None stated GitHub repository of AntiLatency Sniper EA

Gold Liquidity Scalper

by amirmohamadkazemi0933
1 stars

This MetaTrader 4 expert advisor is designed for XAUUSD scalping on the M1 timeframe. It switches logic based on market regimes: in trending markets, it follows the higher timeframe direction using EMA reversals and breakout entries, while in ranging markets, it executes trades based on liquidity sweeps at price extrem

MT4 Trading robot ScalpingSMC / ICT / price actionTrend following
Updated 2 months ago None stated GitHub repository of Gold Liquidity Scalper
1 stars

The BU ATR Breakeven Engulfing is a MetaTrader 4 robot that executes trades based on candlestick price action and volatility indicators. It identifies entry points using bullish and bearish engulfing patterns, which are then filtered through the Relative Strength Index to confirm momentum. The system incorporates dynam

MT4 Trading robot SMC / ICT / price actionMean reversionScalping

HFT Illusion

by EspacoTrader
1 stars

HFT Illusion is a MetaTrader 4 expert advisor that employs a multi-factor trigger system based on market sentiment and volatility metrics. It evaluates data points including BidRatio, Buy/Sell Ratio, Relative Strength, and Average Daily Range across various timeframes to identify trade entries. The robot supports autom

MT4 Trading robot ScalpingMean reversion
Updated 3 years ago None stated GitHub repository of HFT Illusion

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

Envelope Scalper

by ahsodhi
1 stars

This MetaTrader 4 expert advisor executes a scalping strategy focused on the 5-minute timeframe. It monitors price action relative to the Envelopes indicator, initiating trades when price crosses back inside the indicator boundaries after a deviation. The robot includes risk management controls through fixed take profi

MT4 Trading robot ScalpingMean reversion
Updated 8 years ago None stated GitHub repository of Envelope Scalper

Krisha Scalper

by Daiwv
1 stars

Krisha Scalper is an automated trading robot for the MetaTrader 4 platform that identifies potential entry points using ATR and EMA indicators. The expert advisor implements several risk management layers, including percentage-based lot sizing, a maximum loss limit in points, and a trailing step feature. It supports pa

MT4 Trading robot ScalpingMean reversionIndicator crossover
Updated 9 years ago None stated GitHub repository of Krisha Scalper

ETTrading

by Pipal2k
1 stars

ETTrading is a collection of MetaTrader 4 expert advisors featuring a primary channel-based scalping robot and several standard indicator-driven strategies including MACD and Moving Average crossovers. The core automated system utilizes a channel formed by moving averages to identify entry points, primarily targeting s

MT4 Collection ScalpingIndicator crossoverMartingale High risk
Updated 10 years ago None stated GitHub repository of ETTrading

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