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.

627 EAs match Clear filters

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

MQL5 Expert Collection

by tdooher11
1 stars

This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 class library framework. The featured implementation, Expert MAPSAR Size Optimized, utilizes Moving Average crossover signals for entries and a Parabolic SAR trailing stop for trade management. It incorporates a lot sizi

MT5 Collection Indicator crossoverTrend followingMulti-strategy
Updated 5 years ago None stated GitHub repository of MQL5 Expert Collection

Metatrade Sandbox

by humbertosouza
1 stars

This MetaTrader 5 expert advisor is a development project for testing technical indicator strategies. It uses a combination of moving average crossovers and MACD signals to identify market entries. The EA includes time-based filters allowing users to specify exact opening and closing hours for daily trading sessions. R

MT5 Trading robot Indicator crossover
Updated 6 years ago AGPL-3.0 GitHub repository of Metatrade Sandbox

Robos MQL5 Collection

by Navesvjv
1 stars

This repository is a collection of MetaTrader 5 expert advisors featuring various technical trading strategies. It includes individual robots based on moving average crossovers, MACD, Bollinger Bands, and linear regression models. Each EA is equipped with risk control parameters such as fixed stop losses, take profit l

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 6 years ago None stated GitHub repository of Robos MQL5 Collection

Falcon B

by josephxskum
1 stars

Falcon B is a MetaTrader 4 robot developed for the Lazy Trading Project, designed to integrate with external decision support systems. It uses a combination of moving average crossovers and Keltner Channels to identify trade entries. The system includes robust risk management features, allowing for fixed or volatility-

MT4 Trading robot Indicator crossover
Updated 6 years ago MIT GitHub repository of Falcon B

Cross MA

by Mahdi24w
1 stars

This MetaTrader 4 expert advisor executes a classic moving average crossover strategy. It monitors two Simple Moving Averages with customizable periods to identify trend shifts. When the fast average crosses above the slow average, the robot initiates a buy order; a crossover below triggers a sell order. The system res

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Cross MA
1 stars

This MetaTrader 5 expert advisor monitors price action using a combination of Exponential Moving Averages and the Stochastic oscillator. It identifies potential market entries based on crossover logic and momentum. The system is designed to send real-time trade alerts to a configured Telegram channel, providing details

MT5 Utility Indicator crossover

Algo 01

by expdal3
1 stars

Algo 01 is a MetaTrader 4 expert advisor that executes trades based on moving average crossover signals. It references an external custom indicator path for signal generation and allows users to define fast and slow moving average periods for its logic. The robot includes risk management features such as percentage-bas

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Algo 01

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

PTL EA

by ptluan2011
1 stars

PTL EA is a MetaTrader 4 expert advisor that monitors financial markets for technical trade setups using price action and trend analysis. It evaluates market conditions across various instruments, including forex pairs, gold, and global indices, by identifying candlestick patterns and key support and resistance zones.

MT4 Trading robot Trend followingSMC / ICT / price actionIndicator crossover
Updated 6 years ago None stated GitHub repository of PTL EA

Robo Trade MQL5

by ckedor
1 stars

Robo Trade MQL5 is an automated trading robot for MetaTrader 5 that implements technical analysis setups based on moving average indicators. It specifically targets the 9.1 and 9.2 setups, utilizing 9-period and 21-period moving averages to identify entry points. The EA features fixed lot sizing and a mandatory daily e

MT5 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Robo Trade MQL5

Strategy CCI Arrows

by EA31337
1 stars

This MetaTrader 5 expert advisor executes trades based on the Commodity Channel Index (CCI) Arrows indicator. Developed as part of the EA31337 framework, the robot identifies market entries through CCI-derived signals. It supports multi-timeframe operations, allowing users to activate specific intervals from M1 to H4 a

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Strategy CCI Arrows

Fox EA

by OrangeFoxie
1 stars

This MetaTrader 5 expert advisor, developed as a university project, executes trades based on technical indicators including Average Directional Index (ADX) and Moving Averages. The system features risk management controls such as fixed stop loss and take profit levels, which are automatically scaled for five-digit pri

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Fox EA

IBand EA

by Anter10
1 stars

This MetaTrader 4 repository provides a collection of expert advisors, featuring the IBandEA system designed for gold trading on the 5-minute timeframe. The robot executes trades based on price deviations from a central indicator line and specific candle high-low ranges. It incorporates risk management through a lot si

MT4 Collection Mean reversionMartingaleIndicator crossover High risk
Updated 6 years ago None stated GitHub repository of IBand EA
1 stars

This MetaTrader 5 repository provides a collection of Expert Advisors based on the educational material from Andrew Young. It includes several distinct strategies such as RSI and Bollinger Band counter-trend systems, moving average crossovers, and breakout trading with pending orders. Each EA includes standard risk man

MT5 Collection Mean reversionIndicator crossoverBreakout
Updated 6 years ago None stated GitHub repository of Mql5 Book 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

MT4 Trading Collection

