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.

82 EAs match Clear filters
2 stars

This MetaTrader 4 repository contains a collection of expert advisors utilizing various technical indicators for Forex trading. One included EA uses Keltner Channels and Average True Range to determine market entries and exits. It features configurable risk management, including fixed or percentage-based lot sizing, st

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk
2 stars

This repository contains a collection of MetaTrader 4 expert advisors and utility functions. The primary component is a multi-symbol dashboard that manages trades using specialized indicators and various exit strategies. It features advanced trade management tools including multiple trailing stop methods such as ATR, B

MT4 Collection Multi-strategyMartingaleTrend following High risk
1 stars

This repository features a collection of MetaTrader 5 Expert Advisors developed for strategy and risk-management research. It includes a multi-pair mean reversion grid system, a gold breakout robot using previous day levels, and trend-following strategies based on moving averages. The EAs incorporate extensive risk con

MT5 Collection Trend followingBreakoutMean reversion High risk

Quantum Alpha MT5 ONNX

by yole-shop-oficial
1 stars

This expert advisor for MetaTrader 5 combines traditional quantitative strategies with machine learning via the ONNX runtime. It features multiple trading modes including Order Blocks, market structure analysis, and a hybrid AI strategy using neural network predictions trained in PyTorch. The system incorporates compre

MT5 Trading robot SMC / ICT / price actionAI / machine learningTrend following High risk
Updated 5 weeks ago None stated GitHub repository of Quantum Alpha MT5 ONNX
1 stars

This automated expert advisor for MetaTrader 4 and 5 trades forex using a multi-timeframe technical strategy. It identifies H1 trends with moving averages and Ichimoku clouds while timing M5 entries via MACD and RSI convergence. The system incorporates robust risk controls including equity-based lot sizing, daily loss

MT4MT5 Trading robot Trend followingIndicator crossoverMulti-strategy High risk
Updated 7 weeks ago None stated GitHub repository of EA PM Portfolio Management
1 stars

This MetaTrader 5 repository hosts a collection of over 90 expert advisors generated by StrategyQuant X. The robots are designed for the M15 timeframe across diverse markets including forex majors, gold, and oil. Entry signals are derived from technical indicators like Ichimoku, VWAP, and Moving Averages. Each EA featu

MT5 Collection Trend followingIndicator crossoverMartingale High risk
Updated 2 months ago None stated GitHub repository of Quant V1 Strategy Collection
1 stars

This MetaTrader 5 expert advisor executes trades based on daily classic pivot points combined with the engulfing candlestick pattern on the M15 timeframe. It employs a 200-period Exponential Moving Average as a trend filter to refine entries. Risk management includes a martingale lot scaling system that increases posit

MT5 Trading robot Trend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Pivot Points Engulfing EA

Gann Bot

by avangardistic
1 stars

This automated expert advisor for MetaTrader 5 executes trades based on Gann Box analysis, identifying entries at dynamic support and resistance levels. It features advanced risk controls including hard stop loss, take profit, and a trailing stop. The EA provides four capital management modes: fixed lot size, risk perc

MT5 Trading robot Mean reversionTrend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Gann Bot

Aurax Sentinel

by Baskaran-Aurax-Sentinal
1 stars

This MetaTrader 5 repository provides a collection of expert advisors focused on automated grid and hedging systems, primarily for the gold market. The featured Phoenix EA utilizes dynamic grid spacing based on USD values and a tactical selling module to manage market imbalances. It includes a deep recovery mode that t

MT5 Collection GridHedgingMartingale High risk
Updated 3 months ago None stated GitHub repository of Aurax Sentinel

Bakome Trinity EA

by BAKOME-Hub
1 stars

This multi-asset MetaTrader 5 expert advisor is designed for gold, forex, and cryptocurrency markets, specifically XAUUSD, GBPUSD, and BTCUSD. It focuses on a single-position approach, explicitly avoiding grid or martingale techniques. Trade entries are managed through session filters for London and New York and are pr

MT5 Trading robot Trend followingMean reversionMartingale High risk
Updated 4 months ago MIT GitHub repository of Bakome Trinity EA

UltraHFT Expert Advisor

by NipunDilshanSenevirathne
1 stars

UltraHFT Expert Advisor is a high-frequency scalping robot for MetaTrader 5 that combines five strategy layers including EMA crossovers, RSI mean reversion, and volatility breakouts. It evaluates market conditions on every tick, entering trades when multiple signals align. The system employs strict risk controls with h

MT5 Trading robot ScalpingMean reversionTrend following High risk

GM Remake

by lawjar
1 stars

GM Remake is an automated trading robot for MetaTrader 4 that executes a multi-stage martingale strategy. It initiates trades based on price breakout logic and manages drawdowns by layering additional positions at user-defined distances. To refine entries, the EA utilizes dual exponential moving averages and MACD trend

MT4 Trading robot MartingaleBreakoutTrend following High risk
Updated 8 months ago Custom licence GitHub repository of GM Remake

EA Ak47 Hybrid

by JonusNattapong
1 stars

EA Ak47 Hybrid is a modular scalping expert advisor for MetaTrader 5, specifically optimized for gold markets. It generates signals using the Relative Strength Index filtered by an Exponential Moving Average trend component. The EA includes secondary filters for ATR volatility, MACD momentum, and Stochastic oscillators

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 10 months ago Custom licence GitHub repository of EA Ak47 Hybrid

Accure Dynasty

by wilfredNJH
1 stars

This MetaTrader 5 expert advisor provides a framework for trade execution with a heavy emphasis on risk management and scheduling. It offers multiple methods for calculating trade volume and exits: manual points, percentage of account risk, and ATR-based calculations. The EA includes a partial profit-taking system and

