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.

1,037 EAs match Clear filters
2 stars

This MetaTrader 5 trade manager automates stop loss adjustments for existing positions using the Teeth line of the Bill Williams Alligator indicator. It tracks an 8-period smoothed moving average shifted 5 periods forward to determine exit levels. The tool operates on a new bar basis, checking open trades and modifying

MT5 Trade manager

HFT V1

by mojtaba-abedini
2 stars

HFT V1 is a MetaTrader 4 expert advisor designed to execute trades based on historical data analysis. The robot calculates dynamic price levels, including mid-lines and breath levels, by evaluating a minimum threshold of previous account history. It manages risk through fixed stop loss and take profit settings, with lo

MT4 Trading robot Mean reversionBreakout
Updated 4 years ago None stated GitHub repository of HFT V1
2 stars

This MetaTrader 5 expert advisor executes a martingale strategy using pending buy stop or sell stop orders. Users define an initial entry price and lot size, which the EA then manages using a configurable volume multiplier for subsequent trades. It includes automated stop loss and take profit calculations based on fixe

MT5 Trading robot Martingale High risk
Updated 4 years ago None stated GitHub repository of Martingale Pending Order EA

Bot Trend Line

by thanhntt89
2 stars

Bot Trend Line is an automated trading tool for MetaTrader 4 that executes orders based on price interactions with trendlines. The expert advisor monitors lines to trigger market or pending orders when specific price conditions are met. It manages risk through a fixed risk-per-deal setting and includes account-level sa

MT4 Trading robot BreakoutSMC / ICT / price action
Updated 4 years ago None stated GitHub repository of Bot Trend Line
2 stars

This MetaTrader 5 tool provides a semi-automatic interface for executing trades based on manual chart analysis. Users can configure trendlines and horizontal lines to trigger buy or sell orders upon price touch, breakout, or retest. The EA includes a graphical user interface to manage lot sizes and provides draggable o

MT5 Utility Breakout
Updated 4 years ago None stated GitHub repository of MT5 Line Trading EA

Robo Samurai

by israeltandrade
2 stars

Robo Samurai is a MetaTrader 5 expert advisor that executes trades based on probabilistic candle patterns and occurrence statistics. It features a unique Katana Barrier system that filters trade signals based on historical error rates and specific occurrence percentage thresholds. The EA allows for granular control ove

MT5 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of Robo Samurai

GDSC Event MetaTrader

by lukasavic1
2 stars

This MetaTrader 5 expert advisor utilizes a multi-timeframe approach to identify entry points based on the Relative Strength Index and candlestick patterns. It monitors a lower timeframe for bullish engulfing formations while using a higher timeframe Exponential Moving Average to filter for trend direction. The bot cal

MT5 Trading robot Trend followingMean reversion
Updated 4 years ago None stated GitHub repository of GDSC Event MetaTrader

Mt4api ZeroMQ

by RedDawe
2 stars

This expert advisor for MetaTrader 4 acts as a bridge using the ZeroMQ protocol to connect the trading terminal with external environments. It facilitates bidirectional communication, allowing users to send trade commands and retrieve market data or account status via TCP sockets. The system supports multiple instrumen

MT4 Copier & bridge
Updated 5 years ago None stated GitHub repository of Mt4api ZeroMQ

212 Candle Pattern

by OrangeFoxie
2 stars

This MetaTrader 5 expert advisor identifies and trades the 212 candlestick pattern. It combines price action analysis with technical indicators, specifically using the Average Directional Index and a Moving Average for trend confirmation. The system manages risk through fixed stop loss and take profit levels, including

MT5 Trading robot Trend following
Updated 5 years ago None stated GitHub repository of 212 Candle Pattern

Saxby Andrew ML EA

by saxbyandrew
2 stars

This MetaTrader 5 expert advisor is a legacy project focused on machine learning and neural network forecasting. The system implements logic for training models and generating forecasts using technical indicators like ADX and ZigZag. It includes several optional modules for long, short, hedging, and martingale trading

MT5 Trading robot AI / machine learningMartingaleHedging High risk
Updated 5 years ago None stated GitHub repository of Saxby Andrew ML EA

Trade Manager EA

by Oukaharry
2 stars

Trade Manager EA is a utility for MetaTrader 4 designed to simplify order placement and position management. It features a graphical user interface that allows users to open trades and visually define multiple stop loss and take profit levels. The expert advisor includes logic for partial closing of orders and uses a t

MT4 Trade manager
Updated 5 years ago None stated GitHub repository of Trade Manager EA

Mql Open Trade

by shohdi
2 stars

This MetaTrader 4 collection provides several expert advisors designed to automate trade entry with integrated risk controls. The tools calculate lot sizes based on a user-defined percentage of account capital, ensuring consistent exposure. Users can configure the trade direction, expected duration, and risk-to-reward

