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.

New EAs by RSS
218 EAs match Clear filters

Auto Trade EA

by leonharvey
2 stars

This MetaTrader 4 expert advisor executes automated trades based on Moving Average crossover logic and the Chandelier Exit method. It utilizes multiple Moving Average periods and shifts alongside Average True Range and price extremes to identify market trends and potential exit points. Risk is managed through fixed lot

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago AGPL-3.0 GitHub repository of Auto Trade EA
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

DayT

by bogdyak
2 stars

DayT is an automated trading expert advisor for MetaTrader 4 that executes trades based on technical indicators. It utilizes a dynamic position sizing model where lot sizes are calculated using a risk factor relative to the account free margin and leverage. The system includes various trade management features such as

MT4 Trading robot Indicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of DayT

Project Pips

by taldan333
2 stars

Project Pips is a MetaTrader 4 expert advisor that automates trades based on moving average crossover signals. It includes a variety of entry and exit parameters, such as the ability to close positions on opposite signals or reverse positions based on price distance. Risk management is highly configurable, offering fix

MT4 Collection Indicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of Project Pips

TW Star Bot

by TradingWizards
2 stars

This MetaTrader 4 expert advisor implements an automated trading strategy based on a combination of technical indicators, including the Relative Strength Index, Moving Averages, and MACD. The bot evaluates price action against these indicators to determine trade entries. It manages active positions using a fixed lot si

MT4 Trading robot Trend followingIndicator crossover
Updated 9 years ago None stated GitHub repository of TW Star Bot

Smart Billionaires

by FIU-SCIS-Senior-Projects
2 stars

This MetaTrader 5 repository is a collection of various Expert Advisors and trading utilities. The primary EA implements a strategy based on the Relative Strength Index (RSI), Bollinger Bands, and Parabolic SAR indicators. It executes trades using overbought and oversold levels in conjunction with volatility bands. Ris

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 9 years ago None stated GitHub repository of Smart Billionaires

Parabolic SAR EA

by vinchess
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the Parabolic SAR indicator. It monitors indicator flips to identify potential entry points, opening buy positions when the SAR dots move below the price and sell positions when they move above. The robot manages trades using fixed stop los

MT4 Trading robot Trend followingIndicator crossover

My First Strategy

by toticavalcanti
2 stars

This MetaTrader 4 expert advisor implements a multi-indicator technical strategy generated using the FxPro Quant tool. The robot identifies entry points by analyzing the confluence of an Exponential Moving Average, Relative Strength Index, MACD, and Bollinger Bands. It specifically looks for rising momentum and trend a

MT4 Trading robot Trend followingIndicator crossover
Updated 10 years ago None stated GitHub repository of My First Strategy

Signal Scanner Pro PAICT

by asnakegreat
1 stars

This MetaTrader 5 expert advisor functions as a comprehensive chart annotation and signal scanning tool based on Smart Money Concepts and Price Action. It identifies structural elements such as order blocks, fair value gaps, liquidity pools, and market structure shifts across multiple symbols simultaneously. The system

MT5 Utility SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated yesterday None stated GitHub repository of Signal Scanner Pro PAICT
1 stars

This MetaTrader 5 repository contains a large collection of expert advisors developed using the fxDreema visual builder. The primary strategy utilizes a triple moving average system with 200, 25, and 5 periods to detect trends, combined with ATR-based volatility filters for trade exits. It features grid-based order lay

MT5 Collection GridIndicator crossoverTrend following High risk
Updated yesterday None stated GitHub repository of Amighade MQL5 Collection

EMA Cross EA

by momomosun
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy based on the crossover of 15-period and 60-period Exponential Moving Averages. It employs a continuous reversal logic to maintain market presence, switching between long and short positions as trends shift. Risk management includes ATR-based dyn

MT5 Trading robot Trend followingIndicator crossover
Updated 6 weeks ago MIT GitHub repository of EMA Cross EA
1 stars

This repository contains a collection of ten trend-following Expert Advisors for the MetaTrader 5 platform. Each robot implements a different technical strategy, utilizing indicators such as Bollinger Bands and moving averages with various smoothing methods like ParMA and SMMA. The EAs identify entry points based on ov

MT5 Collection Trend followingIndicator crossover

Options Trading Moving Average

by SankarSrinivasan1
1 stars

This MetaTrader 4 expert advisor implements a foundational trend-following strategy based on a 20-period Exponential Moving Average. It enters long positions when the market price trades above the average and short positions when it trades below. The code is designed as a template for users of the book Options Trading

MT4 Trading robot Indicator crossoverTrend following

Gartal Inc

by bsAmirHeydar
1 stars

