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

Simple RSI Trading Bot

by ThiagoMunich
1 stars

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

MT5 Trading robot Mean reversion

Mighty Trade Manager

by Mighty1one
1 stars

Mighty Trade Manager is a graphical utility for MetaTrader 5 designed to streamline manual trading and order management. It features a comprehensive on-chart panel with controls for executing market and pending orders, calculating lot sizes based on risk percentage, and managing open positions. Users can set stop loss,

MT5 Trade manager
Updated 1 year ago None stated GitHub repository of Mighty Trade Manager
1 stars

This MetaTrader 5 expert advisor automates the Fimathe price action strategy, which relies on channel breakouts and expansions. The user manually defines reference price levels to establish trading channels. The robot executes orders based on these price boundaries and manages positions using configurable take-profit t

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of Fimathe Trading Robot

Trading Bot System

by panda001945
1 stars

This MetaTrader 5 expert advisor identifies and trades price action patterns using breakout levels. The system monitors for specific A-level and V-level breakouts, which must be confirmed by bullish or bearish engulfing candle patterns before entering a position. Risk management is automated through a dedicated module

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of Trading Bot System
1 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility tools for automated trading. The primary expert advisor utilizes the Stochastic Oscillator to generate entry and exit signals based on configurable crossover logic and overbought or oversold levels. It includes essential risk management s

MT5 Collection Indicator crossoverMean reversionTrend following

Pivot Point EA

by ziejaCode
1 stars

This MetaTrader 5 expert advisor automates trading based on classic Pivot Point levels. It calculates support and resistance lines using daily or weekly timeframes and allows users to choose between bounce or breakout trading styles. Risk management features include fixed lot sizing or percentage-based risk, along with

MT5 Trading robot Mean reversionBreakout
Updated 1 year ago None stated GitHub repository of Pivot Point EA

Ajip 3 EA

by pijarajip7
1 stars

Ajip 3 EA is a MetaTrader 5 robot designed to trade trends identified by a 200-period Simple Moving Average. It monitors price action across two timeframes, typically using M15 for trend identification and M1 for execution. The strategy involves opening multiple layers of positions based on candle breaks, categorized i

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Ajip 3 EA

Aa Ea

by Psychitechts
1 stars

This MetaTrader 5 expert advisor implements a multi-strategy approach based on price action and market structure concepts. It utilizes higher timeframe trend identification via a 200-period Simple Moving Average and seeks entry points on lower timeframes using a 50-period SMA and support or resistance levels. The logic

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 1 year ago None stated GitHub repository of Aa Ea
1 stars

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

MT5 Framework & template

Pinbar EA

by idodidodi
1 stars

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

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

EA MultiStrategy Advanced is an automated trading robot for MetaTrader 5 that integrates technical analysis with machine learning models. It utilizes a combination of RSI, Bollinger Bands, and Moving Average crossovers alongside LSTM-based deep learning signals to identify market patterns. The system features rigorous

MT5 Trading robot AI / machine learningIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of EA MultiStrategy Advanced

Fibonacci EA

by shahadatnovel
1 stars

Fibonacci EA is a MetaTrader 4 expert advisor that executes trades based on technical indicators. Despite the name, the provided implementation focuses on a moving average crossover strategy involving a 30-period and 50-period simple moving average. The robot enters a sell position when the shorter-period average cross

MT4 Trading robot Indicator crossover
Updated 1 year ago None stated GitHub repository of Fibonacci EA

Three SMA EA

by shahadatnovel
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the alignment of Simple Moving Averages. It utilizes a fast period of 30 and a medium period of 50 to determine entry signals, with logic for a third slow moving average present but partially commented out. The robot executes trades with fi

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Three SMA EA

RSI EA MT4

by shahadatnovel
1 stars

This MetaTrader 4 expert advisor executes trades based on the Relative Strength Index (RSI) indicator. It monitors price momentum to identify potential entry points when the RSI value interacts with user-defined overbought and oversold levels. The EA includes basic risk management with hardcoded stop loss and take prof

