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
480 EAs match Clear filters
3 stars

This MetaTrader 4 expert advisor implements a classic moving average crossover strategy designed for scalping forex pairs and metals. It monitors two exponential moving averages, defaulting to 8 and 21 periods, to identify momentum shifts. When a crossover is detected, the robot places pending stop orders with a specif

MT4 Trading robot Indicator crossoverScalping
Updated 5 years ago None stated GitHub repository of Simple EMA Cross Scalper

Falcon B

by vzhomeexperiments
3 stars

Falcon B is an automated trading robot for MetaTrader 4 that utilizes moving average crossovers and Keltner Channels for market entries. It is specifically designed to function within a larger framework, integrating with R-based decision support software through CSV command files. The EA provides robust risk management

MT4 Trading robot Indicator crossoverTrend following
Updated 5 years ago MIT GitHub repository of Falcon B

Volatility 75 Index Expert

by reussiteforever
3 stars

This Expert Advisor is designed specifically for the Volatility 75 Index on the MetaTrader 5 platform. It employs a multi-timeframe strategy using exponential moving averages across H2 and M5 periods to determine trend direction and entry points. The system identifies long-term trends on the H2 chart and looks for pric

MT5 Trading robot Trend followingIndicator crossover
Updated 5 years ago None stated GitHub repository of Volatility 75 Index Expert

This repository offers a collection of MetaTrader 4 expert advisors focused on technical indicator triggers and price action. The suite includes tools for trading moving average crossovers, ADX momentum, and Stochastic oscillators. A dedicated EA identifies specific candlestick patterns such as Three White Soldiers and

MT4 Collection Indicator crossoverTrend followingMean reversion

Hedge Terminal

by SokolovVasiliy
3 stars

Hedge Terminal is a specialized framework for MetaTrader 5 designed to facilitate hedging net positions and provide a structured API for managing expert advisors. The repository includes demonstration robots such as a moving average expert that operates across multiple timeframes. These examples show how to open trades

MT5 Framework & template Indicator crossoverTrend followingHedging
Updated 6 years ago None stated GitHub repository of Hedge Terminal

Stochastic EA

by cicekozkan
3 stars

This MetaTrader 4 expert advisor automates trading using Stochastic Oscillator signals. It allows for the confluence of up to three separate Stochastic indicators, potentially across different timeframes, to determine entry points. Trades are triggered by line crossovers or when the indicator reaches user-defined overb

MT4 Trading robot Indicator crossoverMean reversion
Updated 6 years ago None stated GitHub repository of Stochastic EA

Nafi Deep RL

by neoricalex
3 stars

Nafi is a MetaTrader 5 expert advisor framework designed for deep reinforcement learning in forex trading. It bridges Python-based training environments, such as OpenAI Gym and PyTorch, with MetaTrader to facilitate automated trade execution. The system features standard risk management controls including fixed lot siz

MT5 Trading robot AI / machine learningTrend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Nafi Deep RL

Tre Boll Trend

by linbirg
3 stars

Tre Boll Trend is a MetaTrader 4 Expert Advisor designed to identify and trade market trends using multi-timeframe Bollinger Band analysis. The system processes data from timeframes ranging from five minutes to one day, calculating advanced metrics such as price velocity, acceleration, and standard deviation. It monito

MT4 Trading robot Trend followingIndicator crossoverMean reversion
Updated 7 years ago None stated GitHub repository of Tre Boll Trend

Ichimoku Forex

by alifarahm
3 stars

This MetaTrader 4 expert advisor automates trading using the Ichimoku Kinko Hyo indicator alongside Simple Moving Average crossovers. It monitors Tenkan, Kijun, and Senkou spans to identify market trends while applying a Kumo cloud size threshold to filter out low-volatility entries. For risk control, the system provid

MT4 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Ichimoku Forex

Demo Bot

by johnnydeez-zz
3 stars

This MetaTrader 4 expert advisor implements a trend-following strategy using two Simple Moving Averages. It is specifically pre-configured for the CHFJPY currency pair on the 30-minute timeframe. The robot identifies entries when a fast 145-period SMA and a slow 250-period SMA align, placing pending orders rather than

MT4 Trading robot Trend followingIndicator crossover
Updated 8 years ago None stated GitHub repository of Demo Bot

Trading Robot

by robintkim
3 stars

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

MT4 Trading robot Indicator crossoverMulti-strategy
Updated 9 years ago None stated GitHub repository of Trading Robot

Xingtai MQ4 Collection

