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

HpFX Framework

by mbelgin
1 stars

High Performance Forex (hpFX) is an indicator-agnostic framework for MetaTrader 4 designed for large-scale backtesting and strategy automation. It allows traders to define complex rules by combining up to ten custom indicators as entry signals, confirmation filters, or exit triggers using a flexible string-based encodi

MT4 Framework & template Trend followingIndicator crossoverMulti-strategy
Updated 3 months ago MIT GitHub repository of HpFX Framework

MADR Brothers

by mitsuaki-41
1 stars

MADR Brothers is a MetaTrader 5 expert advisor that utilizes multi-timeframe Moving Average Deviation Rates to identify trading opportunities. It filters market trends using a long-period MADR on higher timeframes while entering trades based on overbought or oversold levels of a shorter-period MADR. The system includes

MT5 Trading robot Trend followingMean reversionGrid High risk
Updated 3 months ago MIT GitHub repository of MADR Brothers

Bell Price Action ICT

by thinhct95
1 stars

This MetaTrader 5 collection features several expert advisors, with a primary focus on the ICT v2 robot. The main strategy implements Smart Money Concepts, identifying Market Structure Shifts, Fair Value Gaps, and Liquidity Sweeps across high, medium, and low timeframes. It automates entries on price retracements with

MT5 Collection SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated 3 months ago None stated GitHub repository of Bell Price Action ICT

OmniB3

by helveciopereira
1 stars

OmniB3 is an automated grid trading expert advisor for MetaTrader 5, specifically developed for the Brazilian B3 exchange mini-contracts including WIN (mini-index) and WDO (mini-dollar). It employs a multi-indicator entry system with up to four confirmation layers, utilizing signals such as RSI. The EA features an adva

MT5 Collection GridMean reversionMartingale High risk
Updated 3 months ago None stated GitHub repository of OmniB3

Renko Reversal Collection

by PETERSAMUELOPS12
1 stars

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a Renko Reversal strategy ported from Pine Script. The main robot identifies trend shifts by simulating Renko bricks on standard OHLC bars, entering and exiting trades based on a configurable number of consecutive bricks. It

MT5 Collection Trend followingMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Renko Reversal Collection
1 stars

WannaBeQuant Strategy Selection is a multi-strategy expert advisor for MetaTrader 5 designed to trade cryptocurrency and equity markets. It combines six distinct trading logic modules, including Ichimoku trend following, mean reversion, and breakout strategies. The EA executes on a timer-based loop rather than every ti

MT5 Trading robot Trend followingMean reversionBreakout

MT5 Telegram Assistant

by Sebastianlr11
1 stars

This MetaTrader 5 expert advisor functions as a monitoring and notification tool that integrates with Telegram via a bot. It tracks account activity in real-time to send alerts for trade executions, including details on entry prices, stop loss, and take profit. Upon closing a trade, it provides comprehensive data on ne

MT5 Copier & bridge

Master Portfolio Dashboard

by Sebastianlr11
1 stars

This MetaTrader 5 expert advisor serves as a centralized management interface for monitoring and controlling multiple active trading bots across various charts. It automatically identifies running experts and their associated Magic Numbers by scanning active chart templates in real-time. The tool provides a custom grap

MT5 Trade manager

Renko EMA Trading EA

by NOVESH-CREATE
1 stars

This MetaTrader 5 expert advisor executes trades based on Renko chart patterns, specifically optimized for Bitcoin markets like BTCUSD. Instead of standard timeframes, the system uses fixed dollar-value brick sizes to filter price noise and identify trends. It features automated risk management through percentage-based

MT5 Trading robot Trend following
Updated 4 months ago None stated GitHub repository of Renko EMA Trading EA

Automatic Breakout Strategy EA

by Ayooluwa-trading-dev
1 stars

This expert advisor for MetaTrader 5 implements an automated breakout strategy based on the high and low points of the previous candle. It monitors the market for price breaches above the previous high to initiate long positions or below the previous low for short positions. The bot includes basic risk management contr

MT5 Trading robot Breakout

Docker MT5

