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.

360 EAs match Clear filters
1 stars

This MetaTrader 5 expert advisor is a development project that utilizes the MACD indicator and an Exponential Moving Average to execute trend-based trades. It enters positions when the price aligns with the EMA trend and a MACD crossover signal occurs. The EA automates risk management by calculating lot sizes based on

MT5 Trading robot Trend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of MACD Trend Practice Expert

Bot XM MT5 Collection

by TungLT266
1 stars

This collection of MetaTrader 5 expert advisors provides several distinct trading strategies, including trend following, grid systems, and dollar-cost averaging (DCA). The repository contains multiple specialized files for various instruments like EURUSD and BTCUSD. Traders can configure grid spacing, order volume, and

MT5 Collection GridTrend followingMartingale High risk
Updated 2 years ago None stated GitHub repository of Bot XM MT5 Collection

Forever Free EA

by SeanCollymoreJr
1 stars

The Forever Free EA is a MetaTrader 5 trading robot designed for forex and indices. It employs a grid strategy that can be configured with martingale or fixed lot increments. The system utilizes dual magic number engines to manage separate trade streams and includes a trend mode to align entries with market direction.

MT5 Trading robot GridMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of Forever Free EA

GBPJPY Trader

by AidanB21
1 stars

This automated expert advisor for MetaTrader 5 is specifically designed for the GBPJPY currency pair. It utilizes a breakout strategy based on psychological key price levels, which are adjustable in the settings. The bot filters entries using two Simple Moving Averages and the Average Directional Index to confirm trend

MT5 Trading robot BreakoutTrend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of GBPJPY Trader
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

Rci Main Investment Tool

by HaruyoshiOno
1 stars

This expert advisor for MetaTrader 4 executes trades based on the Rank Correlation Index (RCI) indicator. It utilizes three distinct calculation periods—short, medium, and long—to identify market entries. The robot manages risk through configurable limit and stop loss offset parameters, allowing for specific exit point

MT4 Trading robot Mean reversionTrend following
Updated 2 years ago None stated GitHub repository of Rci Main Investment Tool
1 stars

This collection for MetaTrader 5 features multiple expert advisors, including strategies based on pinbars, stochastic oscillators, and non-repainting reversals. The primary pinbar robot utilizes a triple moving average filter—slow, medium, and fast—to establish trend direction before execution. It incorporates essentia

MT5 Collection Trend followingIndicator crossover
1 stars

The Nova Ultimate Trade Panel is a comprehensive manual trading and management utility for MetaTrader 5. It provides a movable, dynamic interface for executing market and pending orders with precise control over lot sizing and risk levels. Users can adjust stop loss and take profit targets directly on the chart using d

MT5 Utility Trend followingHedging
1 stars

This repository provides a collection of MetaTrader 5 expert advisors designed for various technical strategies. The scripts utilize multiple moving averages ranging from 7 to 200 periods and the Money Flow Index to identify trend and momentum market conditions. The collection includes specific modules for mean-reversi

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

Trend EA

by hiepit127
1 stars

A trend-following trading robot for MetaTrader 5 that utilizes technical indicators and recovery lot scaling. It generates entry signals using a combination of the SuperTrend indicator, Exponential Moving Averages (EMA), and ADX filters. The expert advisor features a martingale-style lot multiplier that increases posit

MT5 Trading robot Trend followingMartingaleIndicator crossover High risk
Updated 2 years ago None stated GitHub repository of Trend EA

Learning MQL5 Collection

by VeerachaiPTee
1 stars

This repository contains a collection of MetaTrader 5 expert advisors and scripts designed for learning and development. The included tools range from data visualization utilities like tick density heatmaps to trading strategies involving Bollinger Bands, Envelopes, and grid systems. It features management scripts for

MT5 Collection GridIndicator crossoverTrend following High risk
Updated 2 years ago None stated GitHub repository of Learning MQL5 Collection
1 stars

This MetaTrader 4 expert advisor automates a trend reversal strategy based on price action patterns and technical indicator filters. It identifies potential entry points using ZigZag, MBFX, and SMA indicators, specifically targeting reversals or pinbars at key support and resistance levels. The software includes a mult