MT4 Trading robot Mean reversion
Updated 1 year ago None stated GitHub repository of RSI EA MT4

Signal Manager

by ali-derogar
1 stars

A MetaTrader 4 expert advisor designed to execute trades based on signals received from an external API. It handles order placement for buy and sell signals, incorporating risk management features such as a pip-based stop loss and a take-profit target determined by a user-defined ratio. The EA limits market entry to tw

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of Signal Manager

Boll Alert

by my05613828
1 stars

Boll Alert is a monitoring tool for MetaTrader 5 designed to notify traders when price crosses Bollinger Band boundaries. It scans multiple timeframes simultaneously, including minute, hourly, and daily periods, to identify potential breakout or mean-reversion signals. Users can configure the standard deviation and loo

MT5 Utility
Updated 1 year ago None stated GitHub repository of Boll Alert

Algo Trade Expert

by alprslanymeria
1 stars

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

MT5 Trading robot
1 stars

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

MT5 Framework & template AI / machine learning

MQL5 API Json Bridge

by techteam92
1 stars

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

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

Ubot

by techteam92
1 stars

Ubot is an automated trading robot for MetaTrader 4 that utilizes technical analysis to execute market orders. It incorporates specific strategy patterns such as Sharkfin and Squeeze logic, likely based on the included Traders Dynamic Index library. The EA features comprehensive trade management including trailing prof

MT4 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago Custom licence GitHub repository of Ubot

Trade The OB

by maazkhansw5145
1 stars

This MetaTrader 5 expert advisor automates a strategy based on Smart Money Concepts (SMC) with a focus on order blocks. The system utilizes dual Simple Moving Averages on the H1 timeframe to filter for the prevailing trend while monitoring 15-minute price action. It identifies supply and demand zones represented by cha

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 1 year ago None stated GitHub repository of Trade The OB

K Second Data Fetcher

by my05613828
1 stars

K Second Data Fetcher is a MetaTrader 5 utility designed to retrieve and handle sub-minute candlestick data, specifically focusing on second-level intervals. The expert advisor operates as a technical tool rather than a trading robot, utilizing a high-frequency 50-millisecond timer to monitor price changes and process

MT5 Utility
Updated 1 year ago None stated GitHub repository of K Second Data Fetcher

Krsna Daily EA

by rahuldhangar
1 stars

Krsna Daily EA for MetaTrader 5 is an automated trading robot that executes trades based on price action patterns of custom-defined daily candles. Users can set a specific starting hour for the trading day, and the EA plots visual candle overlays on the chart. It places buy or sell limit orders at specific retracement

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago MIT GitHub repository of Krsna Daily EA

Critiq Framework5

by Capital-Advisory-Technology
1 stars

This MetaTrader 5 expert advisor utilizes a modular architecture to automate trading using technical indicators. It generates entry signals by combining the Waddah Attar Explosion model with a Double Exponential Moving Average (DEMA) system. For risk management, the EA calculates stop loss levels based on Average True

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Critiq Framework5

Neural Network MT5

by NATTAYAx
1 stars

This MetaTrader 5 expert advisor utilizes a neural network model to automate trading decisions. It integrates custom libraries for data preprocessing and forward propagation to evaluate market conditions. The robot specifically targets the one-minute timeframe, preparing input vectors from recent historical bars. Trade

MT5 Trading robot AI / machine learning
Updated 1 year ago None stated GitHub repository of Neural Network MT5

MQL5 Workspace Fundamentals

by Paulin-NIYOBYOSE
1 stars

This collection for MetaTrader 5 contains basic scripts and expert advisors designed for educational purposes. The primary utility demonstrated prints current bid and ask prices to the terminal console upon receiving a new market tick. It does not contain logic for opening, managing, or closing trades, nor does it impl

MT5 Collection

Ichi Pivots RH

by LEREMS57
1 stars

Ichi Pivots RH is an automated trading robot for MetaTrader 5 that utilizes pivot point analysis to identify market support and resistance levels. The system incorporates detailed time-based filtering, allowing users to define specific trading sessions, a mid-day pause, and a mandatory daily blackout period. Risk manag

