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
1,037 EAs match Clear filters

Heikin Ashi Candle Flip EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor automates trading by detecting reversals in Heikin Ashi candle colors. It initiates a buy trade when a bullish flip occurs and a sell trade upon a bearish flip, managing one position at a time. The robot allows users to specify a custom Heikin Ashi indicator path if the default is not u

MT5 Trading robot Trend following
Updated 6 months ago None stated GitHub repository of Heikin Ashi Candle Flip EA

Remote MT5 Child EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor serves as a template for a master-child trading architecture. It is designed to work in conjunction with a separate Master EA, from which it receives instructions via global terminal variables. The EA monitors parameters such as remote pause states, maximum lot sizes, risk settings, and

MT5 Framework & template
Updated 7 months ago None stated GitHub repository of Remote MT5 Child EA

Remote MT5 Master EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor serves as a bridge between a terminal and a remote SaaS backend for centralized management. It polls a web API at regular intervals to receive and execute commands such as opening orders, pausing trading, or modifying positions. The tool enforces local risk controls, including maximum l

MT5 Copier & bridge
Updated 7 months ago None stated GitHub repository of Remote MT5 Master EA

AIME

by H3NST7
1 stars

AIME is a MetaTrader 5 Expert Advisor that automates trading using Inner Circle Trader (ICT) methodologies. The robot enters trades by evaluating smart money concepts such as fair value gaps, order blocks, and liquidity levels during specific session killzones. It features distinct strategies including the Unicorn mode

MT5 Trading robot SMC / ICT / price action
Updated 7 months ago None stated GitHub repository of AIME

Trend Pullback EA

by Ekisa02
1 stars

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

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

EMA Crossover Strategy Studio

by forexstrategystudio
1 stars

This MetaTrader 5 Expert Advisor implements an Exponential Moving Average crossover strategy generated using a visual no-code development platform. It utilizes bar-gated logic to evaluate trade entries and exits once per candle, preventing repetitive order submissions. The robot includes risk management controls such a

MT5 Trading robot Indicator crossover

SMC FVG EA

by trenddaytrader
1 stars

This MetaTrader 5 expert advisor automates trading strategies based on Smart Money Concepts (SMC), specifically focusing on Fair Value Gaps (FVG) and Order Blocks. The robot identifies market structure using swing highs and lows, rejection blocks, and a Simple Moving Average filter. Positions are managed through fixed

MT5 Trading robot SMC / ICT / price action
Updated 7 months ago None stated GitHub repository of SMC FVG EA

MQL5 EA Collection

by Santhosh-waran
1 stars

This MetaTrader 5 repository contains a collection of expert advisors centered on Smart Money Concepts and automated grid systems. The featured EA Lucre employs a grid strategy with integrated martingale or anti-martingale lot scaling. It manages risk through daily profit targets, drawdown limits, and optional multi-ti

MT5 Collection SMC / ICT / price actionGridMartingale High risk
Updated 7 months ago None stated GitHub repository of MQL5 EA Collection

Dejavu EA

by MarxMad
1 stars

Dejavu EA is a grid trading robot for MetaTrader 5 that automates trade entry using a system of pending orders. It supports buy and sell stops and limits, organized in configurable increments. The strategy includes a dynamic take profit mechanism relative to grid spacing, trailing stops, and ATR-calculated stop losses.

MT5 Trading robot GridHedging High risk
Updated 7 months ago None stated GitHub repository of Dejavu EA

MT5 Docker JsonAPI

by Martingale42
1 stars

MT5 Docker JsonAPI is a connectivity bridge that integrates MetaTrader 5 with external environments via a multi-socket ZeroMQ architecture. It enables real-time price streaming, trade execution, and account management from external platforms like Python. The solution is packaged in a Docker container, providing remote

MT5 Collection Grid High risk
Updated 7 months ago None stated GitHub repository of MT5 Docker JsonAPI

FFC Data Feeder

by awran5
1 stars

FFC Data Feeder is a utility expert advisor for MetaTrader 4 designed to fetch and manage economic calendar information. It acts as a backend data provider for the FFC Canvas Economic Calendar indicator by downloading JSON data directly from servers using the native WebRequest function. The tool operates without extern

MT4 Utility
Updated 8 months ago MIT GitHub repository of FFC Data Feeder

2026 Trading Bot

by tan235
1 stars

