Synced with GitHub · updated hourly

Expert Advisor Library

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

43 EAs match Clear filters
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

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

Mansour Bot

by MShokry
16 stars

This MetaTrader 4 expert advisor executes automated trades on the forex market by combining signals from various technical indicators. The logic incorporates Average Directional Index analysis across multiple timeframes, alongside Ichimoku and Stochastic oscillators. Users can configure lot sizing, take profit, and sto

MT4 Trading robot Indicator crossoverMulti-strategyMartingale High risk
Updated 7 years ago None stated GitHub repository of Mansour Bot
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
7 stars

This MetaTrader 4 expert advisor implements a flexible strategy based on the directional consensus of multiple technical indicators. It allows users to combine Moving Averages, Stochastic Oscillators, THV3 T3, Babon Slope, and AMA Optimized modules. A trade is initiated only when all selected indicators align in the sa

MT4 Trading robot Trend followingMulti-strategyIndicator crossover
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
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
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

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

Edelweiss EA

by Attornado
3 stars

Edelweiss EA is an educational trading robot for MetaTrader 4 that utilizes a multi-indicator framework to generate buy and sell signals. It combines exponential moving averages, stochastic oscillators, the awesome oscillator, ADX, and Bollinger Bands to identify market entries. Trade management includes dynamic ATR-ba

MT4 Trading robot Indicator crossoverMean reversionTrend following
Updated 11 months ago MIT GitHub repository of Edelweiss EA

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

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

Trading Robot

by robintkim
3 stars

Trading Robot is an automated expert advisor for MetaTrader 4 that utilizes a multi-strategy approach based on classical technical indicators. It executes trades using distinct logic paths for buy and sell positions, incorporating Moving Averages, RSI, MACD, Ichimoku Kinko Hyo, and Fractals. The EA monitors price volat

MT4 Trading robot Indicator crossoverMulti-strategy
Updated 9 years ago None stated GitHub repository of Trading Robot
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

Mql Open Trade

by shohdi
2 stars

This MetaTrader 4 collection provides several expert advisors designed to automate trade entry with integrated risk controls. The tools calculate lot sizes based on a user-defined percentage of account capital, ensuring consistent exposure. Users can configure the trade direction, expected duration, and risk-to-reward

MT4 Collection Indicator crossoverMulti-strategy
Updated 5 years ago None stated GitHub repository of Mql Open Trade
2 stars

This MetaTrader 4 repository contains a collection of Expert Advisors and a core module for order management. It includes standard trading strategies based on Moving Average and MACD crossovers. The main module provides logic for calculating open and historical trade metrics, tracking total profit and loss across speci

MT4 Collection Indicator crossoverMulti-strategy
Updated 6 years ago None stated GitHub repository of Antaluqi MT4 EA Collection
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 five MetaTrader 4 Expert Advisors focused on technical indicator strategies. The robots implement multi-timeframe stochastic logic, single exponential moving average crosses for mean reversion or trend following, and classic dual moving average crossovers. Each system manages its own exits thro

MT4 Collection Indicator crossoverMulti-strategy
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

HpFX Framework

by mbelgin
1 stars

High Performance Forex (hpFX) is an indicator-agnostic framework for MetaTrader 4 designed for large-scale backtesting and strategy automation. It allows traders to define complex rules by combining up to ten custom indicators as entry signals, confirmation filters, or exit triggers using a flexible string-based encodi

MT4 Framework & template Trend followingIndicator crossoverMulti-strategy
Updated 3 months ago MIT GitHub repository of HpFX Framework

Hosopi3 Tanpoji

by harukihosono
1 stars

Hosopi3 Tanpoji is a single-position trading robot for MetaTrader 4 and MetaTrader 5, specifically developed to avoid martingale and averaging techniques. It triggers entries using various built-in technical indicators such as Moving Averages, RSI, Bollinger Bands, and Stochastics, or through external custom indicator

MT4MT5 Trading robot Indicator crossoverMean reversionMulti-strategy
Updated 10 months ago None stated GitHub repository of Hosopi3 Tanpoji
1 stars

This collection for MetaTrader 4 provides a variety of expert advisor templates and functional trading robots. The core strategy logic often utilizes price action relative to moving averages to identify trends. Key features include a randomized entry timer designed to avoid high-volatility bar starts, integrated stop l

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk

CyberiaTrader

by SumeetD003
1 stars

This rule-based automated trading system for MetaTrader 4 utilizes several modular logic components to identify market entries and exits. It includes integrated modules for MACD, Moving Averages, and proprietary CyberiaLogic and MoneyTrain algorithms. The EA provides flexible risk controls including automated lot sizin

MT4 Trading robot Indicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of CyberiaTrader

Barekat Expert

by kazem94
1 stars

