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

This repository contains a collection of educational Expert Advisors developed as solutions for an MQL5 programming course. The provided examples demonstrate fundamental automated trading concepts on the MetaTrader 5 platform, specifically focusing on Exponential Moving Average crossover logic and MACD data processing.

MT5 Collection Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Mql5 Course Solutions
3 stars

This MetaTrader 5 expert advisor executes trades based on the Ichimoku Kinko Hyo system, specifically targeting cloud breakouts. It incorporates several technical filters including Average True Range for volatility and Average Directional Index for trend strength to refine entries. Risk management is handled through pe

MT5 Trading robot Trend followingBreakoutIndicator crossover
Updated 3 years ago None stated GitHub repository of Ichimoku Cloud Breakout AR

Robo Investidor MQL5

by samuelhms
3 stars

This MetaTrader 5 repository provides a collection of expert advisors developed primarily for educational purposes and MQL5 language study. The included robots utilize trend-following logic based on multiple moving average crossovers, featuring variations with up to four different indicator periods. Traders can configu

MT5 Collection Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Robo Investidor MQL5

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

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

Oasis Money Maker

by rasimsen
3 stars

This MetaTrader 4 expert advisor executes trades based on three selectable technical indicators: Moving Averages, the Alligator indicator, or a custom channel strategy referred to as Rasim Line. It identifies trends and price levels to enter positions automatically. The EA manages risk through user-defined stop loss an

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Oasis Money Maker

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

This MetaTrader 4 expert advisor and modular framework provides advanced trade management and position scaling capabilities. It features a linear trailing stop that triggers at a predefined profit level and a pyramiding system to add positions to winning trades using a lot multiplier. The code is structured as a librar

MT4 Framework & template Trend followingIndicator crossoverGrid High risk

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

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

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

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

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

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk

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

This repository contains a collection of MetaTrader 5 expert advisor files designed for educational and tutorial purposes. It includes various scripts covering fundamental MQL5 programming concepts such as array manipulation, mathematical functions, and position management. Specific examples demonstrate basic entry log

MT5 Collection Indicator crossoverTrend followingMartingale High risk

This repository is a collection of various MetaTrader 5 expert advisors generated through the Mission Automate tool. It contains over 100 separate files covering a wide array of technical strategies, including range breakouts, trend-following systems, and indicator crossovers using Ichimoku, CCI, and Heiken Ashi. Sever

MT5 Collection BreakoutMartingaleTrend following High risk

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

NoIndex Modelo

by NoIndexx
2 stars

This MetaTrader 5 expert advisor serves as a base model or template for trend-following strategies. It utilizes three distinct moving averages—fast, medium, and slow—to identify market direction and potential entry points. The system includes built-in risk management parameters for fixed lot sizing, stop loss, and take

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of NoIndex Modelo
2 stars

This MetaTrader 4 expert advisor utilizes technical indicators to execute trades based on trend and momentum. The logic employs two simple moving averages (15 and 50 periods) alongside the Relative Strength Index to identify entries. It seeks buy or sell opportunities when moving averages crossover, provided the RSI co

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of My X Series Trading Robots

MA Cross

by rrg890
2 stars

This MetaTrader 4 expert advisor automates trading based on the crossover of two Simple Moving Averages. The robot enters a buy position when the short-term moving average crosses above the long-term moving average and a sell position when it crosses below. It manages exits by monitoring for reverse signals to close ac

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

Ichimoku EA

by anwarminarso
2 stars

This MetaTrader 4 expert advisor executes trades based on the Ichimoku Kinko Hyo indicator. It incorporates four distinct trading methods: the Ideal Strategy, Tenkan-Kijun-Chikou crossing, Kumo breakout, and Chikou Span crossing. The robot manages risk through fixed stop loss and take profit levels, a maximum trade lim

MT4 Trading robot Trend followingBreakoutIndicator crossover
Updated 6 years ago None stated GitHub repository of Ichimoku EA

