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.

276 EAs match Clear filters

Hercules MQL5 Library

by herculeshssj
4 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility scripts. It includes a variety of automated strategies such as mean reversion, Dunnigan NRTR, and experiments with artificial intelligence. The library also features utility tools for Telegram integration, search functions, and signal das

MT5 Collection Mean reversionAI / machine learningIndicator crossover High risk Archived

Oanda TDesk Drone

by LonnieCoffman
4 stars

Oanda TDesk Drone is a MetaTrader 4 expert advisor designed to execute trades based on signals from the TDesk dashboard via the Oanda FXtrade platform. It functions as a bridge, using an external Python script and file-based data exchange to facilitate order placement. The EA is specifically designed to support fractio

MT4 Trading robot Multi-strategyGridHedging High risk
Updated 7 years ago None stated GitHub repository of Oanda TDesk Drone

GA Forex Strategy Maker

by JakubAdamczyk344
4 stars

This MetaTrader 5 expert advisor functions as an autonomous trading system that integrates a genetic algorithm for parameter optimization. The robot utilizes a logic-tree structure combined with technical indicators such as RSI, MACD, and ADX to identify market entries. It features standard risk controls, including fix

MT5 Trading robot AI / machine learning
Updated 9 years ago None stated GitHub repository of GA Forex Strategy Maker

SVEA Super Visor

by LeonardoCiaccio
4 stars

SVEA is a MetaTrader 4 trade management tool designed to supervise manual entries and automate order execution based on horizontal lines. It monitors specific price levels set by the user to trigger buy and sell orders, including stops and limits. The utility incorporates essential risk controls such as percentage-base

MT4 Utility Grid High risk
Updated 10 years ago MIT GitHub repository of SVEA Super Visor

NZT USDJPY

by felipemiramontesr
4 stars

NZT USDJPY is a MetaTrader 4 expert advisor specifically tailored for the USD/JPY forex pair. The EA monitors tick-by-tick price movements to manage active long and short positions. It employs logic that triggers order closures or modifications based on bid and ask fluctuations relative to reference prices. The softwar

MT4 Trade manager Hedging
Updated 10 years ago None stated GitHub repository of NZT USDJPY
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and indicators designed for automated trading and technical analysis. The EAs implement various strategies such as trend-following, candle pattern recognition, and tick movement analysis. Risk management features across the files include standard sto

MT4 Collection Trend followingMartingaleGrid High risk

Grid Trading EA MT5

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-layer grid trading system suitable for forex, gold, and indices. It establishes a grid of price levels around an anchor point, opening buy positions when the price crosses down through a specific level. The grid is divided into three customizable layers, each with ind

MT5 Trading robot Grid High risk
Updated 5 weeks ago None stated GitHub repository of Grid Trading EA MT5

Fxcodebase Archive

by gehtsoft-usa
3 stars

This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5. The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale

MT4MT5 Collection Multi-strategyMartingaleHedging High risk
Updated 2 months ago GPL-3.0 GitHub repository of Fxcodebase Archive

Adjustable MA 3G

by EarnForex
3 stars

This expert advisor for MetaTrader 4 and 5 executes trades based on crossovers of the 3rd Generation Moving Average indicator. It utilizes two instances of the custom indicator with adjustable periods and sampling settings to identify trend shifts. The robot enters positions when the difference between the fast and slo

MT4MT5 Trading robot Indicator crossover
Updated 5 months ago Apache-2.0 GitHub repository of Adjustable MA 3G
3 stars

This repository is a collection of educational Expert Advisors for MetaTrader 5, structured as a learning roadmap. It contains several standalone trading scripts, including a multi-symbol basket trader called Profit Twins, which enters buy positions on two different pairs and exits based on a combined profit percentage

MT5 Collection Mean reversionIndicator crossoverMulti-strategy
Updated 9 months ago None stated GitHub repository of MQL5 Learning Collection

RemedyBot

by Uzochinny
3 stars