Barekat Expert is a MetaTrader 4 robot that executes trades based on a combination of technical indicators. It utilizes two ZigZag indicators for price action analysis, a Simple Moving Average for trend filtering, and the Relative Strength Index and Stochastic oscillators for momentum confirmation. The system manages e

MT4 Trading robot Trend followingIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of Barekat Expert

Raja Cula Emas EA

by rajaculaemas
1 stars

This MetaTrader 4 expert advisor is designed for XAUUSD trading using a combination of technical indicators and price action. It enters trades based on several toggleable strategies, including Moving Average crossovers, MACD, Support/Resistance levels, and Bullish/Bearish Engulfing patterns. The EA manages risk through

MT4 Trading robot Indicator crossoverTrend followingMulti-strategy
Updated 1 year ago None stated GitHub repository of Raja Cula Emas 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
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

Trading Algo Builder

by pepshirley
1 stars

Trading Algo Builder is a MetaTrader 4 expert advisor designed to help traders construct automated strategies without manual coding. It features a modular system where users can combine up to four different indicator signals, supporting both built-in MetaTrader indicators and custom external files. Signal logic include

MT4 Trading robot Indicator crossoverBreakoutMean reversion

Ahaad EA Collection

by SimonMonnier
1 stars

This MetaTrader 4 repository contains a collection of trading tools and expert advisors, primarily focused on the Darwinex ZeroMQ bridge. The main server component enables external communication between MetaTrader and other programming environments using push, pull, and publish sockets. The collection also includes sev

MT4 Collection Indicator crossoverMulti-strategy
Updated 3 years ago None stated GitHub repository of Ahaad EA Collection
1 stars

This expert advisor for MetaTrader 4 is a multi-strategy robot focused on the recovery zone management technique. It offers a wide array of entry signals, including RSI, MACD, Bollinger Bands, and mean-reversion models. When initial trades move into a loss, the system employs an averaging recovery strategy with lot mul

MT4 Trading robot Multi-strategyMean reversionIndicator crossover High risk
1 stars

This repository is a collection of several MetaTrader 4 expert advisors, including robots based on RSI and MACD crossovers, engulfing patterns, and pending order strategies. The primary code provided utilizes a combination of the Relative Strength Index (RSI) for overbought and oversold detection and Moving Average Con

MT4 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Forex Code MQL4 Collection

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

Area Fifty One

by Valerzen88
1 stars

This MetaTrader 4 expert advisor utilizes a modular approach to automated trading, offering multiple selectable strategies including trend-following, RSI mean-reversion, and moving average crossovers. It calculates entries using indicators like ADX, Stochastic, and Hull Moving Averages. Risk management is handled throu

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Area Fifty One
1 stars

This MetaTrader 4 repository contains a collection of automated trading scripts designed for the foreign exchange market. The primary robots include Mover, which utilizes moving average crossovers to identify trends, and Cristos, which focuses on market openings and news events. The collection also features a semi-auto

MT4 Collection Indicator crossoverTrend followingNews
Updated 5 years ago None stated GitHub repository of Small Scripts EA Collection
1 stars

This repository provides a collection of MetaTrader 4 and MetaTrader 5 resources, including standard MetaQuotes examples and custom trading tools. A primary feature is the 3D correlation matrix utility, which uses the Canvas3D library to visualize price relationships across multiple symbols. The collection also include

MT4MT5 Collection GridIndicator crossoverMulti-strategy High risk

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

Humza Final EA

by humzama
1 stars

This MetaTrader 4 expert advisor implements a multi-strategy approach to automated trading using several technical indicator combinations. It features distinct logic for long and short positions, utilizing the Relative Strength Index, Moving Average Convergence Divergence, and Ichimoku Kinko Hyo. Buy signals are genera

MT4 Trading robot Indicator crossoverMulti-strategyTrend following
Updated 7 years ago None stated GitHub repository of Humza Final EA

Parallel Strategies

by Pierre8r
1 stars

Parallel Strategies is a multi-strategy expert advisor for MetaTrader 4 that executes four independent trading systems concurrently. These systems include moving average crossovers, MACD breakouts, Heiken Ashi signals, and a combined Heiken-MACD approach. Each strategy operates with its own magic number for distinct ma

MT4MT5 Collection Indicator crossoverMulti-strategyTrend following
Updated 8 years ago None stated GitHub repository of Parallel Strategies

Eddie Jun Zhang MT4 Library

by eddiejunzhang
1 stars

This repository is a collection of legacy MetaTrader 4 expert advisors and code snippets. The library includes several distinct trading robots such as The Puncher, SmallDog, and the KMB series. These programs generally employ technical indicators to identify entry points and manage positions using configurable paramete

MT4 Collection Multi-strategyTrend followingIndicator crossover
Updated 9 years ago None stated GitHub repository of Eddie Jun Zhang MT4 Library

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