MT4 Trading robot Trend followingMean reversionSMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Simple Trend Reversal EA

Heikin Ashi Expert

by ADBR1998
1 stars

This MetaTrader 5 expert advisor implements an automated trading strategy based on Heikin Ashi candle patterns and the Relative Strength Index. It utilizes custom indicator handles to monitor trend direction and detect potential bullish divergence. The EA includes internal logic for percentage-based risk management, al

MT5 Trading robot Trend followingMean reversion
Updated 2 years ago None stated GitHub repository of Heikin Ashi Expert
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
1 stars

This repository contains a collection of MetaTrader 4 automated trading tools, including a trade copier and several strategy-based expert advisors. The primary logic utilizes dual moving average crossovers combined with momentum filters and divergence checks to identify entries. It features comprehensive risk managemen

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

This collection for MetaTrader 5 contains multiple expert advisors centered on moving average strategies. It includes a Golden Cross system that identifies bullish and bearish momentum through the crossover of fast and slow exponential moving averages. Additionally, the repository features a trend-based signal system t

MT5 Collection Indicator crossoverTrend following
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using the Average Directional Index and an Exponential Moving Average. It monitors trend strength through ADX values and executes entries based on the relationship between price and the moving average combined with directional indicator signals. The

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of ADX and MA Expert Advisor
1 stars

This MetaTrader 4 expert advisor implements a classic dual moving average crossover strategy. It enters long positions when a fast simple moving average crosses above a slow moving average and short positions when it crosses below. The robot includes risk management features such as automated lot sizing based on accoun

MT4 Trading robot Indicator crossoverTrend following

EA JRB

by Mezzo42
1 stars

This MetaTrader 5 expert advisor implements a momentum-based trading strategy using the Relative Strength Index (RSI) and Exponential Moving Averages (EMA). It monitors RSI levels against configurable upper and lower thresholds to trigger market entries and exits. The robot manages risk through fixed stop loss and take

MT5 Trading robot Trend following
Updated 3 years ago None stated GitHub repository of EA JRB

Simple Trend Reversal EA

by levimatther
1 stars

This MetaTrader 4 expert advisor automates a trend reversal strategy based on price action patterns and technical indicators like ZigZag, MBFX, and Moving Averages. It features a dashboard to monitor multiple pairs, identifying setups such as pin bars and trendline breaks near support and resistance levels. Trade manag

MT4 Trading robot Trend followingMean reversionSMC / ICT / price action
Updated 3 years ago None stated GitHub repository of Simple Trend Reversal EA

MQL5 Strategy Collection

by David-the-trader
1 stars

This repository contains a collection of MetaTrader 5 expert advisors focusing on technical analysis and candlestick price action. The scripts explore various entry methods, including Bollinger Bands with RSI for counter-trend setups and 'Big Shadow' engulfing patterns. The logic calculates specific candle metrics, suc

MT5 Collection Mean reversionTrend followingMulti-strategy
Updated 3 years ago None stated GitHub repository of MQL5 Strategy Collection

Walking Up The Bands

by Andre-Luis-Lopes-da-Silva
1 stars

Walking Up The Bands is a trend-following expert advisor for MetaTrader 5 based on Bollinger Bands volatility breakouts. The robot enters long positions when the price moves above the upper band, attempting to capture the duration of an uptrend. Positions are closed when the price exits via the lower band. It includes

MT5 Trading robot Trend followingBreakout

Rsi MM

by DayiCuellar
1 stars

The Rsi MM is an automated trading tool for MetaTrader 4 that combines Relative Strength Index oscillators with a Moving Average trend filter. The system identifies potential market entries when RSI reaches overbought or oversold thresholds, using the Moving Average to confirm the broader trend direction. It features b

MT4 Trading robot Mean reversionTrend following
Updated 3 years ago None stated GitHub repository of Rsi MM

KST Robo

by RafaelTarachuck
1 stars

This MetaTrader 5 expert advisor automates trading strategies based on the Know Sure Thing (KST) momentum oscillator. It calculates weighted Rate of Change values across multiple internal periods, smoothed by simple moving averages, to identify trend reversals and overbought or oversold conditions. The robot offers sev

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 3 years ago MIT GitHub repository of KST Robo
1 stars

