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,534 EAs match Clear filters
2 stars

This utility for MetaTrader 4 monitors open trades and sends push notifications when the market price approaches an order's stop loss level. It allows users to define a specific distance threshold and includes a debounce time setting to filter out brief price spikes or noise. The tool loops through all active positions

MT4 Utility
Updated 8 years ago None stated GitHub repository of Stop Loss Nearing Notifier
2 stars

This MetaTrader 4 expert advisor provides a utility framework for account risk management and manual trade execution. It monitors account equity and margin levels, offering alerts based on predefined risk percentages per order and total account exposure. The software includes an example for keyboard-based trading, allo

MT4 Utility

JCS Patterns

by reuniware
2 stars

JCS Patterns is an experimental MetaTrader 4 expert advisor designed to detect and trade bullish engulfing patterns. It serves primarily as a template for further development, entering trades based on specific Japanese candlestick formations. The robot includes a trailing stop mechanism and comprehensive logging capabi

MT4 Trading robot SMC / ICT / price action
Updated 8 years ago None stated GitHub repository of JCS Patterns

DayT

by bogdyak
2 stars

DayT is an automated trading expert advisor for MetaTrader 4 that executes trades based on technical indicators. It utilizes a dynamic position sizing model where lot sizes are calculated using a risk factor relative to the account free margin and leverage. The system includes various trade management features such as

MT4 Trading robot Indicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of DayT
2 stars

This MetaTrader 4 expert advisor utilizes the MACD and ZigZag indicators to identify potential market entries based on price action swings. It tracks historical highs and lows using standard ZigZag parameters like depth, deviation, and backstep to detect trend reversals. A unique aspect of this EA is the integration of

MT4 Trading robot Trend followingMean reversion
Updated 8 years ago None stated GitHub repository of MACD ZigZag Trader

RSI EA

by reysabogal
2 stars

This MetaTrader 4 expert advisor automates trading strategies based on the Relative Strength Index (RSI) and moving average logic. It identifies potential entry points when the RSI reaches specific overbought or oversold levels, supported by a moving average filter. The robot includes essential risk management controls

MT4 Trading robot Mean reversionIndicator crossover
Updated 8 years ago None stated GitHub repository of RSI EA

Make Money

by husonchow
2 stars

Make Money is a MetaTrader 5 trading robot specifically configured for the EURUSD currency pair. The expert advisor utilizes standard MQL5 library classes to monitor account status, symbol properties, and open positions. It tracks price data at minute intervals and incorporates a 25-period moving average reference for

MT5 Trading robot Indicator crossover
Updated 8 years ago None stated GitHub repository of Make Money

MQL4 Benchmark

by KeisukeIwabuchi
2 stars

MQL4 Benchmark provides a specialized module for measuring the execution speed of code within MetaTrader 4. The tool allows developers to profile specific functions, loops, or logic segments by calculating the elapsed time and outputting the results to the terminal Experts tab. It supports manual start and end points f

MT4 Utility
Updated 8 years ago MIT GitHub repository of MQL4 Benchmark

MQL4 File Module

by KeisukeIwabuchi
2 stars

This MetaTrader 4 module provides a simplified interface for file system operations within the MQL4 environment. It functions as a programming library to assist developers in managing files without complex low-level coding. The package includes methods to read and write text data, copy existing files, delete files, and

MT4 Framework & template
2 stars

MQL4 Environment Configuration Tool is a utility for MetaTrader 4 that enables developers to manage account settings and environment variables using external files. It supports reading key-value pairs from plain text or ini files located in the terminal data folder. This approach allows for the externalization of sensi

MT4 Utility

MQL4 Unit Test

by KeisukeIwabuchi
2 stars

This MetaTrader 4 framework provides a module for unit testing MQL4 code across multiple simulated account environments. It allows developers to verify function logic by comparing actual execution results against expected values. The tool can cycle through different broker settings using external configuration files to

MT4 Framework & template
Updated 8 years ago MIT GitHub repository of MQL4 Unit Test

Project Pips