RemedyBot is a collection of Expert Advisors for MetaTrader 5 focused on technical indicator strategies. The primary files utilize the MQL5 standard library classes to combine trend-following signals, such as Moving Average crossovers, with volatility-based exits like the Parabolic SAR trailing stop. The project includ

MT5 Collection Trend followingIndicator crossoverMean reversion High risk
Updated 1 year ago None stated GitHub repository of RemedyBot

Grid Hedge Combine

by Far-1d
3 stars

Grid Hedge Combine is a MetaTrader 5 expert advisor designed to automate market entries using a mixture of grid and hedging techniques. It opens initial trades and layers subsequent orders at predefined pip intervals when the price moves against the position. The EA features lot size scaling, allowing for aggressive or

MT5 Trading robot GridMartingaleHedging High risk
Updated 1 year ago None stated GitHub repository of Grid Hedge Combine

Discord Telegram Client

by nguemechieu
3 stars

This MetaTrader 4 utility serves as a bridge between the trading terminal and external platforms like Telegram and Discord. It functions as a comprehensive manual trading panel, enabling users to execute various order types and manage positions directly from the chart interface. The EA integrates indicator-based signal

MT4 Copier & bridge Multi-strategy

Me Close All

by ForexfactoryVietnam
3 stars

This MetaTrader 4 trade management utility provides a graphical interface for handling open positions. It enables users to perform bulk actions such as closing all active orders, deleting pending orders, or modifying stop loss and take profit levels for existing trades. The tool includes an automated break-even functio

MT4 Trade manager
Updated 2 years ago None stated GitHub repository of Me Close All

Banik MQL4 EA Collection

by Chiradeep-Banik
3 stars

This MetaTrader 4 repository features a collection of expert advisors, including a dual moving average retracement strategy and a Morning Star candlestick pattern robot. The primary moving average EA identifies trends using fast and slow Simple Moving Averages, entering trades when price retraces to the short-term aver

MT4 Collection Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Banik MQL4 EA Collection

RSI MA Cross Custom

by OrchardForexTutorials
3 stars

This Expert Advisor for MetaTrader 4 executes trades based on the confluence of Relative Strength Index levels and Moving Average crossovers. It enters long positions when the RSI is oversold and a fast exponential moving average crosses above a slow one, and short positions when the RSI is overbought during a downward

MT4 Trading robot Indicator crossoverMean reversion
Updated 3 years ago GPL-3.0 GitHub repository of RSI MA Cross Custom

Pouriakouhzadeh MQL4 Collection

by pouriakouhzadeh
3 stars

This repository contains a collection of over 70 Expert Advisors developed for the MetaTrader 4 platform. The primary file, NNA_Expert, utilizes DLL imports and shell execution to exchange data via CSV files, suggesting integration with external prediction engines or neural networks. Other included experts focus on Fib

MT4 Collection Multi-strategyIndicator crossover

Reji Breakout

by ziyouzy
3 stars

This MetaTrader 4 expert advisor implements a scheduled breakout strategy. It functions by placing Buy Stop and Sell Stop orders at a specified distance from the current market price once a pre-set local computer time is reached. The system includes risk management controls such as fixed stop loss, take profit, and a t

MT4 Trading robot Breakout
Updated 5 years ago None stated GitHub repository of Reji Breakout

Email To Order

by mikha-dev
3 stars

This MetaTrader 4 expert advisor functions as a bridge between a POP3 email inbox and the trading terminal. It monitors a specified email account for incoming messages containing trade signals and automatically executes orders on the platform. The tool supports secure SSL connections and allows users to configure fixed

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Email To Order
3 stars

This repository contains an extensive collection of over 250 expert advisors and utility scripts for MetaTrader 4. The library features various automated robots, manual trade panels, and risk management tools. It includes specialized folders for hedging strategies, pending order assistants, and multi-indicator monitors

MT4 Collection HedgingMartingaleMulti-strategy High risk

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

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

Quotes Hub

by CloudFree9
3 stars

Quotes Hub is a MetaTrader 5 data bridge designed to receive and broadcast market data to external applications. It specifically handles data feeds, including references to Interactive Brokers, and redistributes them using socket connections. The utility functions as a server, allowing other software to subscribe to li