This MetaTrader 5 expert advisor automates trading based on trendline breakouts. It identifies market trends by calculating pivot highs and lows over a specific period. The slope of the trendlines is determined using Average True Range, standard deviation, or linear regression methods. The robot enters trades when pric

MT5 Trading robot BreakoutTrend followingMartingale High risk
Updated 3 years ago None stated GitHub repository of Trend Lines With Breaks EA

System 01

by addictekk666
1 stars

System 01 is an automated expert advisor for MetaTrader 5 that utilizes a trend-following strategy combining the Parabolic SAR and a Moving Average. The robot enters buy positions when the price is above both the Parabolic SAR and the Moving Average, while sell positions are initiated when the price falls below both in

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of System 01

EABOTS Collection

by AlexDotel
1 stars

This repository contains a collection of MetaTrader 4 expert advisors and utilities focusing on technical indicator strategies. The core EA, MACROSS, initiates positions based on simple moving average crossovers and filters entries using the Relative Strength Index. It incorporates risk controls through ATR-based stop

MT4 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of EABOTS Collection

MACD EA

by gbr3zzy
1 stars

This MetaTrader 5 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator combined with dual exponential moving average trend filters. The robot enters positions when MACD reaches specific pip thresholds and uses 6-period and 20-period EMAs to confirm market direction. It feat

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of MACD EA

Passive Income

by SanneEmmanuel
1 stars

Passive Income is an automated trading robot for MetaTrader 5 that identifies entries using Moving Average crossover signals. The EA utilizes standard MQL5 library classes to execute trades and manage positions. Risk management is facilitated through a Parabolic SAR trailing stop, which dynamically adjusts the stop los

MT5 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Passive Income
1 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for strategy experimentation and technical analysis. The robots utilize various technical indicators, including Moving Averages, MACD, Parabolic SAR, and RSI for trade entries. Risk management is handled through configurable stop loss and t

MT5 Collection Indicator crossoverTrend followingMean reversion High risk

Shosan EA

by Kennius7
1 stars

This MetaTrader 5 expert advisor is an experimental project developed to automate trading using technical indicators for trend and momentum analysis. The system incorporates a 100-period Exponential Moving Average (EMA), MACD, and Average True Range (ATR) for entry signals and trade management. It features built-in ris

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Shosan EA

This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 library framework. The featured expert advisor, ExpertMAPSARSizeOptimized, generates trade signals based on a Moving Average and manages active positions using a Parabolic SAR trailing stop. It includes a money managemen

MT5 Collection Indicator crossoverTrend followingMulti-strategy High risk

Quantatech Securities FX

by QuantatechSecurities
1 stars

Quantatech Securities FX provides two distinct expert advisors for MetaTrader 4, focusing on trend-following and momentum strategies. The primary MACD robot identifies entries using signal line crossovers filtered by an exponential moving average. It manages risk through fixed lot sizing with account margin checks, a s

MT4 Collection Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Quantatech Securities FX

This repository contains a collection of MetaTrader 5 Expert Advisors and graphical tools. It includes several technical strategy robots based on Relative Strength Index crossovers, Bollinger Bands, and Moving Averages. Additionally, it features advanced 3D visualization utilities such as a correlation matrix and a mat

MT5 Collection Indicator crossoverMean reversionTrend following High risk

Rsi Ma EA

by alessioena
1 stars

This MetaTrader 4 expert advisor implements a strategy combining trend-following moving averages with the Relative Strength Index for entry timing. The robot initiates buy orders when a fast moving average sits above a slow moving average, provided the RSI reflects an oversold state and price action confirms the moment

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 4 years ago None stated GitHub repository of Rsi Ma EA

Malcom EA

by silkflo
1 stars

This MetaTrader 4 expert advisor executes trades based on moving average trends and price action triggers. It identifies entries by counting consecutive candles on specific sides of the MA20 and validates the broader trend using an additional MA period. The system incorporates pattern recognition to detect market types

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Malcom EA
1 stars

This MetaTrader 4 expert advisor implements a correlation-based trading strategy focused on the seven major currency groups. It utilizes the Auto Trend Forecaster custom indicator to identify market trends across multiple currency pairs simultaneously. The system monitors the aggregate profit and loss of specific curre

