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.

39 EAs match Clear filters
645 stars

This collection of MetaTrader 5 expert advisors implements various technical strategies using indicators such as Moving Averages, MACD, and the Andean Oscillator. It includes a specific tool for trading based on Commitment of Traders data combined with SuperTrend signals. Most robots in the repository incorporate a gri

MT5 Collection Indicator crossoverScalpingGrid High risk

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

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

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

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

Smart Grid Martingale EA

by chenhengyi53-design
9 stars

This MetaTrader 5 expert advisor executes a grid trading strategy enhanced with martingale lot scaling. The system identifies market direction through multi-timeframe analysis using Exponential Moving Averages and the Average Directional Index. It features dynamic grid spacing that adjusts based on market volatility an

MT5 Trading robot GridMartingaleTrend following High risk
Updated 7 months ago None stated GitHub repository of Smart Grid Martingale 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

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

This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo

MT5 Trading robot ScalpingMartingaleGrid High risk
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
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

Zerith EA Collection

by BlamzKunG
3 stars

This MetaTrader 5 repository provides a suite of algorithmic trading tools known as the Zerith series. The featured SwingGrid EA utilizes ADX trend filters and ATR-based volatility thresholds to execute trades, employing a recovery grid system with dynamic lot multipliers. Other tools in the set cover news straddle bre

MT5 Collection GridMartingaleSMC / ICT / price action High risk

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 7 months ago None stated GitHub repository of AutoTrade EA

Bot Trend

by uselinuxdev
3 stars

Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.

MT5 Trading robot Trend followingGridMartingale High risk
Updated 8 months ago None stated GitHub repository of Bot Trend

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

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

This collection for MetaTrader 5 provides several automated Expert Advisors designed for various symbols including forex, gold, and indices. The repository features Mecha Godzilla, a grid trading system using ATR-based spacing and bidirectional orders, alongside specialized bots for Asian session breakouts and H4 trend

MT5 Collection GridBreakoutTrend following High risk

XAUUSD Basket Trailing EA

by Muhammad-TalhaK
2 stars

This MetaTrader 5 expert advisor implements a basket-trading strategy specifically for XAUUSD. It opens an initial position based on the current short-term trend and enters additional trades at fixed intervals if the market moves against the basket. The robot utilizes a progressive lot-sizing model to manage the grid.

MT5 Trading robot GridTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of XAUUSD Basket Trailing EA

MultiSignal DCA CCBSN

by 26730023-PhamPhuNguyenHung
2 stars

This MetaTrader 5 expert advisor provides a versatile trading framework featuring nine selectable entry signals, including Ichimoku, RSI, Bollinger Bands, and EMA crossovers. It employs a Dollar Cost Averaging strategy with configurable lot multipliers and distance scaling to manage positions. A notable feature is the

MT5 Trading robot Trend followingGridMartingale High risk
Updated 6 months ago None stated GitHub repository of MultiSignal DCA CCBSN
2 stars

This MetaTrader 4 repository contains a collection of expert advisors and utilities, primarily focused on the AM grid robot and various scalping scripts. The main EA employs a grid-based strategy that layers orders at specific distances and includes settings for trend and counter-trend protection. It features a mechani

MT4 Collection GridScalpingTrend following High risk
Updated 2 years ago None stated GitHub repository of Lianxi EA Collection

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

This repository contains a collection of MetaTrader 4 expert advisors and technical indicators focused on automated trading logic. The included robots primarily utilize martingale and grid-based strategies, featuring lot scaling and distance-based order layering. Entry signals are generated through indicators like Boll

MT4 Collection MartingaleGridIndicator crossover High risk

Forex Setka Trader

by Aomforex
2 stars

Forex Setka Trader is an automated grid trading robot designed for the MetaTrader 4 platform. It operates primarily on the M1 timeframe, opening a series of trades at fixed intervals defined by a step parameter. The expert advisor employs martingale-style lot scaling through a multiplier factor to manage basket positio

MT4 Trading robot GridMartingale High risk
Updated 4 years ago None stated GitHub repository of Forex Setka Trader
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

Adaptive DDQN MT5

by chyr-rpg
1 stars

This MetaTrader 5 expert advisor is a research-oriented reinforcement learning system implemented natively in MQL5. It utilizes a Deep Q-Network to make trading decisions based on market states derived from technical indicators, volatility, and supply-demand zones. The system manages trades using a grid-based basket ap

MT5 Trading robot AI / machine learningGridMartingale High risk
Updated 2 days ago None stated GitHub repository of Adaptive DDQN MT5

17BA Gold Scalper

by jmac17ba
1 stars

17BA Gold Scalper is an automated trading system for MetaTrader 5 that employs a pending one-cancels-other breakout strategy. It places buy and sell stop orders around the market price; once one triggers, the opposite is cancelled. To manage adverse movements, the EA initiates a Fibonacci recovery basket, adding layers

MT5 Trading robot BreakoutMartingaleGrid High risk
Updated 2 months ago None stated GitHub repository of 17BA Gold Scalper

Zyb EA Collection

by clispaul3
1 stars

Zyb EA Collection offers various MetaTrader 4 and 5 expert advisors that implement breakout, scalping, and grid-based trading. The primary strategy uses martingale lot scaling with a multiplier, allowing users to configure tiered step distances and position counts. It features price-level restrictions to prevent buying

MT4MT5 Collection BreakoutMartingaleGrid High risk
Updated 3 months ago None stated GitHub repository of Zyb EA Collection

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

