Synced with GitHub · updated today

Free MT4 & MT5 expert advisors

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

201 EAs match Clear filters

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

Sclab MQL5 Collection

by guilhermetabordaribas
75 stars

This MetaTrader 5 expert advisor collection provides a modular approach to automated trading based on technical indicators. It features a trading robot that uses a moving average to identify entries, supported by risk management tools including hard stop losses and take profits. The system includes logic for break-even

MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Sclab MQL5 Collection
67 stars

This repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 3 years ago None stated GitHub repository of Konz MQL5 EA Collection
61 stars

This collection features several expert advisors for the MetaTrader 5 platform, each built around a different technical indicator such as MACD, RSI, Parabolic SAR, and Ichimoku Kinko Hyo. The robots execute trades based on classic signal logic, including zero-line crossings and signal line crossovers. Users can configu

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 6 years ago Custom licence GitHub repository of Pipbolt MT5 Expert Collection
60 stars

This MetaTrader 5 expert advisor automates the 9.1 trading setup popularized by Larry Williams, utilizing an exponential moving average to detect trend shifts. It enters trades based on price action relative to the moving average slope. The system includes built-in trade management features like partial profit taking,

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Larry Williams 9.1 Strategy
46 stars

This repository provides a collection of standard MetaTrader 5 expert advisors bundled within a Docker container environment. It includes classic MetaQuotes examples such as the MACD Sample and Moving Average, which execute trades based on technical indicator crossovers and trend filters. The primary MACD expert featur

MT5 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of MT5 Docker EA Collection
40 stars

This educational collection provides a foundation for building MetaTrader 5 expert advisors through a series of modular code snippets and a primary RSI-based trading robot. The included expert advisor executes trades based on Relative Strength Index overbought and oversold levels, supporting both live and closed candle

MT5 Collection Mean reversionIndicator crossoverTrend following
40 stars

This collection provides multiple MetaTrader 5 expert advisors and indicators intended as educational templates for MQL5 development. The primary example, ExpSidus, implements a moving average crossover strategy using Exponential and Linear Weighted Moving Averages. The included robots feature basic risk management thr

MT5 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MQL5 Trading Robot Examples

AR Trading Panel

by Andrukas8
37 stars

This MetaTrader 5 utility is a comprehensive manual trading panel and risk management suite. It simplifies order execution by calculating lot sizes based on a defined risk percentage of account equity. Users can manage trades via automated break-even points, multi-mode trailing stops including Fractals, Moving Averages

MT5 Utility SMC / ICT / price actionIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of AR Trading Panel

NNFX Backtest C1

by goncaloe
34 stars

NNFX Backtest C1 is a specialized utility for MetaTrader 4 designed to evaluate external confirmation indicators using the No Nonsense Forex methodology. It enables users to backtest custom indicators by defining signal logic such as two-line crossovers, zero-line crosses, or histogram changes. The system manages risk

MT4 Utility Trend followingIndicator crossover

MT5 MA Crossover Bot

by LucasMarianoVieira
31 stars

This MetaTrader 5 expert advisor implements a classic dual moving average crossover strategy. It tracks short-term and long-term moving averages, entering a buy position when the faster line crosses above the slower line and a sell position when it crosses below. Upon receiving a new signal, the bot automatically close

MT5 Trading robot Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of MT5 MA Crossover Bot
22 stars

This repository provides a collection of MetaTrader 5 expert advisors and indicators developed for experimental purposes. It features a range of trading systems, including standard MetaQuotes examples and custom implementations like NERV and RNN-based logic. The primary expert advisors utilize technical indicators such

MT5 Collection Indicator crossoverMulti-strategyAI / machine learning
16 stars

This framework provides MQL5 header files and example expert advisors designed to trade on non-time-based Range Bar charts within MetaTrader 5. It includes template robots for moving average crossovers and Super Trend strategies. The included code manages trade execution with configurable stop loss, take profit, break-

MT5 Framework & template Indicator crossoverTrend following

Orchard Simple EA Template

by OrchardForexTutorials
13 stars

This collection provides educational templates for building MetaTrader 5 Expert Advisors. It includes demonstration robots that interface with indicators like MACD and Parabolic SAR using the iCustom function. The repository serves as a learning resource for structuring MQL5 code and handling trade execution. Each exam

MT5 Framework & template Indicator crossoverTrend following

MACD MME