by huoliang2012
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including implementations based on Moving Averages and MACD indicators. The primary EA uses a moving average crossover strategy to identify entry points and manage positions. It features a lot-sizing module that adjusts volume based on available mar

MT4 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of Xingtai MQ4 Collection

Mousse Pips

by sharkone
3 stars

Mousse Pips is a MetaTrader 4 expert advisor that implements a trend-following strategy based on exponential moving average crossovers. The robot identifies entries and exits by comparing fast and slow moving average periods. It incorporates automated risk management by calculating lot sizes as a percentage of free mar

MT4 Trading robot Indicator crossoverTrend following
Updated 14 years ago None stated GitHub repository of Mousse Pips

MA Cross Risk EA

by alexistdev
2 stars

This MetaTrader 5 expert advisor executes a trend-following strategy based on moving average crossovers. It monitors fast and slow exponential moving averages on closed bars to trigger buy or sell orders, with an optional RSI filter to confirm momentum. The robot includes automated risk management features such as dyna

MT5 Trading robot Indicator crossoverTrend following
Updated 2 days ago None stated GitHub repository of MA Cross Risk EA

XAUUSD Scalping EA

by AhsanAli013
2 stars

This MetaTrader 5 expert advisor is designed for gold scalping using a multi-timeframe approach. It analyzes price action across M5, M15, and H1 intervals using Exponential Moving Averages, Relative Strength Index, and Average Directional Index for entry confirmation. Trades are managed with ATR-based stop losses, take

MT5 Trading robot ScalpingIndicator crossoverTrend following

3711 Single EA

by hakimibob
2 stars

This expert advisor for MetaTrader 5 utilizes a multi-timeframe technical approach, scanning H1, M30, M15, and M5 periods simultaneously. It generates signals using a stochastic stack combined with RSI and stochastic divergence detection. The system incorporates a formula pack for market structure analysis, including B

MT5 Trading robot Indicator crossoverMean reversionSMC / ICT / price action
Updated 4 weeks ago None stated GitHub repository of 3711 Single EA
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion

MQL5 Skill EA Template

by ductri-dev
2 stars

This MetaTrader 5 expert advisor provides a foundational template for developing automated trading robots using standard MQL5 classes. It features a basic crossover strategy where trades are triggered when the price crosses a Moving Average on the close of a candle. The system includes a tick freshness check to prevent

MT5 Framework & template Indicator crossover
Updated 2 months ago None stated GitHub repository of MQL5 Skill EA Template
2 stars

SoftArsenal is a collection of MetaTrader 4 expert advisors and development tools. The repository features a custom expert advisor named Aberration, which utilizes Bollinger Bands to identify market breakouts. It places pending buy and sell stop orders at the outer bands and dynamically adjusts stop loss levels to the

MT4 Collection BreakoutTrend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of SoftArsenal EA Collection

Zed MQL5

by MichalBPL
2 stars

Zed MQL5 provides comprehensive MetaTrader 5 development tools for the Zed editor. It delivers advanced coding features including syntax highlighting for over 400 built-in functions, context-aware autocompletion, and a native language server. The repository includes a sample expert advisor that implements a classic dua

MT5 Framework & template Indicator crossover
Updated 3 months ago MIT GitHub repository of Zed MQL5

Jamesmaria EA

by King-jamesmaria
2 stars

Jamesmaria EA is a multi-pair MetaTrader 5 trading robot specializing in EURUSD, EURGBP, and Gold. It employs an H1 entry strategy based on the EMA 21/50 crossover and RSI confirmation, using H4 trend filtering for higher-probability setups. The EA includes dynamic lot sizing scaled to account equity, ATR-based take pr

MT5 Trading robot Indicator crossoverTrend following
Updated 4 months ago None stated GitHub repository of Jamesmaria EA

Newton Fx

by Ralarcon88
2 stars

Newton Fx is an automated trading system for MetaTrader 5, specifically configured for the gold market on the fifteen-minute timeframe. It identifies entries using a combination of exponential moving average crossovers, ADX trend strength verification, and Fibonacci retracement levels. The robot manages risk through AT

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Newton Fx

This collection for MetaTrader 5 provides a series of tools focused on Exponential Moving Average crossovers and trend identification. The primary scripts monitor the relationship between fast and slow EMAs to generate visual signals, marking the chart with vertical lines and arrows when a crossover or retest occurs. I

MT5 Collection Indicator crossoverTrend following

Swift Algo Bot

by connectfazla
2 stars

