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
466 EAs match Clear filters

Golden Structure

by edisonq
1 stars

Golden Structure is a trend-following expert advisor for MetaTrader 5, specifically optimized for Gold (XAUUSD). It uses an exponential moving average to determine the primary market bias and enters trades based on price action rejection wicks following a pullback. The EA prioritizes risk control with automated lot siz

MT5 Trading robot Trend followingNews
Updated 7 months ago MIT GitHub repository of Golden Structure

This repository provides a collection of MetaTrader 5 Expert Advisors, featuring the Milyoner AI Project and Titanium Omega series. The primary EA uses an AI-weighted scoring engine to combine technical indicators like adaptive moving averages with price action analysis, including candle patterns and Smart Money Concep

MT5 Collection ScalpingSMC / ICT / price actionGrid High risk

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

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

This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage

MT5 Trading robot AI / machine learningMulti-strategyScalping High risk

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

This collection for MetaTrader 4 provides a variety of expert advisor templates and functional trading robots. The core strategy logic often utilizes price action relative to moving averages to identify trends. Key features include a randomized entry timer designed to avoid high-volatility bar starts, integrated stop l

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk

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

Multi ATR Scalping Expert

by StateSpeed-Solutions
1 stars

This MetaTrader 5 expert advisor is a buy-only scalping system that utilizes three parallel trading engines based on Average True Range volatility filters. It enters trades when volatility falls within specific thresholds and the current price is within a defined range below weekly resistance levels. The system feature

MT5 Trading robot ScalpingMean reversion

Price Action Bot

by logiccrafterdz
1 stars

Price Action Bot is a technical Expert Advisor for MetaTrader 5 that executes trades based on market structure shifts, specifically Break of Structure (BOS) and Change of Character (CHoCH) signals. It supports two entry modes: waiting for a price retest of broken levels or entering immediately on a breakout candle clos

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

This MetaTrader 5 expert advisor is designed for aggressive trading on small accounts, specifically targeting EURUSD and XAUUSD. It utilizes a multi-timeframe approach, filtering trends with Exponential Moving Averages across H1, M15, and M5 charts. The robot enters trades based on pullback and price compression patter

MT5 Trading robot Trend followingBreakoutMean reversion

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

Nah Strategies

by DocProvolone
1 stars

This MetaTrader 5 expert advisor executes trades on USD major pairs using a combination of trend and momentum indicators. It utilizes Exponential Moving Averages for trend identification, alongside Relative Strength Index and Moving Average Convergence Divergence for entry timing. Risk management is handled through fix

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago GPL-3.0 GitHub repository of Nah Strategies

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

Metatrader Copy Trader

by Monkeyattack
1 stars

This MetaTrader 4 expert advisor system facilitates local trade copying between different terminals using shared CSV files. It consists of a master EA to broadcast trades and a follower EA to execute them. The follower includes flexible risk management such as percentage-based lot sizing, daily loss limits, and a lot m

MT4 Copier & bridge

Rhythm Ultra

by AlgoIndustriesCompany
1 stars

Rhythm Ultra is an automated price action strategy constructor for MetaTrader 5. It enables traders to automate entries based on Smart Money Concepts and ICT principles, including Order Blocks, Fair Value Gaps, breakers, and liquidity sweeps. The EA manages risk through multi-timeframe trend synchronization, partial ta

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 1 year ago MIT GitHub repository of Rhythm Ultra

Mean Reversion Gap EA

by Xtley001
1 stars

This MetaTrader 5 expert advisor implements a mean reversion strategy that identifies price gaps between fast and slow moving averages. It utilizes an ATR-based volatility filter to enter trades during low volatility periods and confirms entries with RSI momentum patterns. The system manages risk using fixed dollar amo

MT5 Trading robot Mean reversionMulti-strategy

This repository provides a diverse collection of expert advisors for the MetaTrader 4 platform. The primary RubberBands EA utilizes Bollinger Bands for mean-reversion, entering when price exceeds the bands and exiting at the center line. It features advanced lot management, including linear and dynamic lot scaling that

MT4 Collection Mean reversionGridMartingale High risk

Ghost SL TP

by EarnForex
1 stars

Ghost SL TP is a trade management tool for MetaTrader 4 and 5 designed to hide exit levels from brokers. The expert advisor monitors active positions and executes market orders to close trades when a user-defined virtual stop loss or take profit distance is reached. It features flexible filtering options, allowing user

MT4MT5 Trade manager
Updated 1 year ago Apache-2.0 GitHub repository of Ghost SL TP

Value Area EA

by jtokovics
1 stars

This MetaTrader 5 expert advisor implements a strategy based on the 80% Value Area rule, a concept derived from volume profile analysis. It calculates the Value Area High, Value Area Low, and Point of Control to identify high-volume price zones from previous sessions. The robot seeks entries when price re-enters the Va

MT5 Trading robot Mean reversionTrend following
Updated 1 year ago MIT GitHub repository of Value Area EA

Easy Backtest Pro

by jacekbialek1908
1 stars

Easy Backtest Pro is a manual trading simulator designed for the MetaTrader 4 Strategy Tester. It provides a graphical user interface that allows traders to practice execution and strategy refinement during visual mode simulation. The tool includes buttons for market and pending orders, comprehensive order management f

MT4 Utility

EA31337 Libre

by FEISTYVIP
1 stars

EA31337 Libre is an open-source multi-strategy trading robot developed for MetaTrader 4 and 5. It serves as a simplified implementation of a larger algorithmic framework, offering over 35 distinct strategies based on popular technical indicators. The robot allows each strategy to analyze market conditions across multip

MT5 Trading robot Multi-strategy
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Jivita Expert Advisors

by rasingollam
1 stars

