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.

108 EAs match Clear filters
161 stars

This collection for MetaTrader 4 provides a variety of expert advisors and utilities intended for automated trading and educational use. The primary component is a moving average crossover robot that opens positions based on trend direction. It features risk management tools including percentage-based stop losses, take

MT4 Collection Indicator crossoverMartingaleGrid High risk

EA MQL4 Collection

by Yumerain
151 stars

This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 Collection
135 stars

This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri

MT4MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Nkanven EA Collection
109 stars

LIVMOR is a MetaTrader 4 expert advisor found within this repository of over fifty automated trading tools. It utilizes technical indicators such as MACD, Stochastic, and moving averages to identify entry points, while also offering manual price entry options. The EA manages risk through user-defined stop loss and take

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of LIVMOR Trading Collection
33 stars

This repository provides a collection of MetaTrader 4 expert advisors, notably featuring a grid-based trading system. The mGRID EA executes trades by placing multiple pending buy and sell stop orders at fixed pip increments, attempting to capture price movement in either direction. It offers risk controls through confi

MT4 Collection GridIndicator crossoverMulti-strategy High risk
21 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on an Ichimoku-based strategy with neural network capabilities. The main EA utilizes an external API for AI-driven signals and incorporates risk controls such as Martingale lot scaling, trailing stops, and spread filters. It suppor

MT4 Collection Indicator crossoverAI / machine learningMartingale High risk
Updated 7 years ago None stated GitHub repository of Ichimoku EA Collection

Parallel Strategies

by Pierre8r
20 stars

Parallel Strategies is a MetaTrader 4 expert advisor designed to execute multiple independent technical strategies simultaneously. It includes modules for Moving Average crossovers, MACD breakouts, Heiken Ashi signals, and a hybrid Heiken-MACD system. Each strategy operates with a unique magic number to allow concurren

MT4 Collection Indicator crossoverBreakoutMulti-strategy
Updated 8 years ago None stated GitHub repository of Parallel Strategies
18 stars

This repository contains a collection of MetaTrader 4 expert advisors, primarily focusing on trend-following and crossover strategies. The main EA utilizes moving average crossovers to detect market trends and incorporates stochastic oscillators across multiple timeframes like M15 and H1. It manages risk through percen

MT4 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Viktorzhong MT4 Collection
16 stars

This repository provides a collection of MetaTrader 4 expert advisors, centered around the OverLord robot which utilizes logistic regression models. OverLord determines entries by calculating price directionality over various tick counts and analyzing moving average slopes against hardcoded coefficients. In addition to

MT4 Collection AI / machine learningIndicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of OverLord MQL4 Code Samples
14 stars

This repository contains a collection of MetaTrader 4 expert advisors developed for MQL4 programming tutorials. It includes various trading strategies ranging from simple moving average crossovers to complex martingale and grid systems. The provided examples demonstrate order layering with configurable lot multipliers,

MT4 Collection MartingaleGridIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of MQL4 Tutorial 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
12 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily featuring the Chaos Theory EA. This robot combines several trading methodologies including Bill Williams' Chaos Theory, Trading Made Simple, and THV3 to trade multiple currency pairs simultaneously. It utilizes technical filters such as Su

MT4 Collection Multi-strategyTrend followingIndicator crossover High risk

This repository is a collection of various MetaTrader 4 expert advisors, featuring the WallStreet Forex Robot along with other tools like SteadyWinner and IndoRun. The primary EA utilizes technical indicators such as Moving Averages, CCI, and Williams' Percent Range to execute trades on the M15 timeframe. It includes c

MT4 Collection Trend followingIndicator crossoverMartingale High risk
10 stars

This collection of MetaTrader 4 expert advisors focuses on technical analysis strategies such as moving average crossovers and chart patterns. The primary EA utilizes dual moving averages alongside fractal detection to identify entry points based on price momentum. It incorporates risk management tools including hard s

MT4 Collection Indicator crossoverScalpingTrend following
Updated 5 years ago None stated GitHub repository of Icus2 MT4 EA Collection

Suvorov MQL4 Expert Collection

by suvorovkonstantin
9 stars

This repository contains a collection of MetaTrader 4 expert advisors focusing on technical analysis and pattern recognition. The included tools range from robots utilizing Volume Spread Analysis (VSA) and fractal-based trend detection to indicators like NeuroMACD and ACD patterns. The primary EA uses ZigZag and fracta

MT4 Collection Trend followingSMC / ICT / price actionIndicator crossover
8 stars

