Synced with GitHub · updated hourly

Expert Advisor Library

1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

618 EAs match Clear filters

Email To Order

by mikha-dev
3 stars

This MetaTrader 4 expert advisor functions as a bridge between a POP3 email inbox and the trading terminal. It monitors a specified email account for incoming messages containing trade signals and automatically executes orders on the platform. The tool supports secure SSL connections and allows users to configure fixed

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Email To Order

MQL4 EA Bootstrap

by dnshouse
3 stars

This repository provides a foundational boilerplate for developing Expert Advisors on the MetaTrader 4 platform. It implements an object-oriented structure, separating trading logic into distinct entry and exit classes. The code includes essential utility functions such as new candle detection and trade permission chec

MT4 Framework & template
Updated 6 years ago None stated GitHub repository of MQL4 EA Bootstrap

Wealth Protector

by edwardlorilla
3 stars

Wealth Protector is a MetaTrader 4 expert advisor designed for automated trading using technical indicators. It combines price envelopes and ZigZag parameters to determine market entries and exits. While described by the author as a scalping tool, it is specifically configured for use on the daily timeframe. The system

MT4 Trading robot ScalpingMean reversion
Updated 6 years ago None stated GitHub repository of Wealth Protector

Stochastic EA

by cicekozkan
3 stars

This MetaTrader 4 expert advisor automates trading using Stochastic Oscillator signals. It allows for the confluence of up to three separate Stochastic indicators, potentially across different timeframes, to determine entry points. Trades are triggered by line crossovers or when the indicator reaches user-defined overb

MT4 Trading robot Indicator crossoverMean reversion
Updated 6 years ago None stated GitHub repository of Stochastic EA
3 stars

MetaTrader Proxy Terminal is a structural framework for MetaTrader 4 designed to decouple trading logic from the client terminal. It provides a specialized architecture for data feeding and order management, allowing developers to protect intellectual property and distribute signals across multiple instances. The syste

MT4 Framework & template
Updated 6 years ago Apache-2.0 GitHub repository of MetaTrader Proxy Terminal

Ichimoku Kumo Breakout

by reuniware
3 stars

This MetaTrader 4 expert advisor implements a breakout strategy based on the Ichimoku Kinko Hyo indicator. It scans all financial instruments visible in the Market Watch window to identify price movements relative to the Ichimoku cloud. The robot enters buy positions when a 15-minute candle opens below the Kumo top and

MT4 Trading robot BreakoutTrend following
Updated 7 years ago None stated GitHub repository of Ichimoku Kumo Breakout

Copilot EA

by SeanEstey
3 stars

Copilot is a MetaTrader 4 expert advisor designed to replicate human price action analysis through market structure mapping. The robot identifies swing highs and lows, representing them as a graph of nodes to track trends, impulses, and retracements. It incorporates higher time frame support and resistance levels into

MT4 Trading robot SMC / ICT / price actionTrend following
Updated 7 years ago None stated GitHub repository of Copilot EA

iCustom Signal Trader

by inceabdullah
3 stars

This MetaTrader 4 expert advisor functions as a generic execution wrapper for external indicators. By utilizing the iCustom function, it monitors specific indicator buffers and triggers trades when the defined buy or sell modes are detected. It features adjustable parameters for lot sizing, stop loss, and take profit t

MT4 Trading robot
Updated 7 years ago None stated GitHub repository of iCustom Signal Trader

Tre Boll Trend

by linbirg
3 stars

Tre Boll Trend is a MetaTrader 4 Expert Advisor designed to identify and trade market trends using multi-timeframe Bollinger Band analysis. The system processes data from timeframes ranging from five minutes to one day, calculating advanced metrics such as price velocity, acceleration, and standard deviation. It monito

MT4 Trading robot Trend followingIndicator crossoverMean reversion
Updated 7 years ago None stated GitHub repository of Tre Boll Trend

Ichimoku Forex

by alifarahm
3 stars

This MetaTrader 4 expert advisor automates trading using the Ichimoku Kinko Hyo indicator alongside Simple Moving Average crossovers. It monitors Tenkan, Kijun, and Senkou spans to identify market trends while applying a Kumo cloud size threshold to filter out low-volatility entries. For risk control, the system provid

MT4 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Ichimoku Forex

MT4 News Trade Manager

by hyahfoufi
3 stars

MT4 News Trade Manager is a utility for MetaTrader 4 designed to handle trade exits during high-volatility news events. It automatically applies stop loss and take profit levels to orders and features a break-even function to protect gains. The tool includes specialized Spike Take Profit logic that closes positions bas

MT4 Trade manager News
Updated 8 years ago None stated GitHub repository of MT4 News Trade Manager

MQL CSV Export

by grzegorznowak
3 stars