by paulnheera
1 stars

This collection of MetaTrader 4 scripts and experts features an automated trading robot based on the MACD indicator. It identifies entry points using MACD signal line crossovers filtered by an Exponential Moving Average to determine trend direction. The system includes built-in risk controls such as fixed lot sizing, t

MT4 Collection Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of MT4 Trading Collection
1 stars

This repository is a collection of MetaTrader 5 expert advisors and analytical utilities. It features several standard trading examples like MACD and Moving Average, alongside more specific implementations using MAMA and Parabolic SAR indicators. A notable component is a three-dimensional correlation matrix tool that v

MT5 Collection Indicator crossoverMulti-strategyGrid High risk

Forex Scalping Strategy

by taivoit1993
1 stars

This MetaTrader 4 expert advisor implements a trend-following scalping strategy using a combination of moving averages and the Stochastic oscillator. It identifies the primary trend using a 200-period Simple Moving Average and a 21-period Exponential Moving Average. Trades are entered during pullbacks when the Stochast

MT4 Trading robot Trend followingScalpingIndicator crossover
Updated 6 years ago None stated GitHub repository of Forex Scalping Strategy

Aych MT Learn

by AYCHMT
1 stars

Aych MT Learn is a repository for MetaTrader 4 that provides a baseline expert advisor for educational purposes. The robot implements a classic strategy based on Moving Average Convergence Divergence (MACD) crossovers filtered by an Exponential Moving Average trend component. It includes standard trade management featu

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Aych MT Learn

Two MA Crossover

by uzzalhcse
1 stars

This MetaTrader 4 expert advisor executes trades based on the crossover of two moving average indicators. It initiates buy positions when the fast moving average crosses above the slow moving average, provided both indicators are trending upward, and opens sell positions on downward crossovers. The robot manages exits

MT4 Trading robot Indicator crossover
Updated 6 years ago None stated GitHub repository of Two MA Crossover
1 stars

This repository is a collection of MetaTrader 5 expert advisors and scripts designed for educational purposes. It contains several standalone trading tools, including simple Bollinger Band strategies, trailing stop managers, and limit order placement utilities. The primary example uses a grid-based approach, populating

MT5 Collection GridMartingaleScalping High risk

MQL5 Strategy Testers

by Burakdal
1 stars

This repository provides a collection of Expert Advisors for MetaTrader 5, primarily focused on technical indicator strategies and algorithmic trading examples. The main file utilizes a Moving Average signal combined with a Parabolic SAR trailing stop for automated trade management. It includes a lot-sizing module that

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 6 years ago None stated GitHub repository of MQL5 Strategy Testers

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

Estudos MQL5

by lucasmoreiradev
1 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for educational purposes and study. The primary robot, Cruzamento Media EA, utilizes a moving average crossover strategy with configurable short and long periods. It incorporates essential risk management tools, including fixed stop loss, t

MT5 Collection Indicator crossover
Updated 6 years ago None stated GitHub repository of Estudos MQL5

MQL5 Strategy Collection

by pasindubawantha
1 stars

This repository provides a collection of MetaTrader 5 expert advisors, including standard MetaQuotes examples and specialized indicator-based bots. The expert advisors utilize technical analysis tools like MACD, Moving Averages, and Parabolic SAR to automate market entries. Risk management is handled through user-defin

MT5 Collection Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of MQL5 Strategy Collection

MQL5 EA Collection

by tom-field
1 stars

This repository serves as a collection of MetaTrader 5 expert advisors and educational scripts. It includes a variety of automated trading systems based on common technical indicators such as Moving Averages, RSI, and Stochastics. The collection features specific strategies including Bill Williams techniques and trend-

MT5 Collection Trend followingGridMartingale High risk
Updated 6 years ago None stated GitHub repository of MQL5 EA Collection

200 EMA

by twimprine
1 stars

This MetaTrader 4 expert advisor executes trades based on Exponential Moving Average conditions across multiple timeframes. Originally designed as a crossover strategy, it incorporates a dynamic stop loss mechanism that adjusts based on price distance from the entry point. The robot features built-in risk controls, inc

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of 200 EMA

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

This MetaTrader 4 repository contains a collection of expert advisors, including implementations of the standard MACD Sample and Moving Average strategies. The primary MACD robot enters trades based on MACD signal line crossovers filtered by an exponential moving average trend component. Risk management is handled thro

MT4 Collection Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of MQL4 Trader Collection
1 stars

This repository contains a large collection of over 300 MetaTrader 4 expert advisors and scripts, including standard MetaQuotes samples and custom experimental tools. The primary file, Algo Prueba, utilizes the Relative Vigor Index (RVI) to determine market entries and exits. It features basic trade management by filte

MT4 Collection Indicator crossover
Updated 7 years ago None stated GitHub repository of Algo Prueba FX Collection

Yumokin CCI

by yumokin
1 stars