This collection for MetaTrader 4 offers a variety of specialized utilities and signal indicators to streamline trading workflows. It features a Renko generator for creating custom offline price charts with fixed or ATR-based box sizes. Additional components include an Ichimoku-based signal generator, a tool for identif

MT4 Collection Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Consultor Especialista MT4

Orchard MA Cross Risk Sizer

by OrchardForexTutorials
6 stars

This collection for MetaTrader 4 and 5 provides educational examples of calculating lot sizes or stop loss levels based on account equity risk. It uses a moving average crossover strategy to enter trades, triggering orders when short-term and long-term averages intersect. The expert advisor includes logic to calculate

MT4MT5 Collection Indicator crossover

Liangxifeng MT4 Collection

by liangxifeng833
6 stars

Liangxifeng MT4 Collection is a repository of MetaTrader 4 expert advisors focused on automated trading strategies. The primary EA employs a dual moving average crossover system to initiate trades and features a scaling mechanism that increases lot sizes as the market moves in favor of the position. It manages risk thr

MT4 Collection Trend followingIndicator crossoverHedging
Updated 5 years ago None stated GitHub repository of Liangxifeng MT4 Collection

AE Expert Curious

by mofostopheles
6 stars

AE Expert Curious is a collection of MetaTrader 4 expert advisors based on the Raghee Horner trend-following methodology. It utilizes specific Exponential Moving Average crossovers, including the 13, 21, 34, and 55-period lines, to determine market direction and momentum. The strategy incorporates several technical fil

MT4 Collection Trend followingIndicator crossoverSMC / ICT / price action
Updated 6 years ago None stated GitHub repository of AE Expert Curious

Aladdin 9 FX

by joaotorresmarques
6 stars

This MetaTrader 4 repository hosts a large collection of automated trading systems, including the Aladdin 9 FX expert advisor. This specific tool identifies entries using the Commodity Channel Index and a Moving Average filter. It operates using a grid-based logic combined with martingale lot scaling, controlled by a l

MT4 Collection GridMartingaleIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of Aladdin 9 FX
6 stars

This MetaTrader 4 repository contains a collection of experts and tools focused on technical indicators and machine learning. It features an implementation of Alexander Elder's Triple Screen strategy using Exponential Moving Averages and MACD to filter trends and entries. Additionally, the collection includes a machine

MT4 Collection Trend followingIndicator crossoverAI / machine learning Archived
Updated 8 years ago None stated GitHub repository of Mql Projects Collection
6 stars

This collection for MetaTrader 4 contains over eighty expert advisors and scripts primarily focused on Bollinger Band breakout strategies. The repository includes numerous variations for fixed lot sizes and specific money management settings. The included logic covers price action relative to moving averages and volati

MT4 Collection BreakoutArbitrageMean reversion
5 stars

This repository hosts a collection of MetaTrader 4 expert advisors, with a primary focus on automated candlestick pattern trading via CandleBot. This robot monitors for numerous formations including hammers, engulfing candles, and stars to execute trades. It incorporates risk management through fixed lot sizes or depos

MT4 Collection SMC / ICT / price actionIndicator crossoverMartingale High risk
Updated 6 years ago None stated GitHub repository of Den4ikI MQL4 EA Collection

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

This MetaTrader 4 repository contains a collection of expert advisors, primarily featuring SwapTrader. This specific EA enters and exits positions at predefined times, specifically targeting the market rollover period to account for swap rates. It includes risk management settings such as fixed or percentage-based lot

MT4 Collection Multi-strategyIndicator crossover
Updated 8 years ago None stated GitHub repository of AlexDevFx MQL4 Collection
5 stars

This repository contains a collection of MetaTrader 4 expert advisors developed for educational purposes and backtesting practice. It features several distinct trading strategies, including moving average crossovers, stochastic counter-trend setups, and pending order breakouts. The included scripts demonstrate essentia

MT4 Collection Indicator crossoverMean reversionBreakout
Updated 10 years ago None stated GitHub repository of MQL4 Learning 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
4 stars

This repository provides a collection of MetaTrader 4 expert advisors, primarily focused on a manual trading dashboard and an indicator-based robot. The included dashboard enables manual execution with automated trade management features such as hidden virtual stop loss and take profit levels, profit locking, and multi

MT4 Collection Trend followingIndicator crossover
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
4 stars

This repository contains a collection of MetaTrader 4 expert advisors designed for educational purposes. The primary strategy, named Belinda, executes trades based on moving average crossovers using a 10-period and 40-period SMA, filtered by volatility via the Average True Range indicator. The collection features sever