This MetaTrader 5 expert advisor provides an automated trading system with two primary operation modes: a multi-confluence signal engine and a Smart Money Concepts strategy. The confluence engine aggregates signals from RSI, MACD, Bollinger Bands, and EMA crossovers, while the Smart Money mode focuses on liquidity swee

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 5 months ago None stated GitHub repository of Swift Algo Bot

GainzAlgo EA

by saadkhan371
2 stars

This MetaTrader 5 robot is a trend-following expert advisor converted from Pine Script, designed primarily for gold scalping on the one-minute timeframe. It identifies entries using a triple Exponential Moving Average stack combined with Relative Strength Index filters and candle confirmation. The EA manages risk throu

MT5 Trading robot Trend followingScalpingIndicator crossover
Updated 5 months ago None stated GitHub repository of GainzAlgo EA

MH EA Collection

by mhizterkeyz
2 stars

This collection of MetaTrader 5 expert advisors contains numerous trading scripts, with the primary source code focusing on a gold-trading strategy. The robot utilizes a combination of the Relative Strength Index, Average True Range, and Average Directional Index alongside three simple moving averages to identify trend

MT5 Collection Trend followingIndicator crossoverMean reversion
Updated 7 months ago None stated GitHub repository of MH EA Collection

Mql5 Ea Lab

by diegoaberrio
2 stars

This collection of MetaTrader 5 expert advisors provides several technical strategies for automated trading. The primary implementation uses a triple exponential moving average crossover for signals, supported by an Average True Range volatility filter. Risk control is managed via equity percentage or fixed lot sizing,

MT5 Collection Trend followingIndicator crossoverMulti-strategy
Updated 7 months ago MIT GitHub repository of Mql5 Ea Lab

Pine To MQL5 EMA Slope Cross

by maxime-fintech
2 stars

This Expert Advisor for MetaTrader 5 is a conversion of the EMA Slope and EMA Cross strategy originally developed for TradingView. It employs three Exponential Moving Averages with default lengths of 2, 4, and 20 to generate signals based on trend slope and price crossovers. The system supports a reversal-based trading

MT5 Trading robot Indicator crossoverTrend following

Forex Master Multi Strategy

by simonokwundue-ops
2 stars

This MetaTrader 5 expert advisor utilizes a weighted signal scoring system to execute trades based on four technical indicators: Moving Average crossovers, RSI, Bollinger Bands, and MACD. It incorporates multi-timeframe analysis across M15, M30, and H1 periods to confirm trend direction. Risk management features includ

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 10 months ago None stated GitHub repository of Forex Master Multi Strategy

MQL5 Article Collection

by mhassanhub
2 stars

This repository serves as an extensive educational resource for MetaTrader 5, containing a wide variety of Expert Advisors and indicators based on a series of MQL5 development articles. It includes robots utilizing technical indicators such as RSI, MACD, Ichimoku, and Bollinger Bands. The collection features tools for

MT5 Collection Indicator crossoverMean reversionBreakout
Updated 12 months ago None stated GitHub repository of MQL5 Article Collection

Span Model Trader

by KC-Kamioka
2 stars

Span Model Trader is an automated expert advisor for MetaTrader 4 that utilizes the Span Model and Super Bollinger technical indicators. It identifies entry and exit signals based on components such as the Blue Span and Delayed Span. The robot operates on a bar-by-bar basis, executing logic only at the opening of a new

MT4 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Span Model Trader
2 stars

This MetaTrader 5 expert advisor combines Bollinger Band mean-reversion, squeeze breakouts, and EMA crossover trend following. It filters for ranging markets using a long-period EMA slope to execute reversal trades with candlestick confirmation, specifically identifying Doji patterns at the bands. Risk management inclu

MT5 Trading robot Mean reversionBreakoutIndicator crossover
2 stars

This MetaTrader 5 expert advisor combines technical indicators with price action to automate trading decisions. It incorporates five individual strategies including EMA crossovers, candlestick engulfing patterns, and support or resistance breakouts. The system is specifically calibrated for the 30-minute timeframe and

MT5 Trading robot Indicator crossoverBreakoutMean reversion
2 stars

This MetaTrader 5 expert advisor serves as a signal generation tool primarily designed for the EURUSD currency pair. It identifies entry signals by combining MACD crossovers and Relative Strength Index levels, using a 200-period Exponential Moving Average as a primary trend filter. The system integrates a fundamental n

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Advanced Signal Generator
2 stars

This MetaTrader 5 expert advisor automates a bullish continuation strategy designed primarily for the five-minute timeframe. It identifies long entry opportunities by combining price action with technical trend filters. The robot enters trades when specific candlestick formations, including engulfing or harami patterns

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Bullish Continuation Bot