by codingfordummies911
12 stars

This MetaTrader 5 expert advisor executes trades based on a combination of MACD signal levels and exponential moving average crossovers. It utilizes a 20-period and 6-period EMA to determine trend direction before initiating positions at specific MACD pip thresholds. The system employs a unique risk management approach

MT5 Trading robot Indicator crossoverTrend following
Updated 8 months ago None stated GitHub repository of MACD MME

MQL5 Algorithms

by MoritzGoeckel
11 stars

This collection provides automated trading scripts and utilities for the MetaTrader 5 platform. The primary expert advisor, MATrader, utilizes a moving average crossover strategy specifically designed for the one-minute timeframe. It monitors the relationship between fast and slow moving averages to identify trends, en

MT5 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of MQL5 Algorithms

The Falcon

by Lucas170
10 stars

The Falcon is a MetaTrader 4 expert advisor designed for automated trading using a combination of moving averages and Keltner Channels. It utilizes trend-following logic for entries and incorporates advanced position sizing features, including percentage-based risk, adaptive volatility sizing, and margin-per-lot constr

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 years ago None stated GitHub repository of The Falcon
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 of MetaTrader 5 expert advisors serves as an educational resource for MQL5 programming. It contains multiple example robots utilizing technical indicators such as Moving Averages, Parabolic SAR, CCI, and Stochastic oscillators. The provided scripts demonstrate fundamental trading automation features inc

MT5 Collection Indicator crossoverTrend followingMean reversion
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

This MetaTrader 5 collection features several versions of the classic Moving Average expert advisor, modified specifically for trading on custom symbols. It includes helper functions to ensure data readiness for synthetic instruments or imported data series. The included strategies execute trades based on moving averag

MT5 Collection Indicator crossoverTrend following
7 stars

This MetaTrader 5 repository contains a collection of expert advisors based on moving average crossover logic. The primary systems utilize fast and slow moving average indicators to identify trend shifts and execute automated trades. Risk management is handled through user-defined stop loss and take profit levels, alon

MT5 Collection Indicator crossoverTrend following

Belinda EA

by Lucas170
7 stars

Belinda EA is an automated trading robot for MetaTrader 4 that implements a trend-following strategy based on moving average crossovers. It enters long or short positions when a short-term simple moving average crosses a long-term moving average, provided a volatility filter is met. This filter compares the current Ave

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Belinda EA

Trading Expert Advisor

by hernandesmacedo
6 stars

This MetaTrader 5 expert advisor automates trading decisions by combining moving average crossovers with volume and momentum filters. It enters buy positions when a fast moving average crosses above a slow one, provided volume is increasing and the Relative Strength Index indicates the market is not overbought. For ris

MT5 Trading robot Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Trading Expert Advisor

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

Auto Trade EA

by leonharvey
6 stars

This automated expert advisor for MetaTrader 4 executes trades based on moving average crossovers and trend-following logic. It incorporates the Chandelier Exit method, utilizing the Average True Range and price extremes to determine market direction. Risk management is handled through user-defined stop loss and take p

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago AGPL-3.0 GitHub repository of Auto Trade EA
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 repository is a collection of MetaTrader 5 expert advisors and utility scripts developed for educational purposes. The primary robot, CruzamentoMedia, executes trades based on moving average crossover logic with configurable periods and methods. It includes a graphical user interface panel for manual play and paus

MT5 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MQL5 Tutorials Collection

This MetaTrader 5 expert advisor is an example implementation designed to trade moving average crossovers on non-standard timeframes, specifically seconds-based charts. It executes trades based on price crossing a moving average or two moving averages crossing each other. The EA includes risk management features such a

MT5 Trading robot Indicator crossoverTrend following
5 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on three exponential moving averages and the Stochastic oscillator. It identifies trade opportunities when two shorter-period EMAs sequentially cross a longer-period EMA. Positions are managed with fixed stop loss and take profit levels, with

MT4 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Triple EMA Stochastic EA

Falcon EA Template

by Lucas170
5 stars

This MetaTrader 4 expert advisor provides a framework for trading dual moving average crossovers. It offers automated trade execution with a strong focus on risk management, including lot sizing calculated from a user-defined percentage of account equity. The system manages exits through either fixed pip values or vola

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Falcon EA Template
5 stars