by taldan333
2 stars

Project Pips is a MetaTrader 4 expert advisor that automates trades based on moving average crossover signals. It includes a variety of entry and exit parameters, such as the ability to close positions on opposite signals or reverse positions based on price distance. Risk management is highly configurable, offering fix

MT4 Collection Indicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of Project Pips

EMA RSI Expert

by nasimalsajjad
2 stars

This MetaTrader 4 expert advisor implements a technical trading strategy based on the Exponential Moving Average and Relative Strength Index. It triggers buy orders when both indicators align bullishly and sell orders when they align bearishly. Specifically, it monitors RSI levels for overbought and oversold conditions

MT4 Trading robot Mean reversionTrend following
Updated 8 years ago None stated GitHub repository of EMA RSI Expert

EMA RSI Expert

by nasimalsajjad
2 stars

This MetaTrader 4 expert advisor executes trades based on the alignment of Exponential Moving Average and Relative Strength Index indicators. The system enters buy orders when RSI suggests an oversold condition alongside bullish EMA momentum, and sell orders for overbought bearish conditions. It uses a fixed lot size a

MT4 Trading robot Trend followingMean reversion
Updated 8 years ago None stated GitHub repository of EMA RSI Expert
2 stars

This MetaTrader 4 utility exports candlestick data for a specific financial instrument across various timeframes into a local SQLite database. It retrieves historical price action and continues to update the database as new ticks arrive. The program allows users to set a custom time zone offset and specify the instrume

MT4 Utility Archived
Updated 8 years ago None stated GitHub repository of MT4 Realtime Chart Dumper

Period Ranging Pro

by lingao90
2 stars

A MetaTrader 4 expert advisor collection primarily focused on range breakout and BBMA strategies. The breakout EA identifies price ranges within a specific time window, executing trades based on price movement outside these boundaries. It includes risk management features such as stop loss, take profit with step-based

MT4 Collection BreakoutMulti-strategy
Updated 8 years ago None stated GitHub repository of Period Ranging Pro
2 stars

This repository contains five MetaTrader 4 Expert Advisors focused on technical indicator strategies. The robots implement multi-timeframe stochastic logic, single exponential moving average crosses for mean reversion or trend following, and classic dual moving average crossovers. Each system manages its own exits thro

MT4 Collection Indicator crossoverMulti-strategy

TW Star Bot

by TradingWizards
2 stars

This MetaTrader 4 expert advisor implements an automated trading strategy based on a combination of technical indicators, including the Relative Strength Index, Moving Averages, and MACD. The bot evaluates price action against these indicators to determine trade entries. It manages active positions using a fixed lot si

MT4 Trading robot Trend followingIndicator crossover
Updated 9 years ago None stated GitHub repository of TW Star Bot

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

Stat Euclidean Metric

by suvorovkonstantin
2 stars

Stat Euclidean Metric is a MetaTrader 4 expert advisor that utilizes pattern recognition via Euclidean distance calculations and k-nearest neighbor logic. The robot compares current market price vectors against historical data stored in external binary files to identify trade opportunities. It enters positions when cal

MT4 Trading robot AI / machine learning
Updated 9 years ago None stated GitHub repository of Stat Euclidean Metric
2 stars

This MetaTrader 4 utility provides a graphical user interface for manual trade management. It creates interactive on-chart buttons that allow traders to execute bulk exit commands with a single click. The tool facilitates closing all open positions, specifically targeting sell orders, or focusing on buy orders. It also

MT4 Utility
Updated 9 years ago None stated GitHub repository of Magic Trading Button

Parabolic SAR EA

by vinchess
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the Parabolic SAR indicator. It monitors indicator flips to identify potential entry points, opening buy positions when the SAR dots move below the price and sell positions when they move above. The robot manages trades using fixed stop los

MT4 Trading robot Trend followingIndicator crossover

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

Stop Loss EA UI

by kosztik
2 stars

This MetaTrader 4 trade manager provides a graphical user interface for closing open positions based on technical indicator conditions. It does not open new trades but manages existing ones using RSI levels, ADX filters, and volatility-based logic. The utility includes a break-even function and adjustable ATR settings