This collection of MetaTrader 5 expert advisors features a flagship tool that applies genetic algorithms to optimize moving average crossover strategies. The system dynamically adjusts short and long period parameters, stop loss, and take profit values based on simulated fitness and real trade performance. Risk managem

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Jivita Expert Advisors

Trade Manager

by rasingollam
1 stars

Trade Manager is a MetaTrader 5 utility designed to assist manual traders with risk calculation and position execution. It provides an on-chart interface with buttons for market, limit, and stop orders. The EA calculates position sizes based on a user-defined risk percentage per trade and manages exits through a reward

MT5 Trade manager
Updated 1 year ago MIT GitHub repository of Trade Manager

PulseNX

by Jagielsky
1 stars

PulseNX is a MetaTrader 5 expert advisor that follows a mean-reversion strategy using the Triangular Moving Average (TMA) and a Stochastic oscillator. It identifies entry opportunities when Heiken Ashi candles touch the outer TMA bands while the oscillator indicates overbought or oversold conditions. The EA includes ri

MT5 Trading robot Mean reversion
Updated 1 year ago GPL-3.0 GitHub repository of PulseNX

2Order Expert

by farnadtech
1 stars

2Order Expert is a semi-automated trading tool for MetaTrader 5 designed to streamline order entry. It allows traders to execute two simultaneous orders at a specified distance from each other, using either a fixed pip value or a multiplier of the current market spread. The tool includes a graphical user interface for

MT5 Utility
Updated 1 year ago MIT GitHub repository of 2Order Expert

Hedge EA

by sahebkaran1
1 stars

This MetaTrader 4 expert advisor executes and manages trades using a specialized hedging strategy. It monitors account equity and floating losses, automatically opening hedge positions when a user-defined loss percentage is reached. The system includes robust risk management features such as daily and weekly loss limit

MT4 Trading robot Hedging
Updated 1 year ago MIT GitHub repository of Hedge EA

Malicious EA Emporium

by TyphooN-
1 stars

This MetaTrader 5 collection serves as a proof of concept to demonstrate the security risks of running unverified code. The primary script, Commission Grindr, illustrates how an account balance can be intentionally depleted through rapid trade execution that maximizes commission fees. It utilizes asynchronous trading m

MT5 Collection

MQL4 Projects Collection

by AmonCheruiyotHQ
1 stars

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.

MT4 Collection Trend followingMartingaleMulti-strategy High risk

Robo Trader Fibonacci

by ezequielpestana
1 stars

This MetaTrader 5 expert advisor utilizes the price range of the previous weekly candle to define four trading channels, inspired by Fibonacci principles. It monitors 15-minute price action for breakouts across the 50% midpoint of these channels. The robot automates position entry with stop loss and take profit levels

MT5 Trading robot Breakout
1 stars

JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to help traders adhere to strict account drawdown and timing rules. It monitors account equity to enforce maximum daily drawdown limits and per-trade loss caps in either currency or percentage terms. The tool includes features to restrict

MT4 Risk & protection
1 stars

This MetaTrader 4 expert advisor executes trades based on candle momentum and specific trigger factors. It manages positions using virtual trailing stop-loss and take-profit levels, alongside a global profit target that halts trading once a predefined financial goal is met. The system includes logic for multi-symbol tr

MT4 Trading robot Trend followingHedgingMulti-strategy

Simple RSI Trading Bot

by ThiagoMunich
1 stars

This expert advisor for MetaTrader 5 implements a mean-reversion strategy based on the Relative Strength Index (RSI). It opens buy positions when the RSI falls below the 30 level and sell positions when it rises above 70. The robot manages trades using fixed stop loss and take profit levels defined in points. It includ

MT5 Trading robot Mean reversion
1 stars

This MetaTrader 5 library provides developers with a mechanism to detect the opening of a new bar across different timeframes. It serves as a programming utility rather than a standalone trading strategy. The repository includes an include file and a test expert advisor demonstrating two detection methods: one for mult

MT5 Framework & template

Pinbar EA

by idodidodi
1 stars

This MetaTrader 4 expert advisor implements a price action strategy focused on identifying pin bar formations. It screens for candles where the tail is at least three times the length of the body and touches an 8-period simple moving average. The EA utilizes a trend filter by calculating the slope of the moving average

MT4 Trading robot SMC / ICT / price actionMean reversion
Updated 1 year ago MIT GitHub repository of Pinbar EA

Algo Trade Expert

by alprslanymeria
1 stars

This MetaTrader 5 expert advisor functions as a data collection tool designed to export trade statistics into a CSV file. It automatically initiates a buy order at a specific time each day to generate execution data for analysis. The system monitors the account history to capture details such as opening and closing pri

MT5 Trading robot
1 stars

MALE5 is a machine learning framework for MetaTrader 5 designed to help developers create trading systems using a Python-like syntax. It provides a suite of predictive models including linear regression, decision trees, support vector machines, and neural networks. The library includes tools for data collection, prepro

MT5 Framework & template AI / machine learning
1 stars

This repository provides a collection of MetaTrader 5 expert advisors focused on Smart Money Concepts and Inner Circle Trader methodologies. The included bots automate various trading models such as the Next Day Model, New York session range trading, and Fair Value Gap entries. Each tool utilizes multi-timeframe analys

MT5 Collection SMC / ICT / price actionScalpingBreakout

MQL5 API Json Bridge

by techteam92
1 stars

This expert advisor acts as a JSON-based API bridge for MetaTrader 5, utilizing ZeroMQ sockets to connect the platform with external systems like Python's Backtrader framework. The script listens on multiple ports to process incoming requests and push out data streams. It supports querying account balances, retrieving

MT5 Copier & bridge
Updated 1 year ago GPL-3.0 GitHub repository of MQL5 API Json Bridge

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