MT4 Collection Indicator crossoverMulti-strategy
Updated 5 years ago None stated GitHub repository of Mql Open Trade

ZeroMQ MetaTrader Bridge

by bendicsekb
2 stars

This MetaTrader 4 Expert Advisor acts as a communication interface using the ZeroMQ library to link the terminal with external software. It functions as a server through REP and PUSH sockets, allowing external logic to execute trades via TCP ports. The tool includes standard risk controls such as stop loss and take pro

MT4 Copier & bridge
Updated 5 years ago None stated GitHub repository of ZeroMQ MetaTrader Bridge

MT5 Telegram Bot

by rafaelfvcs
2 stars

MT5 Telegram Bot is a remote management tool for MetaTrader 5 that connects the trading terminal to the Telegram messaging platform. It enables users to send trade instructions directly from a chat interface to the expert advisor. The EA processes specific commands to open buy or sell positions and close existing marke

MT5 Copier & bridge
Updated 5 years ago None stated GitHub repository of MT5 Telegram Bot

Dv Tools

by dorev
2 stars

Dv Tools is an open-source development framework and utility library for MetaTrader 4. It provides MQL4 programmers with modern C++ inspired data structures, including vectors and maps for handling both primitive types and objects. The library simplifies chart graphic management through a dedicated UI manager and offer

MT4 Framework & template
Updated 5 years ago MIT GitHub repository of Dv Tools
2 stars

This repository contains a collection of MetaTrader 5 expert advisors focused on simple technical indicator strategies. The primary EA utilizes a combination of the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) to identify overbought and oversold market conditions. It enters market trad

MT5 Collection Mean reversionIndicator crossover
Updated 5 years ago None stated GitHub repository of Trading Bots Collection
2 stars

This MetaTrader 4 utility calculates and displays a five percent daily drawdown limit directly on the chart. It determines the daily starting balance by analyzing the account history and subtracting current-day profits from the total balance. Designed as a monitoring tool for traders following specific risk management

MT4 Risk & protection
Updated 5 years ago None stated GitHub repository of Daily Drawdown Monitor

Allin Breakout MT4

by 4Bet-Allin
2 stars

This MetaTrader 4 expert advisor executes a breakout strategy based on price extremes established during specific trading hours. It identifies the high and low levels from recent hourly candles and enters positions when price breaches these thresholds. The EA includes automated risk management features such as dynamic

MT4 Trading robot Breakout
Updated 5 years ago None stated GitHub repository of Allin Breakout MT4

Simple RSI Expert

by emvadov
2 stars

This MetaTrader 5 expert advisor executes trades based on Relative Strength Index (RSI) levels. It enters long positions when the RSI is below a specified low point and the previous candle closed bullish, while short positions are triggered when the RSI is above a high point and the previous candle closed bearish. The

MT5 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of Simple RSI Expert

MM Cros IFR

by marcosnataqs
2 stars

This MetaTrader 5 expert advisor executes trades based on technical signals from Moving Average crossovers and the Relative Strength Index (RSI). It offers three distinct entry modes, allowing traders to utilize trend-following crossovers, RSI overbought and oversold levels, or a combination of both indicators. The rob

MT5 Trading robot Indicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of MM Cros IFR
2 stars

This MetaTrader 4 expert advisor utilizes technical indicators to execute trades based on trend and momentum. The logic employs two simple moving averages (15 and 50 periods) alongside the Relative Strength Index to identify entries. It seeks buy or sell opportunities when moving averages crossover, provided the RSI co

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of My X Series Trading Robots

MA Cross

by rrg890
2 stars

This MetaTrader 4 expert advisor automates trading based on the crossover of two Simple Moving Averages. The robot enters a buy position when the short-term moving average crosses above the long-term moving average and a sell position when it crosses below. It manages exits by monitoring for reverse signals to close ac

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of MA Cross
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy using exponential moving average crossovers. It automates trade entries when momentum shifts and manages exits based on a user-defined reward-to-risk ratio. The system features a dynamic position sizing algorithm to adjust lot sizes relative to acco

MT4 Trading robot Indicator crossoverMartingaleHedging High risk
2 stars

A collection of MetaTrader 4 expert advisors designed for trend-following strategies. The primary logic uses Donchian Channel breakouts with configurable periods for entries and exits. It features robust risk management, including percentage-based lot sizing and volatility-based stop loss and take profit levels calcula

MT4 Collection Trend followingBreakout
Updated 6 years ago None stated GitHub repository of Simple Trend EA Collection

Ichimoku EA

by anwarminarso
2 stars

This MetaTrader 4 expert advisor executes trades based on the Ichimoku Kinko Hyo indicator. It incorporates four distinct trading methods: the Ideal Strategy, Tenkan-Kijun-Chikou crossing, Kumo breakout, and Chikou Span crossing. The robot manages risk through fixed stop loss and take profit levels, a maximum trade lim