This MetaTrader 4 utility exports historical price data into CSV format, specifically formatted for training deep learning models and neural networks. It calculates relative differences between consecutive Open, High, Low, and Close bars for each tick. The tool allows users to normalize data, include timestamps, and fi

MT4 Utility
Updated 8 years ago Unlicense GitHub repository of MQL CSV Export
3 stars

This MetaTrader 4 utility functions as a data logger rather than a trading robot. It extracts real-time market information, including current bid and ask prices and spreads, alongside technical indicator values for the Relative Strength Index and Momentum, both using a 14-period setting. The tool exports this data into

MT4 Utility
Updated 8 years ago None stated GitHub repository of RSI Momentum Data Sniffer

Demo Bot

by johnnydeez-zz
3 stars

This MetaTrader 4 expert advisor implements a trend-following strategy using two Simple Moving Averages. It is specifically pre-configured for the CHFJPY currency pair on the 30-minute timeframe. The robot identifies entries when a fast 145-period SMA and a slow 250-period SMA align, placing pending orders rather than

MT4 Trading robot Trend followingIndicator crossover
Updated 8 years ago None stated GitHub repository of Demo Bot

Distance and Time Trader

by blockchainhelp
3 stars

This collection of MetaTrader 4 expert advisors focuses on time-based order execution and breakout strategies. The main EA places pending orders at a specific price distance during three user-defined time windows throughout the trading day. It manages risk via fixed stop loss and take profit levels, along with a config

MT4 Collection Breakout
Updated 9 years ago None stated GitHub repository of Distance and Time Trader

Open Expert Advisor

by saadmahboob
3 stars

Open Expert Advisor is a mean-reversion trading robot for MetaTrader 4, primarily designed for Swiss Franc pairs such as EURCHF. It executes trades based on overbought and oversold price levels, specifically during the transition at the end of the New York trading session. The system manages risk through adjustable lot

MT4 Trading robot Mean reversion
Updated 9 years ago None stated GitHub repository of Open Expert Advisor

Trading Robot

by robintkim
3 stars

Trading Robot is an automated expert advisor for MetaTrader 4 that utilizes a multi-strategy approach based on classical technical indicators. It executes trades using distinct logic paths for buy and sell positions, incorporating Moving Averages, RSI, MACD, Ichimoku Kinko Hyo, and Fractals. The EA monitors price volat

MT4 Trading robot Indicator crossoverMulti-strategy
Updated 9 years ago None stated GitHub repository of Trading Robot

Xingtai MQ4 Collection

by huoliang2012
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including implementations based on Moving Averages and MACD indicators. The primary EA uses a moving average crossover strategy to identify entry points and manage positions. It features a lot-sizing module that adjusts volume based on available mar

MT4 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of Xingtai MQ4 Collection

XLiquidex

by m-root
3 stars

XLiquidex is an impulsive volatility breakout robot for MetaTrader 4. It identifies entry signals using Keltner Channel breakouts, Moving Average filters, and a candle body range requirement to verify momentum. The expert advisor includes trade management features such as take profit, stop loss, break-even offsets, and

MT4 Trading robot BreakoutTrend following
Updated 10 years ago Apache-2.0 GitHub repository of XLiquidex

Mousse Pips

by sharkone
3 stars

Mousse Pips is a MetaTrader 4 expert advisor that implements a trend-following strategy based on exponential moving average crossovers. The robot identifies entries and exits by comparing fast and slow moving average periods. It incorporates automated risk management by calculating lot sizes as a percentage of free mar

MT4 Trading robot Indicator crossoverTrend following
Updated 14 years ago None stated GitHub repository of Mousse Pips

Hosopi

by harukihosono
2 stars

Hosopi operates as an automated trading robot for the MetaTrader 4 and MetaTrader 5 platforms. It utilizes a modular architecture to handle trade execution and account protection, incorporating indicator-based entry logic and volatility filtering. The software includes a Funds Guard to prevent orders during insufficien

MT4MT5 Trading robot Multi-strategy
Updated 2 months ago None stated GitHub repository of Hosopi
2 stars

SoftArsenal is a collection of MetaTrader 4 expert advisors and development tools. The repository features a custom expert advisor named Aberration, which utilizes Bollinger Bands to identify market breakouts. It places pending buy and sell stop orders at the outer bands and dynamically adjusts stop loss levels to the

MT4 Collection BreakoutTrend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of SoftArsenal EA Collection

Mt4 Ai Trading

by 160037lk
2 stars

This MetaTrader 4 expert advisor connects to a Python FastAPI backend to facilitate automated trading based on Claude AI signals. The system transmits market data to the server, which performs multi-indicator analysis and sentiment processing before returning trade recommendations. It features multi-timeframe trend fil