by victalejo
1 stars

Docker MT5 is a full-stack integration tool that enables MetaTrader 5 automation via a Python API. It uses a ZeroMQ-based Expert Advisor to bridge communication between the terminal and external scripts for trade execution and data retrieval. The project includes a Docker configuration to run MetaTrader 5 on Linux envi

MT5 Collection Grid High risk
Updated 4 months ago GPL-3.0 GitHub repository of Docker MT5

MT5 Experts AI

by tahaalhafid
1 stars

This expert advisor for MetaTrader 5 utilizes an advanced modular architecture focused on market regimes and decision consensus. It implements a Council-based execution system that evaluates quality scores, spread fractions, and consensus levels before triggering trades. The system features an AI evolution engine desig

MT5 Trading robot AI / machine learningMulti-strategy
Updated 4 months ago None stated GitHub repository of MT5 Experts AI

This repository features a collection of MetaTrader 5 expert advisors centered around the MultiLevel Grid strategy. The system manages trades through baskets, allowing users to close positions based on account currency profit, point thresholds, or individual targets. It supports manual execution via an interactive on-c

MT5 Collection GridMartingaleIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of MultiLevel Grid EA Collection

Robot AI

by yansuwitna
1 stars

This MetaTrader 5 expert advisor utilizes Stochastic Oscillator crossovers to execute buy and sell orders. It calculates entry signals based on a minimum difference between the %K and %D lines. Risk management includes stop loss and take profit levels calculated using spread multipliers, as well as a trailing stop that

MT5 Collection Indicator crossoverMartingaleMean reversion High risk
Updated 4 months ago None stated GitHub repository of Robot AI

Trade Manager EA

by BodhiOng
1 stars

This utility for MetaTrader 4 provides an interactive on-chart graphical interface for manual order execution and advanced position management. Users can execute buy and sell orders with customizable lot sizes and manage open trades through various closing utilities, including close-all, close-by-type, and partial clos

MT4 Trade manager
Updated 4 months ago MIT GitHub repository of Trade Manager EA

DayBlocker

by th48ad
1 stars

DayBlocker is a utility expert advisor for MetaTrader 5 that manages the global AutoTrading state based on economic events. It monitors the built-in MQL5 calendar and a manual text file for high-impact news such as Flash PMI, FOMC meetings, and Non-Farm Payrolls. When a specific event is detected for the current day, t

MT5 News trading News
Updated 4 months ago None stated GitHub repository of DayBlocker
1 stars

This collection for MetaTrader 5 provides a suite of trading algorithms and risk management utilities. The primary expert advisor features an adaptive machine learning system using a neural network and evolutionary genetic algorithms. It analyzes market structure, volume profiles, and candlestick patterns to execute tr

MT5 Collection AI / machine learningSMC / ICT / price action

Trade Solutxn Masterclass EA Framework

by tradesolutxn-creator
1 stars

This MetaTrader 5 expert advisor serves as a modular boilerplate and educational framework for algorithmic trading development. It provides a base structure for students to build custom execution strategies, transitioning from manual price action to automated logic. The current implementation includes basic risk manage

MT5 Framework & template
1 stars

This expert advisor is a risk management and trade execution utility for MetaTrader 5. It allows traders to visually manage risk on the chart by dragging entry, stop loss, and take profit lines. The tool automatically calculates the appropriate lot size based on account equity and user-defined risk parameters. It suppo

MT5 Utility
Updated 4 months ago None stated GitHub repository of Brokers DB Position Sizer

Oddioybek7 MQ5 Collection

by oddioybek7-beep
1 stars

This MetaTrader 5 repository contains a collection of automated trading systems, including SignalRobot, OrderBlockRobot, and Smart HHMA Robot. The primary SignalRobot expert uses Triple Exponential Moving Average (TEMA) and noise filters to generate trade signals. It includes a risk management module that calculates lo

MT5 Collection Trend followingIndicator crossoverSMC / ICT / price action
Updated 5 months ago None stated GitHub repository of Oddioybek7 MQ5 Collection

MT5 Trade Execution Engine