2026 Trading Bot is an automated expert advisor for MetaTrader 5 that focuses on price reversals using RSI divergence and pivot point levels. The robot monitors price action for bullish or bearish divergence patterns to identify entry signals near calculated support and resistance zones. It includes risk management set

MT5 Trading robot Mean reversion
Updated 8 months ago None stated GitHub repository of 2026 Trading Bot

Simple RSI MT5 Bot

by willyweyru-maker
1 stars

Simple RSI MT5 Bot is an automated trading script for MetaTrader 5 that utilizes the Relative Strength Index to enter trades. The robot follows a mean-reversion approach, executing buy orders when the RSI falls below a defined oversold level and sell orders when it rises above an overbought threshold. It operates with

MT5 Trading robot Mean reversion
Updated 8 months ago None stated GitHub repository of Simple RSI MT5 Bot

Sliding Window MT5

by dhruuvsharma
1 stars

This MetaTrader 5 expert advisor identifies scalping opportunities by analyzing candle data within a sliding window. It utilizes dynamic delta thresholds calculated through rolling means and Median Absolute Deviation (MAD) for both tick and volume data. Users can configure specific multipliers and minimum absolute thre

MT5 Trading robot Scalping

JiAlgo System

by duyng219
1 stars

JiAlgo System is a MetaTrader 5 expert advisor implementing the SonicR trading methodology across various market conditions. The robot uses exponential moving averages, specifically the EMA 34 and EMA 89, to determine trend direction and slope thresholds. It executes trend-following trades on initial pullbacks from new

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 8 months ago None stated GitHub repository of JiAlgo System

MQL4 Utilities FX

by MichalHerda
1 stars

MQL4 Utilities FX is a collection of auxiliary Expert Advisors for MetaTrader 4 designed to streamline trade management and account protection. The repository includes tools for setting automatic stop loss and take profit levels, managing break-even points, and calculating average entry prices. A core component is a pe

MT4 Collection
Updated 8 months ago None stated GitHub repository of MQL4 Utilities FX

Backtester EA

by saundersconsult
1 stars

Backtester EA is a validation tool for MetaTrader 5 designed to test specific trading signals within the Strategy Tester. Users can input exact entry, stop loss, and take profit prices, along with a precise timestamp down to the second. The expert advisor handles timezone offsets by automatically converting signal time

MT5 Utility
Updated 8 months ago None stated GitHub repository of Backtester EA
1 stars

This repository is a diverse collection of MetaTrader 5 expert advisors and utilities, ranging from automated trading robots to advanced risk management frameworks. The central tools focus on sophisticated risk control, implementing Value at Risk (VaR) calculations, equity-based stop loss and take profit protection, an

MT5 Collection Multi-strategyIndicator crossoverGrid High risk

Gaussian Recovery Engine

by iamvishalvasava
1 stars

This MetaTrader 5 expert advisor utilizes statistical normalization and trend filters to execute trades within a grid recovery framework. It identifies entry points using the Fisher Transform for overbought or oversold conditions, filtered by QQE trend alignment and ADX volatility thresholds. When a position moves agai

MT5 Trading robot GridMean reversionTrend following High risk

Mql5 EA Framework

by mounir-22
1 stars

This MetaTrader 5 expert advisor acts as a modular framework for algorithmic trading using object-oriented principles. It includes a functional strategy that enters trades based on RSI levels and Moving Average crossovers. The system manages exits through automated stop loss, take profit, break-even adjustments, and tr

MT5 Framework & template Indicator crossover
Updated 9 months ago MIT GitHub repository of Mql5 EA Framework

ÆEA

by NataliaTanyatia
1 stars

ÆEA is an automated trading robot for MetaTrader 4 that employs an ensemble of technical indicators to identify market imbalances. The strategy, described by the author as the Proportionality Principle, triggers trades when a specific ratio of bullish to bearish indicator signals is met. It calculates inputs from a wid

MT4 Trading robot Mean reversionIndicator crossover
Updated 9 months ago Apache-2.0 GitHub repository of ÆEA
1 stars

This MetaTrader 5 utility functions as a performance auditing dashboard for managing multiple algorithmic trading strategies simultaneously. It monitors and calculates institutional-grade metrics such as Profit Factor, Win Rate, and Risk/Reward ratios. The tool automatically detects strategy names by filtering broker l

MT5 Utility

TrendEngine Core

by Fintor-AI
1 stars

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

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

MQL5 EA CI/CD Template

by Garrick852
1 stars