MT4 Collection AI / machine learningTrend followingNews
Updated 4 months ago None stated GitHub repository of Mt4 Ai Trading
2 stars

This utility for MetaTrader 4 and 5 provides an on-chart interface for manual trade execution and position management. It automatically applies stop losses to new orders and features a trailing stop mechanism to manage open trades. Notable management tools include one-click break-even and the ability to close a specifi

MT4MT5 Trade manager

Pi EA Auxiliary Panel

by my05613828
2 stars

Pi EA Auxiliary Panel is a management tool for MetaTrader 4 and 5 designed to enhance manual order execution and automated trade handling. It features an interactive on-chart interface that allows users to split large orders into smaller positions, apply automated break-even levels, and execute trailing stops for indiv

MT4MT5 Trade manager
Updated 5 months ago None stated GitHub repository of Pi EA Auxiliary Panel
2 stars

MQL Realtime Dashboard is a monitoring utility for MetaTrader 4 and 5 that exports account information to a web-based dashboard in real time. It collects account metrics including balance, leverage, equity, and historical trade data such as win rates and drawdown statistics. The expert advisor establishes a TCP connect

MT4MT5 Utility

OverNight Close EA

by harukihosono
2 stars

OverNight Close EA is a trade management utility for MetaTrader 4 and 5 designed to automatically close open positions and delete pending orders at specified times. It allows users to set unique closing windows for each day of the week, making it useful for prop firm traders who need to avoid weekend carryover. The EA

MT4MT5 Trade manager
Updated 10 months ago None stated GitHub repository of OverNight Close EA

MQ Autonomous High Break

by lordgaruda
2 stars

MQ Autonomous is a momentum breakout expert advisor for MetaTrader 4 and MetaTrader 5. It scans multiple assets simultaneously for significant daily price movements exceeding a specified percentage. Once a threshold is met, the system seeks entries based on price breaking recent highs or lows, supported by a volume ave

MT4MT5 Trading robot BreakoutMulti-strategy
Updated 11 months ago None stated GitHub repository of MQ Autonomous High Break

Span Model Trader

by KC-Kamioka
2 stars

Span Model Trader is an automated expert advisor for MetaTrader 4 that utilizes the Span Model and Super Bollinger technical indicators. It identifies entry and exit signals based on components such as the Blue Span and Delayed Span. The robot operates on a bar-by-bar basis, executing logic only at the opening of a new

MT4 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Span Model Trader

EURUSD Surge EA

by Masa1984a
2 stars

This MetaTrader 4 expert advisor is designed specifically for the EURUSD pair, focusing on price surge detection and subsequent pullback entries. It identifies significant volatility using ATR and candlestick body ratios, entering trades during correction phases. The robot incorporates multi-timeframe analysis across M

MT4 Trading robot Trend followingBreakoutMean reversion

Buy Low Sell High EA

by yeainshukla
2 stars

This MetaTrader 4 expert advisor implements a cumulative profit strategy based on support and resistance levels. The system identifies potential trade entries by analyzing historical price extremes over a defined lookback period while excluding recent price action. It manages trade exits collectively, closing the entir

MT4 Trading robot Mean reversionHedging
Updated 1 year ago None stated GitHub repository of Buy Low Sell High EA

Siluman Kambing

by rajaculaemas
2 stars

This MetaTrader 4 expert advisor implements a multi-strategy approach for trading various currency pairs and gold. It combines technical indicators including Moving Averages, RSI, Bollinger Bands, and ADX with price action concepts such as support, resistance, and engulfing patterns. The EA features risk management too

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Siluman Kambing
2 stars

This repository contains a collection of Expert Advisors and trading tools developed for the MetaTrader 4 platform. It features multiple standalone scripts implementing classic technical strategies, including Ichimoku Cloud trend following, Moving Average crossovers, and momentum-based entries using RSI or MACD. The Ex

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of AlgoTrading MQL Collection
2 stars

This expert advisor functions as a bridge connecting MetaTrader 4 to Python through a MySQL database and a custom C++ DLL. It facilitates the real-time extraction of market data, including tick prices, account equity, and order information, which are stored in database tables for advanced analysis. The tool also suppor

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of MT4 MySQL Python Bridge

Position Sizer

by techteam92
2 stars

The Position Sizer is a trade management tool for MetaTrader 4 and 5 that calculates the appropriate lot size based on account balance and risk tolerance. It allows traders to define risk as a percentage or fixed monetary amount, adjusting the position size dynamically as stop-loss and take-profit lines are moved on th

MT4MT5 Utility
Updated 1 year ago Apache-2.0 GitHub repository of Position Sizer

TonTai Simple Copier

by piyawatton
2 stars