by kaushalshete
1 stars

This MetaTrader 5 expert advisor serves as a semi-automated execution panel and risk management tool. It streamlines manual trading by calculating lot sizes based on a fixed dollar amount and a specified stop loss distance. The on-chart interface features buttons for instant market execution, partial position closing,

MT5 Utility

XGBoost Classifier MT5

by alexandruchirita4192
1 stars

This MetaTrader 5 expert advisor utilizes an XGBoost machine learning model exported via the ONNX format to identify trading opportunities. It enters trades based on classification probabilities and a minimum gap between prediction classes. The system features extensive risk controls, including stop loss and take profi

MT5 Trading robot AI / machine learningTrend following
Updated 5 months ago GPL-3.0 GitHub repository of XGBoost Classifier MT5

MyTrader

by scarftk
1 stars

MyTrader is a manual trading interface for MetaTrader 5 that provides a graphical panel for executing and managing orders. It allows traders to enter positions with stop loss and take profit levels, or perform quick market executions via buy and sell buttons. The utility includes comprehensive management features such

MT5 Utility
Updated 5 months ago None stated GitHub repository of MyTrader

Pro Trader AI

by salmanrki
1 stars

This MetaTrader 5 expert advisor integrates Large Language Models such as OpenAI and Anthropic Claude with technical analysis to automate trading across forex, gold, crypto, and indices. It utilizes a confluence scoring system based on Smart Money Concepts, Ichimoku Cloud, and standard indicators like RSI and MACD. The

MT5 Trading robot SMC / ICT / price actionAI / machine learningNews
Updated 5 months ago None stated GitHub repository of Pro Trader AI

My EA Algo Trade

by WaithakanTony
1 stars

This MetaTrader 4 expert advisor is an automated trading system primarily configured for Gold (XAUUSD). It incorporates a robust suite of risk controls, including daily equity drawdown limits and overall balance protection. The EA features mandatory cooldown periods after a stop loss or take profit is hit to prevent ov

MT4 Collection Trend following
Updated 5 months ago None stated GitHub repository of My EA Algo Trade

Robot MA RSI

by space-55
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using Moving Average crossovers and Relative Strength Index (RSI) signals. The robot enters trades when a fast EMA crosses a slow EMA, provided the RSI confirms momentum. Risk management is handled through ATR-based stop loss and take profit calcula

MT5 Trading robot Indicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Robot MA RSI

BullShift

by JupitX
1 stars

BullShift is a MetaTrader 4 expert advisor that functions as a socket server bridge to connect the trading platform with external software applications. It facilitates automated trading in forex and cryptocurrency markets by listening for incoming data on a user-defined port. The EA manages socket connections, handles

MT4 Copier & bridge
Updated 5 months ago None stated GitHub repository of BullShift

MQL5 Trade Assistant

by supertonka
1 stars

This MetaTrader 5 trade assistant provides a visual interface for order execution and position management. It features a custom CCanvas UI panel synchronized with chart objects, allowing users to drag take-profit and stop-loss levels directly on the chart to adjust risk parameters and lot sizes in real time. The tool h

MT5 Utility
Updated 5 months ago None stated GitHub repository of MQL5 Trade Assistant

Visual Risk Calculator

by arnaudrmt
1 stars

This MetaTrader 5 utility provides a visual interface for position sizing and manual trade execution. It allows traders to drag and drop stop loss and take profit lines directly on the chart, automatically calculating the required lot size based on a predefined risk percentage and account equity. The tool handles curre

MT5 Utility

Xauusdt MT5

by 4everfantasygaming
1 stars

Xauusdt MT5 is an automated trading robot for MetaTrader 5, specifically optimized for gold trading. It executes a grid-based strategy with martingale lot scaling, where position sizes are increased by a user-defined multiplier after losses. The system features a dual-stage grid distance mechanism that adjusts spacing

MT5 Trading robot GridMartingaleHedging High risk
Updated 5 months ago None stated GitHub repository of Xauusdt MT5

Arbitrage Grid Bot

by AlessandroGCodeca
1 stars

