Synced with GitHub · updated today

Expert Advisor Library

1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

20 EAs match Clear filters
Platform
Type
Trading robot 2Trade managerRisk & protectionNews tradingCopier & bridgeFramework & templateCollection 18Utility
Market
Forex 15Gold 2CryptoIndicesOil & commoditiesAny symbol 4

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

This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on the MultiTrader dashboard and various technical utility robots. MultiTrader functions as a multi-symbol management tool that monitors dozens of currency pairs simultaneously, using high and low percentage levels for trade execut

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 7 years ago None stated GitHub repository of MQL4 MultiTrader 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
4 stars

This repository contains an extensive collection of over 200 Expert Advisors developed for the MetaTrader 4 and MetaTrader 5 platforms. The files range from individual strategy implementations like CCI multi-pair and cycle-based trading to comprehensive testing frameworks. The primary featured Expert Advisor includes a

MT4MT5 Collection Indicator crossoverMulti-strategyTrend following High risk

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

Chinaliyue MT4 EA Collection is a repository of various expert advisors and trading utilities for MetaTrader 4. The collection features several manual trading panels that allow users to execute orders with predefined stop loss and take profit levels. It includes management functions such as trailing stops and break-eve

MT4 Collection ScalpingMulti-strategyTrend following High risk
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and indicators designed for automated trading and technical analysis. The EAs implement various strategies such as trend-following, candle pattern recognition, and tick movement analysis. Risk management features across the files include standard sto

MT4 Collection Trend followingMartingaleGrid High risk

NOMQL4 EA Collection

by NematilloOchilov
3 stars

This repository is an extensive collection of MetaTrader 4 expert advisors and source code components written in MQL4. It includes over 70 files featuring diverse trading strategies such as Sanity TREND for trend following and various robots utilizing divergence-based entries. A significant portion of the code is based

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 4 years ago None stated GitHub repository of NOMQL4 EA Collection

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 repository is a compilation of MetaTrader 4 and MetaTrader 5 expert advisors primarily focused on gold (XAUUSD) trading. The core system included features seven independent trading strategies that can be enabled concurrently. It provides various risk management tools, including automated lot sizing based on accoun

MT4MT5 Collection ScalpingTrend followingMulti-strategy High risk
2 stars

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk
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 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

MQL4 Projects Collection

by AmonCheruiyotHQ
1 stars

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.

MT4 Collection Trend followingMartingaleMulti-strategy High risk
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
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

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

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

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 day, 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 day. 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