MT4 Collection Trend followingMulti-strategy
1 stars

This MetaTrader 5 expert advisor provides a foundation for automated trading using a multi-timeframe framework. It utilizes the Average True Range (ATR) indicator to determine dynamic stop loss levels and calculates take profit targets based on a predefined risk-to-reward ratio. The system includes built-in risk contro

MT5 Framework & template Trend following
Updated 4 years ago None stated GitHub repository of Pro Forex MQL5 Template

3EMA ZigZag Bot

by Puchite
1 stars

This MetaTrader 4 expert advisor is a trend-following robot developed as an academic project for an object-oriented programming course. The system combines Exponential Moving Averages and ZigZag indicators to determine trade entries and manage positions. It features basic risk controls including a user-defined maximum

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of 3EMA ZigZag Bot
1 stars

This MetaTrader 4 expert advisor implements a neural network approach to trade financial markets. It generates signals by processing Moving Average data through various activation functions, including Sigmoid, TanH, and ReLu. The EA provides standard risk management features such as fixed take profit, stop loss, and a

MT4 Trading robot AI / machine learningTrend following

Aiden

by Torabi-srh
1 stars

Aiden is a MetaTrader 5 expert advisor that utilizes a multi-indicator weighting system to determine market entries. It calculates trade signals by aggregating 'chances' from several technical indicators including ZigZag, Stochastic, Moving Average crossovers, Parabolic SAR, RSI, MACD, and Momentum. The EA manages risk

MT5 Collection Multi-strategyIndicator crossoverTrend following Archived
Updated 4 years ago MIT GitHub repository of Aiden

This repository is a collection of MetaTrader 4 expert advisors that focus on technical indicator signals. The primary EA combines four Moving Averages with Bollinger Bands to detect trend alignment and volatility conditions. It features dual-level stop loss and take profit settings, along with filters for Bollinger Ba

MT4 Collection Trend followingIndicator crossoverMean reversion
1 stars

This MetaTrader 4 expert advisor implements a basic trend-following strategy using a Simple Moving Average. It triggers buy orders when the current price exceeds the 12-period SMA by a specific point threshold. The system manages risk through a fixed stop loss and a multi-stage trailing stop that adjusts based on favor

MT4 Trading robot Trend following
Updated 4 years ago None stated GitHub repository of Spe Candy From Strangers
1 stars

This repository contains a collection of Expert Advisors for MetaTrader 4, featuring the Combined Ergodic SSL Channel EA and a MACD-based strategy. The primary EA uses trend-following indicators for entries and provides various order management options, including trailing stops, break-even settings, and position accumu

MT4 Collection Trend followingIndicator crossover
1 stars

The US30 US500 Trading Collection for MetaTrader 5 provides a variety of expert advisors and analytical utilities. Although the repository name indicates a focus on major indices, it primarily contains standard technical indicator examples such as MACD, Moving Average, and Parabolic SAR. A notable component is a 3D cor

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk

Sandbox MT5 Study

by greenfield-br
1 stars

This MetaTrader 5 expert advisor serves as a study for basic trading logic and operational limits. It executes simple buy orders based on the relationship between price and a moving average. Specifically, it opens a long position when the current price is above the moving average and the previous candle closed bullish,

MT5 Trading robot Trend following
Updated 5 years ago None stated GitHub repository of Sandbox MT5 Study

Autotrader TFA

by Finansya-Lab
1 stars

This MetaTrader 5 expert advisor automates trading by analyzing market conditions through multiple technical indicators, including Stochastic, RSI, MACD, and dual Moving Averages. It employs an object-oriented approach to identify entry points based on indicator crossovers and trend momentum. Risk management is handled

MT5 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Autotrader TFA

Percent Rank Expert Advisor

by joserubiofernandez
1 stars

This MetaTrader 5 robot executes trades based on the percentile rank of recent price ranges. It incorporates the Average Directional Index as a trend filter to ensure entries occur during specific market conditions. Risk management is handled through automated lot sizing based on a risk percentage and a maximum monetar

MT5 Trading robot Trend followingMean reversion
Updated 5 years ago None stated GitHub repository of Percent Rank Expert Advisor

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