MT5 Copier & bridge
Updated 8 years ago Apache-2.0 GitHub repository of Quotes Hub

EJ Trader MT5 Collection

by ejtraderPlugins
3 stars

This repository is a diverse collection of MetaTrader 5 Expert Advisors, featuring nearly 100 different scripts sourced from various origins. The library includes automated robots based on standard indicators like Bollinger Bands, MACD, Stochastics, and moving average crossovers, as well as channel trading systems and

MT5 Collection Indicator crossoverMean reversionBreakout High risk
Updated 8 years ago None stated GitHub repository of EJ Trader MT5 Collection
2 stars

This collection of utilities for MetaTrader 5 focuses on protecting open positions during periods of high volatility or spread widening. The SpreadHourDodger tool manages stop loss orders during market rollover by either removing them entirely or widening them based on historical spread data stored in a CSV file. The N

MT5 Risk & protection
Updated 7 weeks ago None stated GitHub repository of Spread Hour and News Dodger

EA OAT Collection

by anhnguyen123312
2 stars

The repository provides a collection of MetaTrader 5 expert advisors and analytical tools. The main featured tool is a 3D correlation matrix that visualizes the statistical relationships between multiple currency pairs over a customizable date range using DirectX and Canvas graphics. In addition to this analytical tool

MT5 Collection Mean reversionMulti-strategyGrid High risk
Updated 9 months ago None stated GitHub repository of EA OAT Collection

LinearFX Trader

by Carloncho0528
2 stars

LinearFX Trader is an automated expert advisor for MetaTrader 5 that utilizes mathematical linear regression to identify trading opportunities. The robot analyzes historical price data over a configurable lookback period to determine market direction. It includes essential risk management features such as fixed lot siz

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago None stated GitHub repository of LinearFX Trader

North East Way Collection

by Yogurt-Peng
2 stars

This repository contains a collection of MetaTrader expert advisors for MT4 and MT5, featuring various algorithmic trading strategies. The primary EA, North East Way, implements a multi-currency grid and martingale system focused on mean reversion for correlated pairs such as AUDNZD and NZDCAD. It manages risk through

MT4MT5 Collection Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way Collection

DC Fib2O MT5 Bot

by sournk
2 stars

This Expert Advisor for MetaTrader 5 automates a strategy based on Fibonacci retracements following a Break of Structure or Change of Character. It identifies market structure shifts and places two separate pending orders: a trend-following stop order and a reversal limit order targeting liquidity runs. The EA calculat

MT5 Trading robot SMC / ICT / price actionMean reversion

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

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 collection for MetaTrader 5 features a variety of trading tools and automated expert advisors. It includes advanced visualization utilities like a 3D correlation matrix and a mathematical morpher using DirectX canvas. The repository also provides several technical trading robots based on moving averages, MACD, ADX

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk
Updated 2 years ago None stated GitHub repository of Classicado MQL5 Collection
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

Expert Ichimoku

by tsunamyh
2 stars

This automated trading robot for MetaTrader 5 utilizes the Ichimoku Kinko Hyo indicator to execute trades. It features customizable periods for the Tenkan-sen, Kijun-sen, and Senkou Span B components. Risk management is handled through fixed pips-based stop loss and take profit orders, supplemented by a trailing stop a

MT5 Trading robot Trend followingMartingale High risk
Updated 2 years ago None stated GitHub repository of Expert Ichimoku
2 stars

This MetaTrader 5 utility provides a three-dimensional visualization of price correlations across multiple currency pairs. It processes historical data to calculate returns and synchronizes price action for a user-defined list of symbols over a specified date range. The tool utilizes the Canvas3D library and DirectX to

MT5 Collection Grid High risk
Updated 2 years ago None stated GitHub repository of Correlation Matrix 3D
2 stars

This repository is a collection of MetaTrader 4 projects including expert advisors, libraries, and utilities. The featured Tri-Arbitrage EA executes an experimental strategy by monitoring price discrepancies between currency triplets like EURUSD and EURGBP. It calculates an implied price and enters trades when market i