Gartal Inc is a modular trading automation framework and strategy development template for MetaTrader 4. It provides a structured environment for testing various entry and exit logic, including Fair Value Gaps, moving average crossovers, and Donchian channels. The repository focuses on backtesting workflows, featuring

MT4 Framework & template SMC / ICT / price actionIndicator crossoverTrend following
Updated 3 months ago None stated GitHub repository of Gartal Inc

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

Bell Price Action ICT

by thinhct95
1 stars

This MetaTrader 5 collection features several expert advisors, with a primary focus on the ICT v2 robot. The main strategy implements Smart Money Concepts, identifying Market Structure Shifts, Fair Value Gaps, and Liquidity Sweeps across high, medium, and low timeframes. It automates entries on price retracements with

MT5 Collection SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated 3 months ago None stated GitHub repository of Bell Price Action ICT

Renko Reversal Collection

by PETERSAMUELOPS12
1 stars

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a Renko Reversal strategy ported from Pine Script. The main robot identifies trend shifts by simulating Renko bricks on standard OHLC bars, entering and exiting trades based on a configurable number of consecutive bricks. It

MT5 Collection Trend followingMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Renko Reversal Collection

Oddioybek7 MQ5 Collection

by oddioybek7-beep
1 stars

This MetaTrader 5 repository contains a collection of automated trading systems, including SignalRobot, OrderBlockRobot, and Smart HHMA Robot. The primary SignalRobot expert uses Triple Exponential Moving Average (TEMA) and noise filters to generate trade signals. It includes a risk management module that calculates lo

MT5 Collection Trend followingIndicator crossoverSMC / ICT / price action
Updated 5 months ago None stated GitHub repository of Oddioybek7 MQ5 Collection

Robot MA RSI

by space-55
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using Moving Average crossovers and Relative Strength Index (RSI) signals. The robot enters trades when a fast EMA crosses a slow EMA, provided the RSI confirms momentum. Risk management is handled through ATR-based stop loss and take profit calcula

MT5 Trading robot Indicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Robot MA RSI

Trend Pullback EA

by Ekisa02
1 stars

Trend Pullback EA is an automated trading robot for MetaTrader 5 that uses Exponential Moving Averages and price action to execute trades. It identifies market trends using a dual EMA crossover system and waits for price pullbacks into the moving average zone. Valid entries require confirmation from bullish or bearish

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 7 months ago None stated GitHub repository of Trend Pullback EA

TrendEngine Core

by Fintor-AI
1 stars

This MetaTrader 5 expert advisor serves as a modular framework and starter template for developing trend-following trading systems. It utilizes a clean architecture to separate signal logic, risk management, and order execution. The included demo logic implements a standard moving average crossover strategy to enter tr

MT5 Framework & template Trend followingIndicator crossover
Updated 9 months ago MIT GitHub repository of TrendEngine Core

RSI MA Signal EA

by Kemran25
1 stars

This MetaTrader 5 expert advisor automates a trend-following strategy using a combination of the Relative Strength Index and a Moving Average. It enters trades based on signals from a custom indicator that requires price to be on one side of the moving average while the RSI confirms momentum. The robot executes orders

MT5 Trading robot Trend followingIndicator crossover
Updated 11 months ago None stated GitHub repository of RSI MA Signal EA
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

Golden7

by edisonq
1 stars

Golden7 is an automated trading system for MetaTrader 5 that utilizes a weighted confluence engine across seven technical indicators, such as Moving Averages, RSI, and Bollinger Bands. It uniquely allows users to input a manual fundamental bias score to influence trade direction. The robot includes a robust filtering s

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 11 months ago None stated GitHub repository of Golden7

Usatec MT5 Collection

by acortesi
1 stars

This MetaTrader 5 expert advisor collection uses a multi-indicator approach for trade entries. The primary logic involves a combination of MACD, three Triple Exponential Moving Averages (DEMA), the Relative Strength Index (RSI), and Stochastic oscillators. It filters signals using the Average Directional Index (ADX) an

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 11 months ago None stated GitHub repository of Usatec MT5 Collection

Enhanced EA

by Yareda21
1 stars

Enhanced EA is an automated trading robot for MetaTrader 5 that combines Relative Strength Index, Bollinger Bands, and Moving Average Convergence Divergence indicators to generate signals. The expert advisor includes an optional trend filter based on a 200-period moving average to align entries with the long-term marke

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 1 year ago None stated GitHub repository of Enhanced EA

Memento Ichimoku

by Khajavi8056
1 stars