This automated trend-following expert advisor for MetaTrader 4 is designed specifically for the GBPJPY pair on the H1 timeframe. It identifies market entries using the Commodity Channel Index and Moving Average Convergence Divergence indicators. The system operates within specific GMT hours and manages a maximum of two

MT4 Trading robot Trend followingIndicator crossoverHedging
Updated 7 years ago None stated GitHub repository of Yumokin CCI
1 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for various market conditions and strategies. The files include implementations of trend-following systems like the Dunnigan NRTR, signal-based dashboards using multi-indicator confirmation, and experimental artificial intelligence models.

MT5 Collection Trend followingIndicator crossoverAI / machine learning
Updated 7 years ago None stated GitHub repository of MQL5 EA Collection FLCS

Laguna EA Collection

by dannylius
1 stars

Laguna EA is an automated trading robot for MetaTrader 5 that utilizes the Average Directional Index and Exponential Moving Averages to identify market trends. It filters entries by requiring a minimum ADX value to ensure sufficient trend strength before executing trades. The system manages risk with fixed lot sizing a

MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Laguna EA Collection
1 stars

This MetaTrader 5 collection features several automated trading robots focused on the forex market. The repository includes multiple expert advisors that utilize different technical analysis methods, such as Bollinger Bands, ADX, and Stochastic oscillators. Additionally, one module integrates the MetaTrader 5 economic

MT5 Collection Indicator crossoverNewsMean reversion
Updated 7 years ago None stated GitHub repository of Hyper Trading EA Collection
1 stars

This collection of MetaTrader 4 expert advisors serves as a practice repository for automated trading scripts. It features several distinct strategies, including moving average crossovers, Bollinger Band mean-reversion, and RSI-based entries. A core component of the repository is a martingale-style system that layers o

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 7 years ago None stated GitHub repository of MQL4 Practice Collection
1 stars

This MetaTrader 4 tool monitors several currency pairs and gold using the Ichimoku Kinko Hyo indicator. It identifies price crosses across the Tenkan-sen, Kijun-sen, and Senkou Span lines. The tool generates alerts based on price action relative to these levels on timeframes ranging from thirty minutes to one day. It s

MT4 Utility Indicator crossover

MACD EA IPAG

by adiarthagriadhi
1 stars

This MetaTrader 4 expert advisor executes trades based on the MACD indicator and uses a Moving Average filter to determine the prevailing trend. It features a dynamic lot sizing algorithm that adjusts risk percentages according to account balance tiers. While the documentation focuses on MACD signals for H1 charts, the

MT4 Trading robot Trend followingGridIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of MACD EA IPAG
1 stars

This MetaTrader 5 repository contains a collection of experimental expert advisors focused on trend-following and crossover logic. The primary codebase utilizes the Average Directional Index (ADX) to gauge trend strength and Moving Average crossovers to determine trade entries. The included tools feature hardcoded stop

MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Expert Advisor Experiment

MACD MA Cross

by b79528
1 stars

MACD MA Cross is a MetaTrader 4 expert advisor that automates entries based on the alignment of MACD signals and Moving Average crossovers. The strategy triggers trades when indicators confirm a trend, using Linear Weighted Moving Averages (LWMA) for direction. The EA features an unconventional exit strategy where posi

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of MACD MA Cross

Fuzzy Trade EA Collection

by TsutomuSakata01
1 stars

This collection for MetaTrader 4 and 5 includes various expert advisors exploring fuzzy logic and standard technical indicators. The primary logic demonstrated in the source files utilizes Simple Moving Averages to identify trend direction and price positioning. It features standard risk controls including fixed lot si

MT4MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Fuzzy Trade EA Collection
1 stars

This MetaTrader 4 expert advisor collection features a robot based on Stochastic oscillator crossovers. It monitors the M15 timeframe to identify shifts in momentum, entering trades when the fast indicator line crosses the slow line. The system automatically manages exits by closing opposing positions before opening ne

MT4 Collection Indicator crossover
Updated 7 years ago None stated GitHub repository of Quantize EA Collection
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy based on four moving averages. It determines market direction to trigger buy or sell entries during specified trading hours. The robot features time-restricted operations, allowing trade execution only between set start and end times. Risk manag

MT5 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Four Moving Average Advisor

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

Ichimoku Scalper

by AbirAbbas
1 stars

This MetaTrader 4 collection features automated trading scripts primarily based on the Ichimoku Kinko Hyo indicator. The expert advisors execute trades by analyzing the relationship between Tenkan-sen and Kijun-sen lines relative to the Senkou Span cloud. Risk is managed via fixed lot sizing and a maximum concurrent tr

MT4 Collection ScalpingIndicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Ichimoku Scalper

Span Model Day Trader

by KC-Kamioka
1 stars

Span Model Day Trader is a MetaTrader 4 expert advisor that monitors market signals based on the Span Model and Super Bollinger technical indicators. The code specifically focuses on the USDJPY currency pair, evaluating the relationship between blue and red spans derived from the Ichimoku Kinko Hyo indicator. It tracks

MT4 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Span Model Day Trader

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

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