This MetaTrader 4 expert advisor functions as a trade copying utility designed to synchronize orders between different accounts. It utilizes a master-slave architecture where the master instance exports trade data to a common CSV file and the slave instance replicates those positions. The tool provides options for lot

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of TonTai Simple Copier

MACD Trend Trader

by diankartika
2 stars

This MetaTrader 4 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator. Developed as an academic project, the bot filters signals using an Exponential Moving Average to ensure trades follow the established trend. Risk management features include a fixed lot sizing model, a

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of MACD Trend Trader

Framework4o

by Capital-Advisory-Technology
2 stars

Framework4o is a modular system building framework and expert advisor for MetaTrader 4. It provides a structured environment for developing trading models with pre-defined modules for position and risk management. The core functionality handles entry and exit logic using indicators like DEMA, EMA, and RSI. It includes

MT4 Framework & template Trend followingIndicator crossover
Updated 2 years ago GPL-3.0 GitHub repository of Framework4o
2 stars

This MetaTrader 4 expert advisor automates trading using moving average crossovers. It generates buy and sell signals based on user-defined periods and shift parameters. The EA includes a risk management module that calculates lot sizes dynamically based on free margin and a maximum risk percentage. It features a reduc

MT4 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Clarionxk Moving Average
2 stars

This repository is a collection of MetaTrader 4 projects including expert advisors, libraries, and utilities. The featured Tri-Arbitrage EA executes an experimental strategy by monitoring price discrepancies between currency triplets like EURUSD and EURGBP. It calculates an implied price and enters trades when market i

MT4 Collection ArbitrageTrend following

RSI Bands Breaker

by visualxl
2 stars

This MetaTrader 4 expert advisor implements a breakout strategy using Bollinger Bands, the Relative Strength Index (RSI), and a Simple Moving Average (SMA). Optimized for AUD/JPY, it identifies periods of low volatility through a Bollinger Band squeeze before entering trades on a price breakout confirmed by RSI momentu

MT4 Trading robot BreakoutTrend following
Updated 2 years ago None stated GitHub repository of RSI Bands Breaker

FaSt EA

by Hohlas
2 stars

FaSt is an automated trading robot for MetaTrader 4 that determines entries based on price extremes and trend direction indicators. The system employs Average True Range (ATR) to calculate dynamic stop loss and take profit levels, ensuring volatility-adjusted risk control. It includes multiple signal filters, trailing

MT4 Trading robot Trend followingBreakout
Updated 3 years ago None stated GitHub repository of FaSt EA

This repository features MetaTrader 4 expert advisor templates focused on technical indicator integration and price action patterns. The included files utilize simple and exponential moving averages alongside fractal and candlestick pattern detection, such as hammers and stars. Trade management is handled through time-

MT4 Collection Indicator crossoverSMC / ICT / price action

Telegram Alert MT4 Bot

by miniTalDev
2 stars

This expert advisor for MetaTrader 4 acts as a bridge between the trading terminal and Telegram. It monitors the account for new, modified, or closed orders and automatically sends the details to a specified Telegram channel or group using the Telegram Bot API. The tool functions as a signal transmitter, allowing users

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of Telegram Alert MT4 Bot

MQL4 To CSharp Bridge DNNE

by DennisGundersen
2 stars

This framework provides a prototype and tutorial for connecting MetaTrader 4 MQL code to modern .NET 6+ managed code using Dot Net Native Exports. It functions as a technical bridge rather than a trading robot, allowing developers to extend MetaTrader 4 capabilities with C# libraries. The included Expert Advisor serves

MT4 Framework & template

Nexus EA

by NexusEA
2 stars

Nexus EA is a scalping robot for MetaTrader 4 that identifies trade opportunities based on price volatility relative to historical bar averages. It monitors the current bar movement and executes trades when price displacement exceeds a set threshold within specific hours. Risk management is handled through dynamic lot

MT4 Trading robot Scalping
Updated 3 years ago None stated GitHub repository of Nexus EA

Fisher EA

by jyyan
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on volatility and momentum. It utilizes Average True Range calculations with configurable fast and slow multipliers to identify trade entries and manage exits. The robot handles risk through a percentage-based budget per trade, a fixed risk-re

MT4 Trading robot Trend following
Updated 3 years ago MIT GitHub repository of Fisher EA

MQL4 Tutorial Collection

by a-forghani-y79
2 stars

This MetaTrader 4 repository serves as a research and development environment for MQL4 algorithmic trading. It includes multiple experimental files focusing on pivot point identification and volume-based price analysis. The code explores custom data structures for price action and seeks to implement specific strategies

MT4 Collection Multi-strategy
Updated 3 years ago None stated GitHub repository of MQL4 Tutorial Collection

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 hour, 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 hour. 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