MT4 Trade manager Archived
Updated 9 years ago None stated GitHub repository of Stop Loss EA UI

My First Strategy

by toticavalcanti
2 stars

This MetaTrader 4 expert advisor implements a multi-indicator technical strategy generated using the FxPro Quant tool. The robot identifies entry points by analyzing the confluence of an Exponential Moving Average, Relative Strength Index, MACD, and Bollinger Bands. It specifically looks for rising momentum and trend a

MT4 Trading robot Trend followingIndicator crossover
Updated 10 years ago None stated GitHub repository of My First Strategy

ATR Session EA

by dsinnig
2 stars

ATR Session EA is an automated trading robot for MetaTrader 4 that utilizes session-based logic and the Average True Range indicator. The software monitors market activity through a session factory, identifying potential entries based on price thresholds for higher highs and lower lows. It employs a structured trade ma

MT4 Trading robot BreakoutTrend following
Updated 11 years ago None stated GitHub repository of ATR Session EA

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

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

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

XSpark is a modular automated trading framework for MetaTrader 5 that prioritizes capital protection and risk management. It includes a collection of distinct Expert Advisors covering various methodologies: a trend-pullback scalper, candle momentum tracking, Smart Money Concepts (SMC), and ICT liquidity models. The sys

MT5 Collection Trend followingScalpingSMC / ICT / price action
Updated 2 days ago None stated GitHub repository of XSpark Trading Engine

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

Axole

by mxillo
1 stars

Axole is a MetaTrader 5 expert advisor that implements a classic moving average crossover strategy. It operates specifically on the one-minute timeframe, identifying trends when a fast simple moving average crosses over a slow simple moving average. The robot restricts trading to one open position per symbol at a time

MT5 Trading robot Indicator crossoverScalping
Updated 4 days ago MIT GitHub repository of Axole

Kaybambodlabfx SMC

by jetloo66-dot
1 stars

Kaybambodlabfx SMC is a MetaTrader 5 expert advisor that executes trades based on market regime classification and Smart Money Concepts (SMC). The system employs a multi-timeframe approach, scanning structures from the daily chart down to one-minute intervals to establish a master bias. It uses ADX, ATR, and swing poin

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 4 days ago None stated GitHub repository of Kaybambodlabfx SMC

ATR Reversal EA

by BoudhriYoussef
1 stars

This MetaTrader 5 expert advisor utilizes the Average True Range (ATR) indicator to identify trade entries based on market volatility. It functions as an automated robot that places orders using levels derived from ATR calculations. Risk management is handled through fixed stop loss and take profit settings defined in

MT5 Trading robot Mean reversion
Updated 4 days ago None stated GitHub repository of ATR Reversal EA

AntiLatency Sniper EA

by themusafirr
1 stars

This algorithmic scalping robot for MetaTrader 4 and 5 uses a five-factor confluence engine to identify trade entries. It monitors RSI extremes, Bollinger Band breakouts, MACD momentum, EMA ribbons, and volume acceleration. The EA employs percentage-based risk management with a strict stop loss and a flexible take prof

MT4MT5 Trading robot ScalpingTrend followingMean reversion
Updated 5 days ago None stated GitHub repository of AntiLatency Sniper EA

GoldEngine Sentinel

by vivekpanchal2489
1 stars

GoldEngine Sentinel is a specialized expert advisor for MetaTrader 5, designed specifically for trading spot gold. It utilizes an advanced architecture combining dual-AI ONNX models: SuperGRU for macro bias and Master AI for micro order flow analysis. Trade execution is filtered through Gaussian Kernel Channels and Nad

MT5 Trading robot AI / machine learningMean reversionSMC / ICT / price action
Updated 5 days ago None stated GitHub repository of GoldEngine Sentinel

SMC Auto MT5

by trananh211
1 stars

