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
682 EAs match Clear filters
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 MetaTrader 5 expert advisor implements a multi-layered grid strategy that manages up to three independent grids simultaneously on a single instrument. It uses the Relative Strength Index (RSI) across different timeframes to determine the initial trade direction for each grid. The EA employs martingale lot scaling,

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 2 years ago None stated GitHub repository of Springfield 3 Grids

EA MT5 Template

by HermesNWO
2 stars

This MetaTrader 5 expert advisor serves as a development framework for building customized trading robots with external connectivity. It features a built-in bridge to send trade execution data to web APIs and record history in local CSV files. The template includes logic for monitoring position profit and managing trad

MT5 Framework & template
Updated 2 years ago None stated GitHub repository of EA MT5 Template

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

Pending Replacer EA

by devin-burbach
2 stars

This MetaTrader 5 expert advisor manages trades on synthetic instruments like Range Break indices. It functions primarily as a trade manager that monitors price spikes to trigger the closing of open positions. The utility includes risk management filters, allowing the user to target specific orders using magic numbers

MT5 Trade manager
Updated 3 years ago None stated GitHub repository of Pending Replacer EA
2 stars

This MetaTrader 5 expert advisor automates the placement of buy market and buy stop orders. When no positions are active, the robot enters the market and sets a pending buy stop order based on configurable distance parameters. It features a continuous trailing stop mechanism that tracks price movements without a minimu

MT5 Trading robot Trend followingBreakout
Updated 3 years ago None stated GitHub repository of Buy Order Trail Stop MT5

This MetaTrader 5 expert advisor automates trading strategies based on support and resistance levels. The software identifies price pivot points and monitors price action relative to these boundaries to determine entry signals. It references technical indicators, specifically the Relative Strength Index and Bollinger B

MT5 Trading robot Mean reversionBreakout
2 stars

This MetaTrader 5 expert advisor serves as a technical bridge to integrate Python-based trading models into the platform. It facilitates the testing and validation of external models within the MetaTrader Strategy Tester by utilizing the ONNX format for cross-platform compatibility. The system allows developers to leve

MT5 Copier & bridge AI / machine learning
2 stars

This MetaTrader 5 utility functions as a data bridge to import and visualize aggregated Bitcoin trade volume from external cryptocurrency exchanges. It utilizes a companion Expert Advisor to perform web requests, fetching CSV data from Bitcoinity to bypass platform limitations that restrict indicator internet access. T

MT5 Utility
Updated 3 years ago GPL-3.0 GitHub repository of Better Bitcoin Volume

OCO Part 1

by OrchardForexTutorials
2 stars

OCO Part 1 is an educational expert advisor for MetaTrader 5 that implements a One-Cancels-the-Other (OCO) trading mechanism. The robot places pairs of pending Buy Stop and Sell Stop orders at a fixed distance from the current market price. Once one order in the pair is triggered or deleted, the EA automatically cancel

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of OCO Part 1

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

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 5 framework provides a modular library for technical analysis, including candle pattern detection, support and resistance levels, and Fibonacci calculations. The repository includes an expert advisor that implements ZigZag-based wave analysis to identify market structure and chart patterns. It features

MT5 Framework & template SMC / ICT / price actionTrend followingMartingale High risk
2 stars

This MetaTrader 5 utility provides an on-chart interface for manual trade execution and risk management. It allows users to open long and short positions with integrated stop loss and take profit levels calculated using a custom risk-to-reward ratio. The tool features an automated lot size calculator that adjusts posit

MT5 Utility
Updated 4 years ago None stated GitHub repository of AR Universal Trading Panel
2 stars

This MetaTrader 5 trade manager automates stop loss adjustments for existing positions using the Teeth line of the Bill Williams Alligator indicator. It tracks an 8-period smoothed moving average shifted 5 periods forward to determine exit levels. The tool operates on a new bar basis, checking open trades and modifying

MT5 Trade manager
2 stars

This MetaTrader 5 expert advisor executes a martingale strategy using pending buy stop or sell stop orders. Users define an initial entry price and lot size, which the EA then manages using a configurable volume multiplier for subsequent trades. It includes automated stop loss and take profit calculations based on fixe

MT5 Trading robot Martingale High risk
Updated 4 years ago None stated GitHub repository of Martingale Pending Order EA
2 stars

This MetaTrader 5 tool provides a semi-automatic interface for executing trades based on manual chart analysis. Users can configure trendlines and horizontal lines to trigger buy or sell orders upon price touch, breakout, or retest. The EA includes a graphical user interface to manage lot sizes and provides draggable o