Mql Trading Signals

by udy8007
2 stars

Mql Trading Signals is a collection of expert advisors for MetaTrader 4 and 5 designed for automated trading and signal notification. The repository contains various strategy iterations, primarily utilizing Simple Moving Average (SMA) crossovers to identify trends. The main experts include logic for sending trade detai

MT4MT5 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of Mql Trading Signals

Azizkhani

by azizkhani
2 stars

Azizkhani is a technical expert advisor for MetaTrader 5 that executes trades based on a combination of MACD and Commodity Channel Index indicators. The robot enters buy or sell limit orders when the CCI exceeds specific thresholds and the MACD aligns with the trend direction. It features a simplified logic for managin

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

EAM1 Ichimoku

by maleman
2 stars

EAM1 is a MetaTrader 5 expert advisor that utilizes the Ichimoku Kinko Hyo technical indicator to identify trading opportunities. The robot monitors the Tenkan, Kijun, and Senkou Span components to generate signals based on trend direction and component crossovers. Users can adjust the periods for the fast and slow lin

MT5 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of EAM1 Ichimoku

NNF Confirmation Indicator Testers

by marinelligiovanna
2 stars

This MetaTrader 4 collection provides a testing framework for trend confirmation indicators based on the No Nonsense Forex methodology. It includes three Expert Advisors designed to evaluate different signal types: Zero Line crosses, Two Line crosses, and Chart indicators. The system simulates trades at candle closes u

MT4 Utility Trend followingIndicator crossover

Falcon C

by vzhomeexperiments
2 stars

Falcon C is a MetaTrader 4 expert advisor that implements a rule-based strategy using moving average crossovers and Keltner Channels. It relies on an external deep learning framework built in R to categorize current market regimes, such as normal or volatile bull and bear phases. Based on these categories, the robot sw

MT4 Trading robot Indicator crossoverAI / machine learningTrend following
Updated 7 years ago MIT GitHub repository of Falcon C

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

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

C Financial

by rafaelsoec
1 stars

C Financial is a MetaTrader 5 repository containing a large collection of expert advisor variants focused on trend-following and price action strategies. The primary scripts utilize technical indicators like Moving Averages, ADX, CCI, and Average True Range to detect market direction and volatility. It features modular

MT5 Collection Trend followingBreakoutIndicator crossover High risk
Updated 10 days ago None stated GitHub repository of C Financial

EA Trading Guide

by thenaritlab
1 stars

This collection provides educational Expert Advisors for the MetaTrader 5 platform, showcasing different algorithmic approaches for beginners and intermediate traders. It features a moving average crossover system and a more advanced mean reversion robot based on the Relative Strength Index. The included tools utilize

MT5 Collection Trend followingMean reversionIndicator crossover

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

Break EA

by vitizelamabuza-ops
1 stars

Break EA is a multi-symbol trend-following robot for MetaTrader 5. It identifies market entries using a combination of EMA 50, MACD crossovers, and RSI filters, while ADX monitors trend strength. The advisor includes advanced trade management features such as ATR-based stop loss and take profit, trailing stops, break-e

MT5 Trading robot Trend followingIndicator crossover
Updated 7 weeks ago None stated GitHub repository of Break EA

Bullish Continuation MT5

by andrewkorot
1 stars

This MetaTrader 5 expert advisor executes a long-only bullish continuation strategy. It identifies trade entries by combining specific candlestick patterns, such as bullish engulfing and harami, with trend-following filters. For a buy order to trigger, the price must close above both the 50 and 200 exponential moving a

MT5 Trading robot Trend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of Bullish Continuation MT5

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

This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across M1, M5, and M15 intervals. It utilizes a seven-period Exponential Moving Average system ranging from EMA 30 to EMA 60 to identify market conditions. When EMAs are aligned, it executes trend-following trades; in consolidated markets, i

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 3 months ago None stated GitHub repository of Multi Filter MA MT5

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

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