MQL5 EA CI/CD Template is a development framework for MetaTrader 5 designed to automate the lifecycle of Expert Advisors. It implements modern software engineering practices through continuous integration and deployment pipelines using GitHub Actions. The system includes tools for automated unit testing, static code an

MT5 Framework & template Indicator crossover

Forex Expert Grid

by dz-rep
1 stars

This MetaTrader 4 expert advisor implements a grid-based trading approach by opening buy and sell positions based on price distance. The system evaluates current market orders and places new trades only when the price moves a specific distance, defined by the step parameters, from existing entries. Users can independen

MT4 Trading robot GridHedging High risk
Updated 9 months ago None stated GitHub repository of Forex Expert Grid

Hosopi3 Tanpoji

by harukihosono
1 stars

Hosopi3 Tanpoji is a single-position trading robot for MetaTrader 4 and MetaTrader 5, specifically developed to avoid martingale and averaging techniques. It triggers entries using various built-in technical indicators such as Moving Averages, RSI, Bollinger Bands, and Stochastics, or through external custom indicator

MT4MT5 Trading robot Indicator crossoverMean reversionMulti-strategy
Updated 10 months ago None stated GitHub repository of Hosopi3 Tanpoji
1 stars

This MetaTrader 5 expert advisor collection provides two distinct trading strategies: a fast scalper and a trend follower. The scalping component utilizes a combination of exponential moving average crossovers and Bollinger Bands to identify entry points. It features automated trade management including fixed stop loss

MT5 Collection ScalpingTrend followingIndicator crossover

Hosopi 2

by harukihosono
1 stars

Hosopi 2 is an automated trading robot for MetaTrader 4 and 5 that utilizes a mean-reversion strategy based on Bollinger Bands. The system enters counter-trend trades when price hits the bands and manages positions using a Nanpin martingale approach, layering orders at intervals to average down. Risk controls include t

MT4MT5 Trading robot Mean reversionMartingaleGrid High risk
Updated 10 months ago None stated GitHub repository of Hosopi 2
1 stars

Smartom Trade Assistant is a management utility for MetaTrader 5 that facilitates manual trade execution and position monitoring. It calculates appropriate lot sizes based on user-defined risk percentages and utilizes on-chart lines for setting entry prices, stop losses, and take profit targets. The assistant includes

MT5 Trade manager Martingale High risk
Updated 10 months ago None stated GitHub repository of Smartom Trade Assistant

MT5 Data Collector

by dhruuvsharma
1 stars

The MT5 Data Collector is a utility for MetaTrader 5 that exports market information into external CSV files for further analysis. It features two separate scripts to record either granular tick data or aggregated candle data. The tool logs various parameters including price levels, tick direction, volume, and bid/ask

MT5 Utility
Updated 10 months ago None stated GitHub repository of MT5 Data Collector

Manual Mode

by AVilums
1 stars

Manual Mode is a trading utility for MetaTrader 5 that provides a graphical interface for manual order execution. It allows traders to place market and limit orders while monitoring their risk profile through a dedicated overview panel. The tool focuses on assisting with position management and trade entry rather than

MT5 Utility
Updated 10 months ago None stated GitHub repository of Manual Mode

RSI MA Signal EA

by Kemran25
1 stars

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

MT5 Trading robot Trend followingIndicator crossover
Updated 11 months ago None stated GitHub repository of RSI MA Signal EA

Set Fixed SL and TP EA

by EarnForex
1 stars

Set Fixed SL and TP EA is a management tool for MetaTrader 4 and 5 that automatically monitors open positions and pending orders to apply protective exit levels. The utility assigns stop-loss and take-profit values based on user-defined points, specific price levels, or a percentage of the stop-loss. It features granul

MT4MT5 Trade manager
Updated 11 months ago Apache-2.0 GitHub repository of Set Fixed SL and TP EA

Gann Fan Bot

by AbasNiknam
1 stars

This MetaTrader 4 expert advisor automates trading based on Gann Fan theory by identifying trend angles from recent swing highs and lows. It enters the market using buy and sell stop orders placed at specific distances from detected Gann lines. The robot includes risk management features such as fixed stop loss, take p

MT4 Trading robot Trend followingBreakoutHedging
Updated 11 months ago None stated GitHub repository of Gann Fan Bot

Golden7

by edisonq
1 stars

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

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

RSI MA Combo EA

by trinity56
1 stars