MT5 Trading robot Trend followingBreakoutMartingale High risk
Updated 10 months ago None stated GitHub repository of Accure Dynasty

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

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

FX Trading EA Collection

by tambillbka
1 stars

This repository provides a collection of automated trading systems for MetaTrader 4 and 5. The expert advisors utilize various technical indicators, including ADX, DMI, RSI, and Heiken Ashi, to determine market entry points. Some strategies are based on price action from previous candle directions. Trade management fea

MT4MT5 Collection Trend followingScalpingMartingale High risk
Updated 1 year ago None stated GitHub repository of FX Trading EA Collection

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

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

Bot XM MT5 Collection

by TungLT266
1 stars

This collection of MetaTrader 5 expert advisors provides several distinct trading strategies, including trend following, grid systems, and dollar-cost averaging (DCA). The repository contains multiple specialized files for various instruments like EURUSD and BTCUSD. Traders can configure grid spacing, order volume, and

MT5 Collection GridTrend followingMartingale High risk
Updated 2 years ago None stated GitHub repository of Bot XM MT5 Collection

Forever Free EA

by SeanCollymoreJr
1 stars

The Forever Free EA is a MetaTrader 5 trading robot designed for forex and indices. It employs a grid strategy that can be configured with martingale or fixed lot increments. The system utilizes dual magic number engines to manage separate trade streams and includes a trend mode to align entries with market direction.

MT5 Trading robot GridMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of Forever Free EA
1 stars

This repository provides a collection of over fifty MetaTrader 4 expert advisors designed for testing algorithmic strategy combinations. Each robot follows a modular structure consisting of a baseline indicator, confirmation signals, and volatility filters. Common configurations include the Kijun-sen, RSI, and Waddah A

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk

Trend EA

by hiepit127
1 stars

A trend-following trading robot for MetaTrader 5 that utilizes technical indicators and recovery lot scaling. It generates entry signals using a combination of the SuperTrend indicator, Exponential Moving Averages (EMA), and ADX filters. The expert advisor features a martingale-style lot multiplier that increases posit

MT5 Trading robot Trend followingMartingaleIndicator crossover High risk
Updated 2 years ago None stated GitHub repository of Trend EA
1 stars

This repository contains a collection of MetaTrader 4 expert advisors based on classic technical analysis and price action patterns. The robots utilize various strategies such as engulfing candles, pinbars, Heikin Ashi trends, and moving average crossovers. Risk management settings across the files include stop loss, t

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk

Trends Followers

by nguemechieu
1 stars

Trends Followers is a MetaTrader 4 expert advisor that executes trades based on trend analysis, support and resistance levels, and news events. The robot manages entries using a trend-following approach and allows users to set a minimum trade duration to avoid premature exits. It includes risk management controls to li

MT4 Trading robot Trend followingNewsMartingale High risk

Forex Brother Algo 1

by hkmarquix
1 stars

This MetaTrader 4 expert advisor implements a multi-strategy framework for automated trading across various symbols. It incorporates several technical entry signals, including Ichimoku, Bollinger Bands, and ADX-filtered logic. The EA provides multiple trade management options, explicitly including martingale lot scalin

MT4 Trading robot Multi-strategyMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Forex Brother Algo 1

Ultima

by thevictorwhyte
1 stars

Ultima is a trend-following expert advisor for MetaTrader 4 that utilizes moving average crossovers and the Average Directional Index to identify market momentum. Generated via a template builder, it monitors the relationship between multiple exponential moving averages and a long-term simple moving average. The EA inc

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 6 years ago None stated GitHub repository of Ultima

4xlots Extra EA Collection

by patrickingle
1 stars

This repository provides a collection of MetaTrader 4 expert advisors and libraries designed to integrate with the 4xlots risk management web service. The collection includes various trading robots such as a trend-following system, a double SMA crossover strategy, and a Martingale-based EA. It focuses on dynamic risk c

MT4 Collection Trend followingMartingaleHedging High risk
Updated 6 years ago Apache-2.0 GitHub repository of 4xlots Extra EA Collection

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

Firmoholanda Forex

by firmoholanda
1 stars

This repository contains a collection of MetaTrader 4 and MetaTrader 5 expert advisors focused on multi-indicator signal processing. The logic evaluates market conditions by aggregating data from Moving Averages, ADX, Accelerator Oscillator, Volume, and Momentum indicators across several timeframes such as M5, M15, and

MT4MT5 Collection Trend followingMulti-strategyIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of Firmoholanda Forex

Proper Bot

by kmugglet
1 stars

Proper Bot is a MetaTrader 4 expert advisor that utilizes a triple moving average crossover for trend detection combined with a manual grid management system. It filters entries based on volume and specific price levels. When a trade moves against the initial position, the EA opens additional orders at predefined point

MT4 Collection Indicator crossoverGridMartingale High risk
Updated 7 years ago None stated GitHub repository of Proper Bot

Krikor

by Comp-AS
1 stars

Krikor is a MetaTrader 4 robot that uses a combination of technical indicators and a grid-based recovery system to manage trades. It determines entries using a Relative Strength Index (RSI), Moving Averages, Average Directional Index (ADX), and a custom ZigZag indicator. The strategy employs martingale lot scaling, inc

MT4 Trading robot MartingaleGridTrend following High risk
Updated 8 years ago None stated GitHub repository of Krikor

Shidatonglin MQL Collection

by shidatonglin
1 stars

This repository contains a collection of MetaTrader 4 expert advisors, with a primary focus on Renko-based trading strategies. The core EA utilizes dual exponential moving averages and candle color patterns to identify trend entries. Risk controls include adjustable stop loss, take profit, break-even logic, and trailin

MT4 Collection Trend followingBreakoutScalping High risk
Updated 8 years ago None stated GitHub repository of Shidatonglin MQL Collection

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