MT5 Trading robot Mean reversionBreakout
Updated 1 year ago None stated GitHub repository of Ichi Pivots RH

Neuro MA Net

by YesthisI
1 stars

This MetaTrader 5 expert advisor identifies market entries using a moving average signal within the standard MQL5 framework. The robot evaluates price relative to a simple moving average, triggering trades when a specific threshold is met. Users can configure lot sizing as a fixed volume or a percentage of the account

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago MIT GitHub repository of Neuro MA Net
1 stars

High Frequency Stocks is an automated trading robot for MetaTrader 5 focused on identifying long-entry opportunities. The EA monitors multiple timeframes from weekly down to thirty-minute charts to confirm upward price direction and increasing volume. It specifically searches for entries within ranges of interest, such

MT5 Trading robot Trend followingSMC / ICT / price action
Updated 1 year ago None stated GitHub repository of High Frequency Stocks

Strategy MA

by EA31337
1 stars

This MetaTrader 5 expert advisor executes trades based on various moving average price indicators. It is built as a modular component for the EA31337 framework and supports multiple calculation methods, including simple, exponential, adaptive, and fractal moving averages. The robot allows users to enable or disable spe

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Strategy MA

BBMA Profit Seeker

by syarief02
1 stars

BBMA Profit Seeker is a MetaTrader 4 expert advisor implementing a Bollinger Bands and Moving Average crossover strategy. It enters long positions when price rebounds from the lower band and closes above the moving average, while short entries occur after a rejection from the upper band. The robot manages exits dynamic

MT4 Trading robot Indicator crossoverMean reversion

ANB Scalper

by agustinnb
1 stars

ANB Scalper is an automated trading robot for MetaTrader 4 that implements a scalping strategy centered on Fibonacci retracement levels. The EA calculates support and resistance zones by analyzing the highest and lowest prices over a user-defined candle lookback period. It filters potential entries using a combination

MT4 Trading robot ScalpingMean reversion
Updated 1 year ago None stated GitHub repository of ANB Scalper

Average Scalper

by fauzaanu
1 stars

Average Scalper is a MetaTrader 4 expert advisor designed for trend-following strategies based on moving average levels and volatility ranges. It uses a 50-period Exponential Moving Average to determine market direction, initiating buy orders when the price is above the line and sell orders when below. Risk management

MT4 Trading robot ScalpingTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Average Scalper
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on price position relative to a moving average. It initiates buy orders when a candle closes above the moving average and sell orders when it closes below. Risk management is handled through several configurable parameters, including fixed tak

MT5 Trading robot Trend followingIndicator crossoverHedging
Updated 2 years ago None stated GitHub repository of Moving Average Hedging EA

MA Crossover EA MT4

by immy2good
1 stars

This MetaTrader 4 expert advisor implements a moving average crossover strategy for automated trading. It identifies entry points when price or technical indicators intersect and can exit positions when an opposite signal occurs. The EA provides trade management features, including traditional and virtual stop loss and

MT4 Trading robot Indicator crossover

Strategy Meta RSI

by EA31337
1 stars

Strategy Meta RSI is an Expert Advisor for MetaTrader 5 that utilizes a meta-strategy approach to execute trades. It selects and alternates between different internal trading strategies depending on the current daily Relative Strength Index value. Built on the EA31337 framework, it supports simultaneous operation acros

MT5 Trading robot Multi-strategyMean reversion
Updated 2 years ago None stated GitHub repository of Strategy Meta RSI

MA CrossFlow Trader

by Carloncho0528
1 stars

MA CrossFlow Trader is a trend-following expert advisor for MetaTrader 5 that executes trades based on the crossovers of multiple simple moving averages. The robot monitors several SMA periods, including the 10, 50, 100, 150, and 200, to identify trend shifts. It specifically enters buy or sell orders on the third cand

MT5 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of MA CrossFlow Trader
1 stars