MT4 Collection ArbitrageTrend following

FX Data Collector

by mskelton
2 stars

This MetaTrader 5 utility serves as a historical data collector for exporting market information. Instead of executing trades, the expert advisor iterates through historical candles when run in the strategy tester to generate a CSV file containing open, high, low, and close prices. The data output includes ISO8601 form

MT5 Utility
Updated 3 years ago None stated GitHub repository of FX Data Collector
2 stars

This collection includes four MetaTrader 5 expert advisors designed to demonstrate basic algorithmic trading using the Relative Strength Index. The repository provides separate scripts for long and short entries, with options to evaluate trade signals either on a per-tick basis or only upon candle completion. Each expe

MT5 Collection Mean reversion

EA 5120

by thevictorwhyte
2 stars

EA 5120 is a MetaTrader 4 robot that executes trades based on a trend-following system using several exponential moving averages. The strategy utilizes multiple EMA periods, such as 5, 13, 25, and 120, to determine market momentum and generate signals. Trade management includes options for fixed or dynamically calculat

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of EA 5120
2 stars

This repository contains a collection of MetaTrader 4 and MetaTrader 5 tools, including automated trading robots and technical utilities. The primary expert advisor features a hybrid system that supports both straddle and fade execution modes. It provides built-in risk management via stop loss, take profit, trailing st

MT4MT5 Collection BreakoutMean reversionMulti-strategy

Forex Factory News Scraper

by NathanaelPeters
2 stars

This MetaTrader 5 expert advisor automates news trading by integrating with an external Python web scraper. The Python component extracts economic calendar data from Forex Factory and saves it to a local file, which the EA monitors in real-time. Minutes before scheduled news events, the bot executes a straddle strategy

MT5 News trading NewsBreakoutHedging
Updated 6 years ago None stated GitHub repository of Forex Factory News Scraper
2 stars

This expert advisor for MetaTrader 4 executes a trend-following strategy using technical indicators. It calculates entry signals by monitoring moving averages and utilizes price envelopes as a volatility filter. The system also tracks the Average True Range to evaluate momentum and market shifts. Risk management includ

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 6 years ago None stated GitHub repository of Forex Trend Trader

Currency Pair Scanner

by kurt-apple
2 stars

This MetaTrader 4 expert advisor functions as a technical scanner and trade automation tool. It iterates through multiple currency pairs to evaluate market conditions and sort them according to technical criteria. The system includes logic for automated order preparation, performing real-time risk assessments before ex

MT4 Trading robot Multi-strategy
2 stars

This repository contains the Forex Algos Collection, a suite of over forty MetaTrader 4 expert advisors centered around the Aeron Forex Auto Trader robot. This primary EA implements a grid-based entry system combined with martingale lot scaling, where position sizes increase significantly via a multiplier factor after

MT4 Collection GridMartingaleHedging High risk
Updated 6 years ago None stated GitHub repository of Forex Algos Collection
2 stars

This MetaTrader 4 expert advisor collection includes two distinct robots designed for trend-following and trend-breakout strategies. The system utilizes technical indicators such as Moving Averages and Bollinger Bands to identify market entry points and monitor price action. It features hardcoded logic for managing tra

MT4 Collection Trend followingBreakout
Updated 7 years ago None stated GitHub repository of Auto Trade Trend Keep

Supremacy BO Expert

by UncleSemyon
2 stars

This MetaTrader 4 expert advisor is designed for both Binary Options and standard Forex trading. It operates using a martingale lot scaling system that increases position sizes based on calculated steps and profit targets. The EA includes risk management features such as fixed lot sizing or balance-based percentage ris

MT4 Trading robot Martingale High risk
Updated 7 years ago None stated GitHub repository of Supremacy BO Expert
2 stars

This repository contains a collection of MetaTrader 5 expert advisors, primarily featuring the Pato Novo robot. Pato Novo utilizes moving average signals for trade entries and manages risk with fixed lot sizing, stop loss, and take profit parameters. It includes logic to limit the number of consecutive winning or losin

MT5 Collection Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Pato Novo MQL5 Collection
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

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