Memento is an automated trading system for MetaTrader 5 based on the Ichimoku Kinko Hyo indicator. It utilizes a triple-cross strategy that monitors the Tenkan-sen, Kijun-sen, and Chikou Span for specific alignments. The robot implements a multi-stage confirmation process, assessing momentum and candle strength before

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago Apache-2.0 GitHub repository of Memento Ichimoku
1 stars

This MetaTrader 5 expert advisor implements a dual Adaptive Linear Moving Average (ALMA) crossover strategy. It enters trades when a fast ALMA crosses a slow ALMA, provided the slope meets a specific threshold and the price is within a defined ATR distance. The system uses a Supertrend indicator for additional trend co

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago Custom licence GitHub repository of Dual ALMA Crossover Expert

Luke Multi MA Bollinger EA

by strongtiger-dev
1 stars

This MetaTrader 5 robot executes a trend-following strategy using a combination of specialized moving averages: Double Exponential Moving Average (DEMA), Triple Exponential Moving Average (TEMA), and Fractal Adaptive Moving Average (FRAMA). It identifies trade entries based on crossovers and the price position relative

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Luke Multi MA Bollinger EA

Jivita Expert Advisors

by rasingollam
1 stars

This collection of MetaTrader 5 expert advisors features a flagship tool that applies genetic algorithms to optimize moving average crossover strategies. The system dynamically adjusts short and long period parameters, stop loss, and take profit values based on simulated fitness and real trade performance. Risk managem

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Jivita Expert Advisors

Shuka Expert

by Houman-Amiri
1 stars

Shuka Expert is a MetaTrader 5 robot designed for risk-managed trading using technical indicators and price action filters. It identifies entries through optional EMA and ZigZag components combined with candlestick patterns, such as engulfing bars and candle length requirements. The EA manages risk via percentage-based

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Shuka Expert

HiLo Capital EA

by NeoSkosana
1 stars

The HiLo Capital EA is an automated trading robot for MetaTrader 5 that uses a trend-following strategy. It combines two exponential moving averages, specifically the 50 and 200 periods, with the Traders Dynamic Index (TDI) custom indicator to identify market entries. Risk management is handled through an automated lot

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of HiLo Capital EA

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

Aroon MA Cross

by IanKuzmik
1 stars

This MetaTrader 4 expert advisor is an educational tool designed as part of a YouTube tutorial series. It executes a trend-following strategy by combining moving average crossovers with the Aroon indicator for trend confirmation. The EA opens positions when price conditions align across both indicators and manages exit

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

This repository contains a collection of MetaTrader 5 expert advisors and utility tools for automated trading. The primary expert advisor utilizes the Stochastic Oscillator to generate entry and exit signals based on configurable crossover logic and overbought or oversold levels. It includes essential risk management s

MT5 Collection Indicator crossoverMean reversionTrend following

Three SMA EA

by shahadatnovel
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the alignment of Simple Moving Averages. It utilizes a fast period of 30 and a medium period of 50 to determine entry signals, with logic for a third slow moving average present but partially commented out. The robot executes trades with fi

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Three SMA EA

Neuro MA Net

by YesthisI
1 stars

This MetaTrader 5 expert advisor identifies market entries using a moving average signal within the standard MQL5 framework. The robot evaluates price relative to a simple moving average, triggering trades when a specific threshold is met. Users can configure lot sizing as a fixed volume or a percentage of the account

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago MIT GitHub repository of Neuro MA Net

Strategy MA

by EA31337
1 stars

This MetaTrader 5 expert advisor executes trades based on various moving average price indicators. It is built as a modular component for the EA31337 framework and supports multiple calculation methods, including simple, exponential, adaptive, and fractal moving averages. The robot allows users to enable or disable spe

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Strategy MA
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on price position relative to a moving average. It initiates buy orders when a candle closes above the moving average and sell orders when it closes below. Risk management is handled through several configurable parameters, including fixed tak

MT5 Trading robot Trend followingIndicator crossoverHedging
Updated 2 years ago None stated GitHub repository of Moving Average Hedging EA

MA CrossFlow Trader

by Carloncho0528
1 stars

MA CrossFlow Trader is a trend-following expert advisor for MetaTrader 5 that executes trades based on the crossovers of multiple simple moving averages. The robot monitors several SMA periods, including the 10, 50, 100, 150, and 200, to identify trend shifts. It specifically enters buy or sell orders on the third cand

MT5 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of MA CrossFlow Trader
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy by combining several technical indicators. It utilizes a 50-period Exponential Moving Average for trend direction, alongside the Relative Strength Index, MACD, and Average True Range for entry signals. The system includes a hardcoded risk management

MT5 Trading robot Trend followingIndicator crossover
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

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

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

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