MT5 Utility Breakout
Updated 4 years ago None stated GitHub repository of MT5 Line Trading EA

212 Candle Pattern

by OrangeFoxie
2 stars

This MetaTrader 5 expert advisor identifies and trades the 212 candlestick pattern. It combines price action analysis with technical indicators, specifically using the Average Directional Index and a Moving Average for trend confirmation. The system manages risk through fixed stop loss and take profit levels, including

MT5 Trading robot Trend following
Updated 5 years ago None stated GitHub repository of 212 Candle Pattern

Saxby Andrew ML EA

by saxbyandrew
2 stars

This MetaTrader 5 expert advisor is a legacy project focused on machine learning and neural network forecasting. The system implements logic for training models and generating forecasts using technical indicators like ADX and ZigZag. It includes several optional modules for long, short, hedging, and martingale trading

MT5 Trading robot AI / machine learningMartingaleHedging High risk
Updated 5 years ago None stated GitHub repository of Saxby Andrew ML EA

MT5 Telegram Bot

by rafaelfvcs
2 stars

MT5 Telegram Bot is a remote management tool for MetaTrader 5 that connects the trading terminal to the Telegram messaging platform. It enables users to send trade instructions directly from a chat interface to the expert advisor. The EA processes specific commands to open buy or sell positions and close existing marke

MT5 Copier & bridge
Updated 5 years ago None stated GitHub repository of MT5 Telegram Bot
2 stars

This repository contains a collection of MetaTrader 5 expert advisors focused on simple technical indicator strategies. The primary EA utilizes a combination of the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) to identify overbought and oversold market conditions. It enters market trad

MT5 Collection Mean reversionIndicator crossover
Updated 5 years ago None stated GitHub repository of Trading Bots Collection

Simple RSI Expert

by emvadov
2 stars

This MetaTrader 5 expert advisor executes trades based on Relative Strength Index (RSI) levels. It enters long positions when the RSI is below a specified low point and the previous candle closed bullish, while short positions are triggered when the RSI is above a high point and the previous candle closed bearish. The

MT5 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of Simple RSI Expert

MM Cros IFR

by marcosnataqs
2 stars

This MetaTrader 5 expert advisor executes trades based on technical signals from Moving Average crossovers and the Relative Strength Index (RSI). It offers three distinct entry modes, allowing traders to utilize trend-following crossovers, RSI overbought and oversold levels, or a combination of both indicators. The rob

MT5 Trading robot Indicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of MM Cros IFR
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

Robo Harmonico

by joao-salomao
2 stars

Robo Harmonico is a MetaTrader 5 expert advisor designed to detect and trade harmonic price patterns, specifically focusing on the Gartley formation. It utilizes a custom ZigZag indicator to identify significant swing highs and lows, which are then processed by a dedicated detection library to find geometric structures

MT5 Trading robot SMC / ICT / price actionMean reversion
Updated 6 years ago None stated GitHub repository of Robo Harmonico

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

Simple Crazy Lot Pack

by Smilejarik
2 stars

This repository provides a collection of MetaTrader 5 expert advisors based on moving average crossovers and price distance relative to the mean. The core logic monitors the gap between the current price and a simple moving average while tracking candle direction for entry signals. The collection includes variations fo

MT5 Collection Mean reversionMartingale High risk
Updated 6 years ago None stated GitHub repository of Simple Crazy Lot Pack
2 stars

This MetaTrader 5 framework provides a modular structure for developing expert advisors. It includes base classes for retrieving account information, market prices, and candle data, alongside a dedicated trading system class for signal execution. The repository features an example implementation utilizing Relative Stre

MT5 Framework & template Mean reversion
Updated 6 years ago None stated GitHub repository of MQL5 Basic Framework

Treinamento Mql5

by vagnerpraia
2 stars

Treinamento Mql5 is an educational expert advisor designed for the MetaTrader 5 platform to demonstrate basic algorithmic trading concepts. It provides a framework for integrating technical indicators such as Moving Averages and the Relative Strength Index into a trading script. The EA includes input parameters to togg

MT5 Trading robot Multi-strategyIndicator crossover
Updated 7 years ago GPL-3.0 GitHub repository of Treinamento Mql5

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

Telegram Trader Bot

by nathanzilgo
2 stars

This expert advisor acts as a communication bridge between MetaTrader 4/5 and external applications via the ZeroMQ protocol, specifically aimed at executing trades from a Telegram group. It runs a local server within the terminal to receive trading instructions and optionally publish market data. The Python-based backe