Ea Swing Xauusd

by diditgravatar
2 stars

This MetaTrader 5 expert advisor is designed for swing trading gold (XAUUSD). It employs a trend-following strategy using 50 and 200 Simple Moving Averages, ADX for trend strength, and RSI for momentum filters. The system requires multi-timeframe confirmation from H4 and D1 charts before entering trades. Risk managemen

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Ea Swing Xauusd

Backwater EA

by HERO-FIIFI
2 stars

Backwater EA is a MetaTrader 5 expert advisor that automates trading based on Smart Money Concepts, specifically focusing on Fair Value Gaps and Inversion Fair Value Gaps. The robot monitors price action and market structure to identify entries, filtering signals using a 50-period and 200-period Simple Moving Average c

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 1 year ago None stated GitHub repository of Backwater EA

MAStoch

by Rodorush
2 stars

MAStoch is a MetaTrader 5 expert advisor that executes trades based on moving average crossovers, with an optional Stochastic oscillator filter for overbought and oversold conditions. It features a dual-stage exit strategy allowing for partial closes at different Fibonacci levels or fixed currency targets. Risk control

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of MAStoch

Siluman Kambing

by rajaculaemas
2 stars

This MetaTrader 4 expert advisor implements a multi-strategy approach for trading various currency pairs and gold. It combines technical indicators including Moving Averages, RSI, Bollinger Bands, and ADX with price action concepts such as support, resistance, and engulfing patterns. The EA features risk management too

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Siluman Kambing
2 stars

This repository contains a collection of Expert Advisors and trading tools developed for the MetaTrader 4 platform. It features multiple standalone scripts implementing classic technical strategies, including Ichimoku Cloud trend following, Moving Average crossovers, and momentum-based entries using RSI or MACD. The Ex

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of AlgoTrading MQL Collection

RSI WMA EA

by shahadatnovel
2 stars

This MetaTrader 5 expert advisor executes trades based on a combination of Relative Strength Index (RSI) and Weighted Moving Averages (WMA) across two timeframes. It compares indicator values against defined buy and sell thresholds on a primary timeframe, with an optional trend filter from a higher timeframe. Risk mana

MT5 Trading robot Mean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of RSI WMA EA

MACD Trend Trader

by diankartika
2 stars

This MetaTrader 4 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator. Developed as an academic project, the bot filters signals using an Exponential Moving Average to ensure trades follow the established trend. Risk management features include a fixed lot sizing model, a

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of MACD Trend Trader
2 stars

This repository contains a collection of MetaTrader 5 expert advisors designed for various financial instruments including the DAX index, gold, oil, and major currency pairs. The library includes specialized robots like German Sunrise for DAX mean reversion and others for specific events like Friday gold moves or Tuesd

MT5 Collection Mean reversionIndicator crossoverTrend following

Framework4o

by Capital-Advisory-Technology
2 stars

Framework4o is a modular system building framework and expert advisor for MetaTrader 4. It provides a structured environment for developing trading models with pre-defined modules for position and risk management. The core functionality handles entry and exit logic using indicators like DEMA, EMA, and RSI. It includes

MT4 Framework & template Trend followingIndicator crossover
Updated 2 years ago GPL-3.0 GitHub repository of Framework4o

Macd Ema Strategy

by jokwok1
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using MACD and EMA indicators. For long entries, it requires a MACD crossover below the zero line and price confirmation above the EMA. It manages risk through ATR-based stop losses and take profits, with a default 1:2 risk-to-reward ratio. Users ca

MT5 Trading robot Trend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of Macd Ema Strategy
2 stars

This MetaTrader 4 expert advisor automates trading using moving average crossovers. It generates buy and sell signals based on user-defined periods and shift parameters. The EA includes a risk management module that calculates lot sizes dynamically based on free margin and a maximum risk percentage. It features a reduc

MT4 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Clarionxk Moving Average
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on moving average crossovers. It utilizes a fast Exponential Moving Average and a slow Exponential Moving Average for entry signals, with a longer-period Simple Moving Average acting as a trend filter. The robot includes an optional RSI filter

MT5 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Moving Average Crossover EA

This repository features MetaTrader 4 expert advisor templates focused on technical indicator integration and price action patterns. The included files utilize simple and exponential moving averages alongside fractal and candlestick pattern detection, such as hammers and stars. Trade management is handled through time-

MT4 Collection Indicator crossoverSMC / ICT / price action

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