This repository provides a collection of MetaTrader 5 Expert Advisors, featuring the Milyoner AI Project and Titanium Omega series. The primary EA uses an AI-weighted scoring engine to combine technical indicators like adaptive moving averages with price action analysis, including candle patterns and Smart Money Concep

MT5 Collection ScalpingSMC / ICT / price actionGrid High risk
1 stars

This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage

MT5 Trading robot AI / machine learningMulti-strategyScalping High risk

Long Tail Scalper

by SilverbackOssi
1 stars

Long Tail Scalper is a MetaTrader 5 expert advisor designed for trend-following strategies with a focus on surviving ranging markets. It implements a fixed reward-to-risk ratio and a dynamic grid-based system to manage position entries and exits. The robot utilizes a progressive lot sizing sequence to recover during ma

MT5 Trading robot Trend followingGridMartingale High risk
Updated 1 year ago None stated GitHub repository of Long Tail Scalper

Trend EA Collection

by Yogurt-Peng
1 stars

Trend EA is a collection of MetaTrader 5 expert advisors providing various automated trading strategies, including grid, martingale, and trend-following systems. The repository features implementations of the Turtle trading method, Donchian Channel breakouts, and moving average crossovers. Each expert advisor allows fo

MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Trend EA Collection

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

This repository contains a large collection of over fifty MetaTrader 4 expert advisors, many of which are generated using the fxDreema visual development platform. The library covers a diverse range of strategies including gold scalping, candle-based robots, news filters, and grid management tools. Risk controls vary b

MT4 Collection GridScalpingNews High risk
Updated 4 years ago None stated GitHub repository of Short Wsgi EA Collection

EA Lucre Min Balance

by haucongle
1 stars

This MetaTrader 4 expert advisor provides automated forex trading using a grid-based strategy. The robot enters trades based on time-restricted windows and manages them using a martingale lot scaling mechanism. Users can configure the lot multiplier, the distance between grid levels, and a maximum level limit. For risk

MT4 Trading robot GridMartingale High risk
Updated 5 years ago None stated GitHub repository of EA Lucre Min Balance

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

TimeBit

by minhtranlife
1 stars

This MetaTrader 5 expert advisor utilizes ZigZag indicators and Fibonacci retracements to identify and trade ABCD patterns. Operating primarily on the M1 and M5 timeframes, the robot calculates entry points based on specific price ranges and Fibonacci levels such as 23.6 and 38.2. The system employs an aggressive marti

MT5 Trading robot MartingaleMean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of TimeBit

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

Oldea EA Collection

by sljxiaoxin
1 stars

This repository provides a collection of MetaTrader 4 expert advisors, with a primary focus on the Dreamguy MaCrossMarti system. The EA initiates trades based on fast and slow moving average crossovers, utilizing a long-period moving average for trend filtering. It manages positions through a grid-based approach and ma

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 9 years ago None stated GitHub repository of Oldea EA Collection

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

The ForexR EA Library collects open-source expert advisors for MetaTrader 4 and MetaTrader 5 that are published on GitHub. Each entry links to the original repository, so you always get the author's latest code, issues and licence straight from the source. Star counts, last updates and licences are synced from GitHub every hour, and new repositories are added every week.

Every repository is checked automatically before it is listed: it must contain readable MQL source code for a real expert advisor, and repositories that ship executables, hide downloads behind archive passwords or show signs of bought stars are left out. The summaries and tags are written automatically from each repository's README and code. They describe what an EA does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.

Trading with expert advisors is risky. Backtest any EA and run it on a demo account before you trust it with real money. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

EA Library FAQ

What is an expert advisor (EA)?

An expert advisor is a program that runs inside MetaTrader 4 or MetaTrader 5. It can open and close trades on its own, manage trades you opened (trailing stops, break-even, partial closes), protect the account, or connect MetaTrader to other tools such as Telegram or Python. EAs are written in MQL4 (MT4) or MQL5 (MT5).

Are the EAs in this library free?

Yes. Every EA listed here is published on GitHub with its source code, so you can read, download and compile it at no cost. Check each repository's licence before reusing the code in your own projects: some EAs state no licence at all.

Are these EAs safe to use?

ForexR lists only repositories with readable MQL source code and never hosts files. Repositories that ship executables, ask you to disable antivirus, hide downloads behind passwords or show signs of bought stars are left out automatically. That does not make any EA profitable or bug-free: read the code, backtest it in the Strategy Tester and run it on a demo account first.

How do I install an EA in MT4 or MT5?

Download the source from GitHub, open MetaTrader, choose File, then Open Data Folder, and copy the .mq4 (MT4) or .mq5 (MT5) file into MQL4/Experts or MQL5/Experts. Open it in MetaEditor and press Compile, then drag the EA from the Navigator onto a chart and allow algorithmic trading.

How does ForexR choose which EAs to list?

A crawler searches GitHub every week for MetaTrader repositories, reads their code and keeps those that contain a real expert advisor and pass the safety checks. Stars, updates and licences are refreshed from GitHub every hour. Summaries are written automatically from each repository's README and code, so treat them as a guide and check the source.

What do "High risk", grid and martingale mean?

A grid EA opens a ladder of orders at fixed distances; a martingale EA increases the lot size after losses. Both can show smooth equity curves for a long time and then lose a large part of the account in one strong trend. EAs that use either are marked High risk, and you can hide them with the "Hide grid and martingale" filter.

Run EAs with a broker that supports MT4 and MT5

Compare regulated brokers by platform, spreads, minimum deposit and leverage.

Compare brokers