MT4 Trading robot Trend followingBreakoutIndicator crossover
Updated 6 years ago None stated GitHub repository of Ichimoku EA
2 stars

This MetaTrader 4 repository contains a collection of Expert Advisors and a core module for order management. It includes standard trading strategies based on Moving Average and MACD crossovers. The main module provides logic for calculating open and historical trade metrics, tracking total profit and loss across speci

MT4 Collection Indicator crossoverMulti-strategy
Updated 6 years ago None stated GitHub repository of Antaluqi MT4 EA Collection

KEG Order EA

by IceSeeds
2 stars

KEG Order EA is a manual trading utility for MetaTrader 4 designed to streamline order execution and position management. It features a graphical panel for one-click trading and allows users to close all open positions or filter by specific currency pairs. The tool provides visual feedback on pips and floating profit o

MT4 Utility
Updated 6 years ago None stated GitHub repository of KEG Order EA

Mql Trading Signals

by udy8007
2 stars

Mql Trading Signals is a collection of expert advisors for MetaTrader 4 and 5 designed for automated trading and signal notification. The repository contains various strategy iterations, primarily utilizing Simple Moving Average (SMA) crossovers to identify trends. The main experts include logic for sending trade detai

MT4MT5 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of Mql Trading Signals

Robo Harmonico

by joao-salomao
2 stars

Robo Harmonico is a MetaTrader 5 expert advisor designed to detect and trade harmonic price patterns, specifically focusing on the Gartley formation. It utilizes a custom ZigZag indicator to identify significant swing highs and lows, which are then processed by a dedicated detection library to find geometric structures

MT5 Trading robot SMC / ICT / price actionMean reversion
Updated 6 years ago None stated GitHub repository of Robo Harmonico
2 stars

This utility bridges MetaTrader 4 to Telegram by sending real-time trading notifications to specific channels or groups. It monitors the trading terminal for various execution events, including new market orders, pending order placements, order fills, and trade closures. The tool uses the Telegram Bot API to deliver fo

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Telegram Signal Alert

Azizkhani

by azizkhani
2 stars

Azizkhani is a technical expert advisor for MetaTrader 5 that executes trades based on a combination of MACD and Commodity Channel Index indicators. The robot enters buy or sell limit orders when the CCI exceeds specific thresholds and the MACD aligns with the trend direction. It features a simplified logic for managin

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Azizkhani

Simple Crazy Lot Pack

by Smilejarik
2 stars

This repository provides a collection of MetaTrader 5 expert advisors based on moving average crossovers and price distance relative to the mean. The core logic monitors the gap between the current price and a simple moving average while tracking candle direction for entry signals. The collection includes variations fo

MT5 Collection Mean reversionMartingale High risk
Updated 6 years ago None stated GitHub repository of Simple Crazy Lot Pack
2 stars

This MetaTrader 5 framework provides a modular structure for developing expert advisors. It includes base classes for retrieving account information, market prices, and candle data, alongside a dedicated trading system class for signal execution. The repository features an example implementation utilizing Relative Stre

MT5 Framework & template Mean reversion
Updated 6 years ago None stated GitHub repository of MQL5 Basic Framework

ADX Martingale EA

by MatthewWebster10
2 stars

This MetaTrader 4 expert advisor uses the Average Directional Index to identify and trade market trends. It implements a volatility-based risk management system using the Average True Range to calculate stop loss and take profit levels dynamically. The strategy includes a configurable martingale lot scaling mechanism a

MT4 Trading robot Trend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of ADX Martingale EA

Gordon Day Trading

by xcai004
2 stars

Gordon Day Trading is a MetaTrader 4 expert advisor designed for automated intraday trading. It combines signals from multiple Exponential Moving Averages, the Relative Strength Index, and Bollinger Bands to determine trade entries. The software includes visualization features for Fibonacci levels and unretraced zones

MT4 Trading robot Indicator crossoverMean reversion
Updated 7 years ago None stated GitHub repository of Gordon Day Trading

Martingale Manager

by moataz-metwally
2 stars

This MetaTrader 4 expert advisor is a management tool designed to execute and handle trading strategies using martingale lot scaling. It uses HTTP and JSON libraries to potentially interface with external configurations or signals, supporting multiple strategies at once. The EA features a 20-level lot sequence system,

MT4 Trade manager MartingaleHedging High risk
Updated 7 years ago None stated GitHub repository of Martingale Manager

Treinamento Mql5

by vagnerpraia
2 stars

Treinamento Mql5 is an educational expert advisor designed for the MetaTrader 5 platform to demonstrate basic algorithmic trading concepts. It provides a framework for integrating technical indicators such as Moving Averages and the Relative Strength Index into a trading script. The EA includes input parameters to togg