MT4 Collection Indicator crossoverScalpingTrend following
Updated 3 years ago None stated GitHub repository of Learning MQL4 EA Collection
4 stars

This MetaTrader 4 collection provides several scripts designed to analyze price action and candlestick patterns. It includes modules for moving average crossovers, Bollinger Bands, and a specialized candlestick analysis tool. The software identifies specific formations such as hammers, dojis, and engulfing candles by c

MT4 Collection SMC / ICT / price actionIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Candlestick Charts System

Mql4 Trading Alerts

by alexmcmillan86
4 stars

This repository provides a collection of MetaTrader 4 utilities and expert advisors focused on technical signaling and market monitoring. The primary EA identifies exponential moving average crossovers, triggering terminal alerts when a fast EMA crosses a slow EMA on the completion of a candle. The collection includes

MT4 Collection Indicator crossover
Updated 6 years ago None stated GitHub repository of Mql4 Trading Alerts
4 stars

This collection provides a suite of trade management and execution assistants for MetaTrader 4 and MetaTrader 5. Designed to support manual trading, these utilities facilitate automatic position sizing and order placement via on-chart buttons rather than autonomous algorithmic decision-making. The repository includes s

MT4MT5 Collection NewsIndicator crossover
Updated 7 years ago None stated GitHub repository of Trading Tools Collection
4 stars

This repository contains a collection of expert advisors for the MetaTrader 4 platform. The primary strategy, BearishEngulfing, utilizes price action to identify specific candlestick patterns for executing sell orders. It includes essential risk management parameters such as fixed lot sizing, stop loss, take profit, an

MT4 Collection SMC / ICT / price actionIndicator crossover

Fxcodebase Archive

by gehtsoft-usa
3 stars

This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5. The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale

MT4MT5 Collection Multi-strategyMartingaleHedging High risk
Updated 2 months ago GPL-3.0 GitHub repository of Fxcodebase Archive
3 stars

This MetaTrader 4 collection contains various expert advisors, including a primary strategy based on EMA 50/200 crossovers and RSI filtering. The main EA manages entries through trend confirmation and provides risk controls such as stop loss, take profit, and trailing stops. It includes features for breakeven activatio

MT4 Collection Indicator crossoverTrend followingGrid High risk
Updated 10 months ago Custom licence GitHub repository of Simple Forex Tools Collection

Banik MQL4 EA Collection

by Chiradeep-Banik
3 stars

This MetaTrader 4 repository features a collection of expert advisors, including a dual moving average retracement strategy and a Morning Star candlestick pattern robot. The primary moving average EA identifies trends using fast and slow Simple Moving Averages, entering trades when price retraces to the short-term aver

MT4 Collection Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Banik MQL4 EA Collection

This collection for MetaTrader 4 features several expert advisors, primarily centered on the Candlestick Breakout Scalper. The lead tool monitors price action relative to previous candle highs and lows to identify breakout opportunities. It incorporates stochastic filters to confirm entries and supports specific tradin

MT4 Collection BreakoutScalpingMartingale High risk

Pouriakouhzadeh MQL4 Collection

by pouriakouhzadeh
3 stars

This repository contains a collection of over 70 Expert Advisors developed for the MetaTrader 4 platform. The primary file, NNA_Expert, utilizes DLL imports and shell execution to exchange data via CSV files, suggesting integration with external prediction engines or neural networks. Other included experts focus on Fib

MT4 Collection Multi-strategyIndicator crossover
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including robots based on RSI, Bollinger Bands, and moving averages. The primary featured expert advisor implements a dual-symbol statistical arbitrage strategy using indicators such as ZigZag and Moving Averages to identify entries. It employs a ma

MT4 Collection ArbitrageMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Clunique Experts Collection

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

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

Mql Projects Collection

by PranavSonar
3 stars

This repository features a collection of MetaTrader 4 expert advisors, primarily focused on a multi-strategy system named Complete Robot. The main EA utilizes a combination of technical indicators including Moving Averages, MACD, Bollinger Bands, and Stochastic oscillators for market entry. It employs a grid-based appr

MT4 Collection GridMartingaleIndicator crossover High risk
Updated 8 years ago None stated GitHub repository of Mql Projects Collection

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

SoftArsenal is a collection of MetaTrader 4 expert advisors and development tools. The repository features a custom expert advisor named Aberration, which utilizes Bollinger Bands to identify market breakouts. It places pending buy and sell stop orders at the outer bands and dynamically adjusts stop loss levels to the

MT4 Collection BreakoutTrend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of SoftArsenal EA 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
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

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

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