This Expert Advisor for MetaTrader 5 implements a trading strategy based on price candles crossing a Moving Average indicator. Built using the EA31337 framework, it monitors price action to detect when a candle closes across the indicator line to generate signals. The robot supports concurrent multi-timeframe analysis

MT5 Trading robot Indicator crossover
Updated 2 years ago None stated GitHub repository of MA Cross Candle Strategy

Strategy Chaikin

by EA31337
1 stars

Strategy Chaikin is a MetaTrader 5 expert advisor that automates trades using the Chaikin Oscillator (CHO) indicator. Developed using the EA31337 framework, the robot monitors market momentum and volume accumulation to identify potential entry and exit points. It supports multi-timeframe operations, allowing users to a

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of Strategy Chaikin
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy by combining several technical indicators. It utilizes a 50-period Exponential Moving Average for trend direction, alongside the Relative Strength Index, MACD, and Average True Range for entry signals. The system includes a hardcoded risk management

MT5 Trading robot Trend followingIndicator crossover

Time Range Breakout EA

by Justin-yzp
1 stars

This Expert Advisor for MetaTrader 5 implements a breakout strategy based on price action within a user-defined time window. The robot identifies the high and low price levels established during a specific daily period and executes buy or sell orders when the price breaches these boundaries. It includes risk management

MT5 Trading robot Breakout
Updated 2 years ago None stated GitHub repository of Time Range Breakout EA

Strategy Meta News

by EA31337
1 stars

This MetaTrader 5 expert advisor acts as a news-based controller that executes various trading strategies according to economic news impact. Built on the EA31337 framework, the robot utilizes embedded historical news data ranging from 2018 to 2024 to determine market conditions. It supports operations across multiple t

MT5 News trading News
Updated 2 years ago None stated GitHub repository of Strategy Meta News

Algo Trading MQL Collection

by MRITUNJAYMADDHESHIYA
1 stars

This repository features a collection of MetaTrader 5 expert advisors implementing various technical strategies such as time-range breakouts, order blocks, and candle pattern recognition. The primary time-range EA identifies price extremes within a user-defined window to trigger entries on breakouts. It includes risk m

MT5 Collection BreakoutSMC / ICT / price actionMean reversion High risk
Updated 2 years ago None stated GitHub repository of Algo Trading MQL Collection

Khai Nui HFT

by pleump9
1 stars

Khai Nui HFT is a trend-based trading robot for MetaTrader 4 that enters positions using Moving Average analysis. Users can configure the expert advisor to follow the prevailing trend or execute counter-trend trades by adjusting the trend toggle. It manages risk through fixed stop loss points and a trailing stop mechan

MT4 Trading robot Trend followingMean reversion
Updated 2 years ago None stated GitHub repository of Khai Nui HFT

InfinityRSI Trader

by phuc-2512
1 stars

This MetaTrader 5 expert advisor automates trading decisions using the Relative Strength Index indicator. It enters long positions when the RSI drops below a set threshold and short positions when it exceeds a specified upper limit. To manage trades, the robot uses fixed stop loss and take profit levels in points, alon

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of InfinityRSI Trader
1 stars

This MetaTrader 5 expert advisor serves as a modular template designed for integrated risk management. It functions as a framework rather than a standalone trading robot, focusing primarily on capital protection parameters. The tool allows users to define the percentage of the account balance to risk per position and s

MT5 Framework & template

ICT Break Of Structure

by TradeAutomation
1 stars

This MetaTrader 5 expert advisor identifies market structure shifts by detecting swing highs and lows using historical and current price action. The tool monitors price movement to find points where current candles exceed neighboring bars, subsequently marking these swing levels on the chart. It focuses on identifying

MT5 Trading robot SMC / ICT / price action
Updated 2 years ago None stated GitHub repository of ICT Break Of Structure
1 stars

This MetaTrader 5 repository contains a diverse collection of expert advisors and technical indicators, with a primary focus on signal-based trading bots. The featured CCI Four Arrows Strategy uses the Commodity Channel Index to identify entry points based on specific level breaches. It includes risk management feature

MT5 Collection Indicator crossoverMean reversionGrid High risk

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