This MetaTrader 4 expert advisor combines the Relative Strength Index, Moving Average, and Average Directional Index to identify trend-following entries. The strategy executes trades when price positioning relative to the moving average aligns with RSI exhaustion levels and ADX trend strength. It includes built-in risk

MT4 Trading robot Trend followingMean reversion
Updated 11 months ago MIT GitHub repository of RSI MA Combo EA

Expanding Grid EA

by OrchardForexTutorials
1 stars

This MetaTrader 5 robot implements a grid trading strategy featuring dynamic order spacing. Unlike traditional fixed grids, this expert advisor increases the distance between subsequent levels using an expansion factor. It employs martingale lot scaling where volumes grow exponentially based on the number of open posit

MT5 Trading robot GridMartingaleHedging High risk
Updated 11 months ago GPL-3.0 GitHub repository of Expanding Grid EA

M Grid

by OrchardForexTutorials
1 stars

This Expert Advisor for MetaTrader 5 implements a bi-directional grid strategy combined with martingale lot scaling. The robot monitors buy and sell legs independently, opening new orders at fixed pip intervals when the price moves against existing positions. It utilizes an exponential growth factor to increase trade v

MT5 Trading robot GridMartingaleHedging High risk
Updated 11 months ago GPL-3.0 GitHub repository of M Grid

Usatec MT5 Collection

by acortesi
1 stars

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

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

CyberiaTrader

by SumeetD003
1 stars

This rule-based automated trading system for MetaTrader 4 utilizes several modular logic components to identify market entries and exits. It includes integrated modules for MACD, Moving Averages, and proprietary CyberiaLogic and MoneyTrain algorithms. The EA provides flexible risk controls including automated lot sizin

MT4 Trading robot Indicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of CyberiaTrader
1 stars

This MetaTrader 5 framework integrates artificial intelligence models into trading strategies through the OpenRouter API. It provides a structured set of libraries for managing multiple AI providers, handling API fallback logic, and parsing natural language outputs into executable trade commands. The included demo expe

MT5 Framework & template AI / machine learning

Projeto Rob De Trading Lite

by Victoredbr21
1 stars

This MetaTrader 5 expert advisor serves as a public demonstration and educational portfolio project. It implements a framework for automated trading using technical indicators such as Cumulative Delta, Average True Range, and Volume Weighted Moving Average. The software includes core risk management controls including

MT5 Trading robot Trend following

MT4 MT5 Bridge

by okorie22
1 stars

This collection of tools for MetaTrader 4 and 5 provides a bridge between trading terminals and external communication channels. It includes an alert system that broadcasts trade events, terminal screenshots, and signals to Telegram groups or channels. Additionally, it features an execution module that reads trading si

MT4MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of MT4 MT5 Bridge

Dual Pending ATR EA

by salmansoltaniyan
1 stars

This MetaTrader 5 expert advisor implements a breakout strategy by placing dual pending buy stop and sell stop orders around the current market price. It utilizes the Average True Range (ATR) to calculate entry distances, stop loss levels, and trailing stops. An optional Ichimoku cloud filter provides trend confirmatio

MT5 Trading robot BreakoutTrend following
Updated 1 year ago None stated GitHub repository of Dual Pending ATR EA

Price Action EA

by Covenantmondei
1 stars

This MetaTrader 5 robot executes trades based on price behavior and technical indicators. It utilizes the Relative Strength Index to identify overbought and oversold conditions while incorporating breakout and candle pattern logic. The expert advisor includes flexible risk management, offering fixed lot sizes or percen

MT5 Trading robot Mean reversionBreakoutSMC / ICT / price action
Updated 1 year ago None stated GitHub repository of Price Action EA

Memento Ichimoku

by Khajavi8056
1 stars

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

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

Punlie Bull Run

by punlie
1 stars

Punlie Bull Run is a trend-following expert advisor for MetaTrader 5 that focuses on bullish market phases. It employs a grid strategy, opening buy positions at fixed point intervals once specific conditions are met. The robot includes a trend filter based on the daily timeframe and a resistance price barrier to delay

MT5 Trading robot GridTrend following High risk
1 stars

This MetaTrader 5 expert advisor automates an Opening Range Breakout strategy with multiple technical filters. It defines a price range during a specific morning window and triggers trades upon a breakout. The system incorporates a Choppy Market Index filter to avoid consolidation, Cumulative Volume Delta for volume-ba

MT5 Trading robot BreakoutTrend following

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