MT5 Trading robot Multi-strategyIndicator crossover
Updated 7 years ago GPL-3.0 GitHub repository of Treinamento Mql5

MT4 Executor

by jmahiques
2 stars

This MetaTrader 4 expert advisor functions as a communication bridge between the trading platform and an external web-based backend server. It utilizes the WebRequest function to send real-time bid and ask prices, synchronize instrument details, and perform connectivity probes with a server. Designed as an educational

MT4 Copier & bridge
Updated 7 years ago GPL-3.0 GitHub repository of MT4 Executor

EAM1 Ichimoku

by maleman
2 stars

EAM1 is a MetaTrader 5 expert advisor that utilizes the Ichimoku Kinko Hyo technical indicator to identify trading opportunities. The robot monitors the Tenkan, Kijun, and Senkou Span components to generate signals based on trend direction and component crossovers. Users can adjust the periods for the fast and slow lin

MT5 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of EAM1 Ichimoku

NNF Confirmation Indicator Testers

by marinelligiovanna
2 stars

This MetaTrader 4 collection provides a testing framework for trend confirmation indicators based on the No Nonsense Forex methodology. It includes three Expert Advisors designed to evaluate different signal types: Zero Line crosses, Two Line crosses, and Chart indicators. The system simulates trades at candle closes u

MT4 Utility Trend followingIndicator crossover

Telegram Trader Bot

by nathanzilgo
2 stars

This expert advisor acts as a communication bridge between MetaTrader 4/5 and external applications via the ZeroMQ protocol, specifically aimed at executing trades from a Telegram group. It runs a local server within the terminal to receive trading instructions and optionally publish market data. The Python-based backe

MT4MT5 Copier & bridge
Updated 7 years ago None stated GitHub repository of Telegram Trader Bot

Generador Mean Reversion

by jesuscovam
2 stars

This MetaTrader 4 expert advisor uses a mean-reversion approach based on a long-period Exponential Moving Average on the M5 timeframe. It opens a single buy position when the previous candle closes below the 1000-period EMA and a sell position when it closes above. The EA includes standard risk controls such as fixed l

MT4 Trading robot Mean reversion
Updated 7 years ago None stated GitHub repository of Generador Mean Reversion

Pivot Point EA

by Endon55
2 stars

Pivot Point EA is an automated trading robot for MetaTrader 4 that utilizes daily pivot points to identify potential support and resistance levels. The system calculates these levels at the start of each day and monitors price proximity to execute trades based on bounces or breakouts. It includes built-in risk controls

MT4 Trading robot Mean reversion
Updated 7 years ago None stated GitHub repository of Pivot Point EA

Suminsky EA

by zegitz
2 stars

Suminsky EA is an automated trading tool for the MetaTrader 4 platform that utilizes a level-based execution strategy. The robot places orders within a specified price range, divided into multiple lines or levels to manage entries. It features risk management settings including fixed lot sizing, a take profit target, a

MT4 Trading robot GridHedging High risk Archived
Updated 7 years ago None stated GitHub repository of Suminsky EA

Falcon C

by vzhomeexperiments
2 stars

Falcon C is a MetaTrader 4 expert advisor that implements a rule-based strategy using moving average crossovers and Keltner Channels. It relies on an external deep learning framework built in R to categorize current market regimes, such as normal or volatile bull and bear phases. Based on these categories, the robot sw

MT4 Trading robot Indicator crossoverAI / machine learningTrend following
Updated 7 years ago MIT GitHub repository of Falcon C

Auto Trade EA

by leonharvey
2 stars

This MetaTrader 4 expert advisor executes automated trades based on Moving Average crossover logic and the Chandelier Exit method. It utilizes multiple Moving Average periods and shifts alongside Average True Range and price extremes to identify market trends and potential exit points. Risk is managed through fixed lot

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago AGPL-3.0 GitHub repository of Auto Trade EA

Trader App ZeroMQ Bridge

by FarzanehCS
2 stars

This expert advisor serves as a bridge between MetaTrader 4 and external applications using the ZeroMQ messaging protocol. It allows external programs to communicate with the terminal over TCP sockets to send trading commands or retrieve market data. The EA functions as a server, hosting REP and PUSH sockets to handle

MT4 Copier & bridge AI / machine learning
Updated 7 years ago None stated GitHub repository of Trader App ZeroMQ Bridge
2 stars

Fomo Manual Trading Tool is an expert advisor for MetaTrader 4 designed to facilitate fast manual execution through keyboard hotkeys. It bypasses the standard order window, allowing users to open buy and sell positions, set limit orders, and adjust lot sizes instantly. The tool includes functions to increase or decreas

MT4 Utility
Updated 7 years ago None stated GitHub repository of Fomo Manual Trading Tool

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