This MetaTrader 5 expert advisor implements a multi-pair grid and dollar-cost averaging strategy. It monitors a configurable list of currency pairs and determines trade direction using a moving average trend filter. When price moves against an initial position, the bot opens additional levels using fixed, additive, or

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 5 months ago None stated GitHub repository of Arbitrage Grid Bot
1 stars

This MetaTrader 5 repository contains a collection of expert advisors, primarily documented around the TrioMartingale strategy. This system uses a martingale grid approach on AUDNZD, NZDCAD, and AUDCAD to exploit triangular correlation and mean-reversion. Entries are filtered using RSI and Moving Averages, while risk i

MT5 Collection MartingaleGridMean reversion High risk
Updated 5 months ago None stated GitHub repository of Cyrex23 Experts Collection
1 stars

This MetaTrader 5 repository provides a collection of expert advisors focused on hedging and position recovery strategies. The main utility manages trade entries with automated hedge triggers based on stop loss events or specific price distances. It includes sophisticated risk controls such as basket-level take profit

MT5 Collection HedgingMulti-strategy
Updated 5 months ago None stated GitHub repository of Seefactor Hedge Collection

OrderFlow Alpha

by alimagdi94
1 stars

OrderFlow Alpha is a MetaTrader 5 expert advisor designed for Auction Market Theory and order flow analysis. It generates footprint charts directly on the platform, visualizing volume, delta, and bid-ask clusters per price level. The EA identifies key market structures such as Point of Control, Value Area, and high or

MT5 Collection SMC / ICT / price actionMartingale High risk
Updated 6 months ago None stated GitHub repository of OrderFlow Alpha

Portfolio Manager Pro

by Sebastianlr11
1 stars

Portfolio Manager Pro is a management utility for MetaTrader 5 that provides a centralized graphical interface to monitor and control active Expert Advisors. It automatically scans open charts to identify running bots via their Magic Numbers and templates. The tool enables users to filter strategies in real-time and ex

MT5 Trade manager
Updated 6 months ago None stated GitHub repository of Portfolio Manager Pro
1 stars

This MetaTrader 5 expert advisor implements a pair trading arbitrage strategy between spot gold and gold futures. The robot monitors the price difference between XAUUSD and the GC futures contract, opening simultaneous buy and sell orders when the spread exceeds a defined threshold. Risk management is handled through a

MT5 Trading robot ArbitrageHedging
Updated 6 months ago None stated GitHub repository of XAU And GC Arbitrage
1 stars

This MetaTrader 5 utility serves as a risk management tool designed to monitor equity and drawdown across multiple magic numbers. It tracks realized and floating profits for up to twenty individual strategies, allowing users to define specific drawdown limits for each. The EA features an emergency stop function that ca

MT5 Risk & protection
Updated 6 months ago None stated GitHub repository of Equity Drawdown Monitor
1 stars

This MetaTrader 5 utility is designed for managing and broadcasting trading signals directly to Discord. It features a visual interface for drafting trade ideas on the chart using interactive entry and stop-loss lines. The software tracks trade states, manages position numbering, and routes alerts to specific Discord c

MT5 Copier & bridge
Updated 6 months ago Unlicense GitHub repository of DowHow Signal Service

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

XAU Hedge Strategy

by mraicodedev
1 stars

This MetaTrader 5 expert advisor executes a coordinated hedging strategy across two separate accounts for XAUUSD. By running one instance as a buyer and another as a seller, the system coordinates simultaneous opposing entries. The two instances communicate status and synchronization via shared local files. It manages

MT5 Trading robot Hedging
Updated 7 months ago Custom licence GitHub repository of XAU Hedge Strategy

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

Moises Risk Manager

by soulcore-dev
1 stars

Moises Risk Manager is a risk management framework and expert advisor for MetaTrader 5. It offers automated lot sizing through fixed volumes, balance or equity percentage risk, and the Paroli positive progression system. The tool includes a persistence engine that saves trade states to global variables and CSV files, e

MT5 Risk & protection Indicator crossover
Updated 8 months ago None stated GitHub repository of Moises Risk Manager

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