MT4MT5 Copier & bridge
Updated 7 years ago None stated GitHub repository of Telegram Trader Bot
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 expert advisor acts as a communication bridge between MetaTrader 5 and external software environments using the ZeroMQ messaging protocol. It implements a publisher-subscriber model to broadcast real-time symbol data, including bid and ask prices, as JSON strings over a network connection. The EA allows users to c

MT5 Copier & bridge
2 stars

This MetaTrader 5 tool monitors the market price of a financial instrument and sends a push notification to the mobile terminal once a user-defined price level is reached. The utility utilizes a single input parameter to specify the target Ask price. Upon hitting the target, the expert advisor triggers the notification

MT5 Utility

MT5 Data To CSV

by daivieth
2 stars

This utility for MetaTrader 5 automates the collection and extraction of historical price data into CSV format. It captures essential market information including date, open, high, low, and close prices. The tool allows users to specify a single symbol for export or process all available symbols in the terminal. It inc

MT5 Utility
Updated 8 years ago MIT GitHub repository of MT5 Data To CSV

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

Ichimoku Framework

by reuniware
2 stars

This MetaTrader 5 expert advisor is a research-oriented framework designed to scan and analyze Ichimoku Kinko Hyo indicator criteria across multiple symbols. It evaluates price positions relative to the Chikou Span, Senkou Span A, and Senkou Span B to identify market reactions. The utility includes features for exporti

MT5 Framework & template Trend following
Updated 9 years ago None stated GitHub repository of Ichimoku Framework

CC Trading Management

by ChartAndChill
1 stars

This trade management expert advisor for MetaTrader 5 provides a comprehensive execution panel featuring a TradingView-inspired position tool. It allows users to visually define risk through draggable on-chart stop loss and take profit zones, automatically calculating lot sizes based on a percentage of account risk. Th

MT5 Trade manager
Updated yesterday None stated GitHub repository of CC Trading Management

Forex EA Collection

by tmpmosisili
1 stars

This repository contains a set of automated trading robots for the MetaTrader 5 platform, focusing on indicator-driven entry logic. The primary expert advisor utilizes Relative Strength Index levels to identify potential reversals, filtered by a Moving Average to ensure trades align with the prevailing trend. Risk mana

MT5 Collection Trend followingMean reversion
Updated yesterday None stated GitHub repository of Forex EA Collection

RiskGuard Pro

by farhadiamirali403-lab
1 stars

RiskGuard Pro is a multi-strategy expert advisor for MetaTrader 5 that combines automated trade execution with comprehensive risk management. It features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and perc

MT5 Trading robot Multi-strategyGridMartingale High risk
Updated yesterday None stated GitHub repository of RiskGuard Pro

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

AI Game Theory Trader

by can87683
1 stars

AI Game Theory Trader is a MetaTrader 5 expert advisor that employs Nash-style statistical signals for automated trade execution. It utilizes adaptive logic to calculate lot sizes based on user-defined risk percentages. The EA manages risk through stop losses, take profits, and trailing stops, which can be fixed or ATR

MT5 Trading robot AI / machine learning
Updated yesterday BSD-3-Clause GitHub repository of AI Game Theory Trader
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

Otto EA

by vickygujjar17
1 stars

Otto EA is a MetaTrader 5 expert advisor ported from Pine Script, designed for institutional-style trading and price action analysis. It utilizes a proprietary Wick1+Wick2 support and resistance block methodology to identify market structure and potential entry points. The system includes a sophisticated trade manageme

MT5 Trading robot SMC / ICT / price action
Updated 2 days ago None stated GitHub repository of Otto EA

Xau Ai Pro

by apolopanda500
1 stars

This expert advisor for MetaTrader 5 is a sophisticated trading system specifically optimized for gold. It operates as part of a hybrid ecosystem, utilizing a Python-based desktop interface for local machine learning model training and market analysis while executing trades via the MQL5 robot. The EA employs a multi-la

MT5 Trading robot AI / machine learningTrend followingNews
Updated 2 days ago None stated GitHub repository of Xau Ai Pro

MT5 AI EA

by aminazhar
1 stars

This MetaTrader 5 expert advisor is a component of the MT5-AI ecosystem, designed to interface with Python gateways and Telegram signals. The robot processes external signals to identify specific candle patterns and automatically plot Fibonacci retracement levels on the chart. It features multiple operational modes inc

MT5 Trading robot BreakoutSMC / ICT / price action
Updated 3 days ago None stated GitHub repository of MT5 AI EA

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