This MetaTrader 5 expert advisor automates market structure analysis based on Smart Money Concepts. It identifies key technical events including Change of Character, Break of Structure, and Inducements across two synchronized timeframes. The tool maps Point of Interest zones, distinguishing between extreme and decision

MT5 Trading robot SMC / ICT / price action
Updated 6 days ago None stated GitHub repository of SMC Auto MT5

Medula SMC EA

by gurupirataurai92-wq
1 stars

This MetaTrader 5 expert advisor utilizes Smart Money Concepts and pure price action to execute trades without traditional technical indicators. By analyzing raw candle data, it identifies market structures, order blocks, and various fair value gaps. The system includes multiple versions, ranging from simple price acti

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
Updated 6 days ago None stated GitHub repository of Medula SMC EA

EddyTrader

by hallanbrito
1 stars

EddyTrader is a risk management tool for MetaTrader 5 designed to enforce trading discipline through account-wide loss limits. It monitors the total financial performance of the account regardless of the symbol or strategy. Once a user-defined maximum loss is reached, the expert advisor automatically closes all open po

MT5 Risk & protection
Updated 6 days ago None stated GitHub repository of EddyTrader

MATE Apex Scalper

by Yamsim-bot
1 stars

MATE Apex Scalper is a MetaTrader 5 expert advisor designed for scalping major forex pairs and gold. It employs a multi-symbol confluence strategy, filtering entries based on triple exponential moving average alignment, RSI levels, and Bollinger Band rejections on the M5 and M15 timeframes. The robot manages trades usi

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 8 days ago None stated GitHub repository of MATE Apex Scalper

Orva MT5 Bridge

by OrvaLabs
1 stars

Orva MT5 Bridge is a data integration tool for MetaTrader 5 that streams market and account information to external backends. It captures broker-native ticks, candle data, account balances, symbol specifications, and current open positions, converting them into versioned JSON messages. Data is delivered using either HT

MT5 Copier & bridge
Updated 8 days ago None stated GitHub repository of Orva MT5 Bridge

Enigma Feed Exporter

by jeremetorresglitch
1 stars

This MetaTrader 5 expert advisor functions as a specialized data utility for exporting broker-specific market data to external files. It records historical M1 and M5 bar data and periodically snapshots live bid and ask spreads to CSV format. The tool is designed to support research pipelines by providing exact pricing

MT5 Copier & bridge
Updated 9 days ago Custom licence GitHub repository of Enigma Feed Exporter

Daily Sweep EA

by spice2807
1 stars

This MetaTrader 5 expert advisor implements the Daily Sweep strategy, focusing on Swing Failure Patterns. It monitors high-timeframe liquidity levels and executes trades on lower timeframes when price sweeps these zones. The robot manages entries during defined session hours, such as the New York session, and exits bas

MT5 Trading robot SMC / ICT / price actionMean reversion
Updated 10 days ago None stated GitHub repository of Daily Sweep EA

RRZ Market Structure Expert

by mostafa18181
1 stars

This MetaTrader 5 expert advisor automates trade entries based on price action and Smart Money Concepts. It monitors for liquidity sweeps followed by market structure shifts and retests of Fair Value Gaps or Order Blocks. The system manages risk using fixed risk-to-reward ratios, stop loss buffers, and time-based exits

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 10 days ago None stated GitHub repository of RRZ Market Structure Expert

SpeedPanel

by puchi-works
1 stars

SpeedPanel is a manual trading utility for MetaTrader 5 designed to streamline scalping operations. It provides an on-chart interface that displays live bid and ask prices, spreads, and floating profit or loss. Users can execute market orders with pre-defined lot sizes tailored for instruments like USDJPY and XAUUSD. T

MT5 Utility Scalping
Updated 10 days ago None stated GitHub repository of SpeedPanel
1 stars

This repository contains a collection of MetaTrader 5 expert advisors designed for a quantitative trading seminar by QRT Solutions. It includes multiple models such as US opening gap momentum, opening range breakouts, and SMA-based gold strategies. Each robot features professional risk management components including t

MT5 Collection Trend followingBreakoutIndicator crossover

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