This MetaTrader 5 expert advisor executes trades based on the MACD indicator and the crossing of two exponential moving averages. It uses a long period of twenty and a short period of six moving averages to identify trends. The robot manages active positions using a specific trailing stop mechanism that permits a perce

MT5 Trading robot Indicator crossoverTrend following
Updated 12 years ago None stated GitHub repository of MACD and Crossing EMA Robot
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

Equity Markets MQL5 EA

by equitymarkets
4 stars

This MetaTrader 5 expert advisor collection provides automated trading strategies based on moving average trends and price action. The primary EA enters trades when price and moving averages align, indicating momentum. It includes risk management features such as fixed lot sizing and optional stop loss and take profit

MT5 Collection Trend followingIndicator crossover
Updated 1 year ago Apache-2.0 GitHub repository of Equity Markets MQL5 EA
4 stars

This MetaTrader 5 expert advisor implements the BBMA trading system by combining Bollinger Bands with multiple Moving Average levels including MA 5, MA 10, and EMA 50. It enters trades based on technical signals and price interactions with these indicators. The robot features comprehensive risk controls such as percent

MT5 Trading robot Indicator crossoverTrend following
4 stars

This repository is a collection of MetaTrader 5 expert advisors developed as early coding projects between 2021 and 2024. It includes multiple robots implementing varied strategies such as range breakouts, Donchian channels, Fibonacci retracements, and Bollinger Bands. The expert advisors are largely technical indicato

MT5 Collection Trend followingBreakoutMean reversion High risk

Trade Pro 1Min Scalper

by Justin-yzp
4 stars

Trade Pro 1Min Scalper is an automated trading robot for MetaTrader 5 that implements a strategy based on Bill Williams Fractals and a triple moving average system. It identifies market trends using fast, medium, and slow EMA periods and executes entries based on short-term price action. The expert advisor includes a f

MT5 Trading robot Trend followingScalpingIndicator crossover
Updated 2 years ago None stated GitHub repository of Trade Pro 1Min Scalper
4 stars

This repository provides a collection of MetaTrader 5 expert advisors developed for learning algorithmic trading. The primary featured tool, TimeRangeEA, identifies price high and low points within a specific time window to execute breakout trades. It incorporates risk management through stop loss and take profit level

MT5 Collection BreakoutIndicator crossoverMean reversion

Naive RSI EA

by ceevaaa
4 stars

This MetaTrader 5 expert advisor collection provides several automated strategies, primarily focusing on the Naive RSI EA. This robot enters trades by comparing Relative Strength Index values against two moving averages, buying when the RSI exceeds both and selling when it drops below both. It manages exits through fix

MT5 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Naive RSI EA
4 stars

This repository is a comprehensive collection of MetaTrader 5 source code gathered from the MQL5 CodeBase and various technical articles. It serves as an archive of various trading systems, including trend-based impulse strategies, fuzzy logic applications, and standard indicator samples. The collection contains over 5

MT5 Collection Indicator crossoverTrend followingMulti-strategy
Updated 8 years ago None stated GitHub repository of All MQL5 Code Collection

SMA Cross Advisor

by tomtom87
4 stars

This MetaTrader 4 expert advisor executes trades based on the crossover of two smoothed moving averages. It monitors direction changes between a fast and slow period to trigger market entries. Risk management is handled through fixed stop loss and take profit parameters, along with a break-even function that secures po

MT4 Trading robot Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of SMA Cross Advisor

Falcon EA Template

by Lucas170
4 stars

Falcon EA Template is an automated trading robot for MetaTrader 4 that utilizes dual moving averages and Keltner Channels to determine market entries. The system prioritizes risk management through percentage-based position sizing and various exit strategies. It features fixed and volatility-based stop loss and take pr

MT4 Trading robot Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of Falcon EA Template

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

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master
3 stars

This MetaTrader 5 repository provides a diverse collection of automated trading systems, including tools for supply and demand, news fetching, and price action strategies. The primary expert advisor utilizes moving average crossovers and momentum filters to identify market pullbacks. It incorporates trade management fe

MT5 Collection Indicator crossoverMartingaleTrend following High risk
3 stars

This repository provides a diverse collection of MetaTrader 5 expert advisors and utility scripts for automated trading. The primary logic focuses on managing pending orders through dynamic distance adjustments, time-scheduled trade execution, and sophisticated trailing stops that operate via price ticks or millisecond

MT5 Collection BreakoutIndicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Cesreve MQL5 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 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