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

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

Strategy TMA SVEBB

by EA31337
1 stars

This MetaTrader 5 expert advisor implements a contrarian trading strategy using Triangular Moving Average (TMA) bands and Sylvain Vervoort's Bollinger Bands (SVEBB). Built on the EA31337 framework, it monitors multiple timeframes simultaneously to identify potential price reversals. The EA uses technical indicators to

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Strategy TMA SVEBB
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
1 stars

This MetaTrader 5 expert advisor implements a breakout scalping strategy by placing pending buy and sell stop orders relative to recent price extremes. It identifies entry levels by analyzing highs and lows over a user-defined number of bars. The robot includes built-in risk controls such as hard stop loss and take pro

MT5 Trading robot ScalpingBreakout
Updated 2 years ago None stated GitHub repository of Scalping Trading Bot Forex

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

InfinityRSI Trader

by phuc-2512
1 stars

InfinityRSI Trader is a MetaTrader 4 expert advisor that automates trading based on Relative Strength Index (RSI) thresholds. It enters long positions when the RSI falls below a configurable level and enters short positions when the RSI rises above a specific threshold. The robot manages active trades using hard stop l

MT4 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of InfinityRSI Trader

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

MACD EA

by mertbilginnn
1 stars

This MetaTrader 5 expert advisor implements a basic trading strategy based on the Moving Average Convergence Divergence (MACD) indicator. It monitors for crossovers between the MACD main line and the signal line on a per-bar basis. When a crossover is detected, the robot executes trades with a fixed lot size and applie

MT5 Trading robot Indicator crossover
Updated 2 years ago None stated GitHub repository of MACD EA

RSI Expert Advisor

by mertbilginnn
1 stars

A MetaTrader 5 expert advisor that automates trading based on the Relative Strength Index (RSI) indicator. The robot monitors RSI values to execute buy or sell orders when specific thresholds are met. It manages single positions using a fixed lot size and automatically applies hardcoded stop loss and take profit levels

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of RSI Expert Advisor

Bollinger Bands EA

by mertbilginnn
1 stars

This MetaTrader 5 expert advisor executes trades based on price interactions with Bollinger Bands. It identifies potential mean-reversion opportunities by looking for candles that close outside the upper or lower bands. The robot includes a trend-following filter using a Simple Moving Average to align entries with broa

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Bollinger Bands EA
1 stars

This MetaTrader 5 expert advisor is a development project that utilizes the MACD indicator and an Exponential Moving Average to execute trend-based trades. It enters positions when the price aligns with the EMA trend and a MACD crossover signal occurs. The EA automates risk management by calculating lot sizes based on

MT5 Trading robot Trend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of MACD Trend Practice Expert

Fractals Strategy EA

by arian01Xx
1 stars

This MetaTrader 5 expert advisor executes trades based on the interaction between Bill Williams Fractals and an Exponential Moving Average filter. It monitors the market for fractal signals, entering buy orders when a lower fractal forms while price remains above the 50-period EMA. Conversely, it enters sell orders whe

MT5 Trading robot Trend following
Updated 2 years ago None stated GitHub repository of Fractals Strategy EA

Smart Orders Info MACD

by arian01Xx
1 stars

This MetaTrader 5 expert advisor is a developmental script designed to experiment with order information retrieval and basic trade execution. It calculates MACD indicator values for the M15 timeframe, though the current code version executes buy and sell orders simultaneously on every tick without conditional logic. Ri

MT5 Trading robot Indicator crossover
Updated 2 years ago None stated GitHub repository of Smart Orders Info MACD
1 stars

This MetaTrader 5 expert advisor implements a technical trading strategy based on the Bill Williams Alligator indicator and Bill Williams Fractals. It also incorporates a 50-period Exponential Moving Average for additional trend filtering. The robot enters trades based on price action relative to these indicators, spec

MT5 Trading robot Trend followingBreakout
Updated 2 years ago None stated GitHub repository of Alligator and Fractals EA

Training One EA

by arian01Xx
1 stars

This expert advisor for MetaTrader 5 executes trades based on price action relative to Bollinger Bands and the Relative Strength Index (RSI). It identifies potential entries when price interacts with volatility bands, filtered by indicator thresholds. The robot manages risk using fixed lot sizes and applies protective

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Training One EA

Quants EA

by Khethu575
1 stars

Quants EA is an automated trading tool for MetaTrader 5 that utilizes the Bill Williams Market Facilitation Index (BWMFI) to analyze market dynamics. It monitors price highs and candle ranges to identify potential entries when MFI values meet specific thresholds. The expert advisor incorporates multi-stage risk managem

MT5 Trading robot Mean reversionScalping
Updated 2 years ago None stated GitHub repository of Quants EA

GBPJPY Trader

by AidanB21
1 stars

This automated expert advisor for MetaTrader 5 is specifically designed for the GBPJPY currency pair. It utilizes a breakout strategy based on psychological key price levels, which are adjustable in the settings. The bot filters entries using two Simple Moving Averages and the Average Directional Index to confirm trend

MT5 Trading robot BreakoutTrend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of GBPJPY Trader
1 stars

This MetaTrader 4 expert advisor focuses on identifying and trading trend reversals using price action patterns, specifically pin bars. It operates as an automated robot that monitors market conditions to execute entries based on reversal signals. The EA features an extensive graphical user interface that displays real

MT4 Trading robot Mean reversionSMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Reverse Trend Pinbar Trader

Santos HFT

by the-SantosLab
1 stars

Santos HFT is an automated trading robot for MetaTrader 4 designed for high-frequency execution based on bid-ratio imbalances. The system analyzes price dynamics across multiple timeframes, specifically looking for percentage-based triggers on M1 through H4 intervals to identify entry points. It includes support for a

MT4 Trading robot Scalping
Updated 2 years ago None stated GitHub repository of Santos HFT

WI Expert Advisor

by DevIzee
1 stars

This MetaTrader 5 expert advisor automates trading across multiple markets, with specific logic for Boom and Crash synthetic indices and standard currency pairs. For synthetic indices, it generates alerts and entries based on RSI and Stochastic levels on the M1 timeframe. For other symbols, it utilizes a crossover stra

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of WI Expert Advisor

Rci Main Investment Tool

by HaruyoshiOno
1 stars

This expert advisor for MetaTrader 4 executes trades based on the Rank Correlation Index (RCI) indicator. It utilizes three distinct calculation periods—short, medium, and long—to identify market entries. The robot manages risk through configurable limit and stop loss offset parameters, allowing for specific exit point

MT4 Trading robot Mean reversionTrend following
Updated 2 years ago None stated GitHub repository of Rci Main Investment Tool
1 stars

Candle Moving Average Day Trade is a MetaTrader 5 expert advisor designed for automated intraday trading. The strategy uses an Exponential Moving Average (EMA) to determine market direction, triggering entries based on a specific number of candlesticks closing above or below the average. It features a tiered position s

MT5 Trading robot Indicator crossoverTrend following

24fx

by DevelopMan
1 stars

The 24fx expert advisor for MetaTrader 4 automates trading based on external data updates and a specific hourly schedule. It manages trades through a state-based system, handling pending limit orders, market positions, and paused states. Risk management features include a choice between fixed lot sizes or percentage-ba

MT4 Trading robot
Updated 2 years ago None stated GitHub repository of 24fx

MA Twister

by therealharrypotter
1 stars

MA Twister is a trend-following expert advisor for MetaTrader 5 that automates trade execution based on a triple moving average crossover strategy. It monitors three distinct moving average periods to identify bullish or bearish momentum. The bot includes specialized risk controls for prop firm challenges, such as dail

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

This MetaTrader 5 expert advisor implements an automated reversal strategy centered on the Doji candlestick pattern. It utilizes a 200-period Exponential Moving Average to filter trend direction and the Relative Strength Index to identify overbought or oversold conditions for entry confirmation. The EA manages risk thr

MT5 Trading robot Mean reversionTrend following
Updated 2 years ago None stated GitHub repository of Doji Reversal Strategy
1 stars

This MetaTrader 4 expert advisor automates a trend reversal strategy based on price action patterns and technical indicator filters. It identifies potential entry points using ZigZag, MBFX, and SMA indicators, specifically targeting reversals or pinbars at key support and resistance levels. The software includes a mult

MT4 Trading robot Trend followingMean reversionSMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Simple Trend Reversal EA

Operacional TT

by davifelipems
1 stars

Operacional TT is an automated trading robot for MetaTrader 5 designed to implement a strategy shared by the Trader na Tela community. The expert advisor handles the complete trade lifecycle, including entry execution and position management. It operates exclusively within a defined intraday window, using specific star

MT5 Trading robot
Updated 2 years ago None stated GitHub repository of Operacional TT

Simple MA Deviation

by hsergiu
1 stars

This expert advisor for MetaTrader 4 trades based on the distance between the current price and an Exponential Moving Average. It monitors the market to identify when price has stayed on one side of the moving average for a specific number of consecutive candles. A trade is executed when the deviation in points reaches

MT4 Trading robot Mean reversion

Heikin Ashi Expert

by ADBR1998
1 stars

This MetaTrader 5 expert advisor implements an automated trading strategy based on Heikin Ashi candle patterns and the Relative Strength Index. It utilizes custom indicator handles to monitor trend direction and detect potential bullish divergence. The EA includes internal logic for percentage-based risk management, al

MT5 Trading robot Trend followingMean reversion
Updated 2 years ago None stated GitHub repository of Heikin Ashi Expert

HFT Arbitrage

by the-SantosLab
1 stars

This expert advisor implements a latency arbitrage strategy across MetaTrader 4 and 5 platforms. It functions by comparing price data from a high-speed feed against a slower broker execution environment to identify price lags. When a significant price gap is detected, the system attempts to execute trades to capture th

MT4MT5 Trading robot Arbitrage
Updated 2 years ago None stated GitHub repository of HFT Arbitrage
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on a dual Exponential Moving Average crossover. It is designed for higher timeframes such as H1, H4, and Daily charts. The robot manages trade entries via the crossover and exits positions using a combination of a fixed take profit and a trail

MT4 Trading robot Trend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of Trend Follow MA Crossover

Hunt Level EA

by a-forghani-y79
1 stars

Hunt Level EA is a MetaTrader 5 expert advisor that identifies trading opportunities based on price action candle formations and swing level analysis. The robot specifically searches for hunted swing points by evaluating candle shadow lengths relative to body size and checking historical price swings. It incorporates a

MT5 Trading robot SMC / ICT / price actionMean reversion
Updated 2 years ago None stated GitHub repository of Hunt Level EA

RBT MQ5

by AlanCoelhoGomes
1 stars

This expert advisor for MetaTrader 5 identifies entry points using a combination of the Relative Strength Index and a Moving Average. The strategy monitors an upper RSI level and a specific Moving Average period across user-defined timeframes to determine trend or reversal signals. For risk management, the robot utiliz

MT5 Trading robot Mean reversionIndicator crossover
Updated 2 years ago MIT GitHub repository of RBT MQ5
1 stars

MultiTerminal MultiTrader is a multi-currency trading dashboard for MetaTrader 4. It enables traders to monitor and execute orders across a wide range of symbols from a single chart interface. The EA incorporates a signal system based on high and low percentage levels and provides a graphical interface with multiple di

MT4 Trading robot Multi-strategy
Updated 2 years ago None stated GitHub repository of MultiTerminal MultiTrader

Trading Dong

by wesrambi
1 stars

Trading Dong is an automated MetaTrader 4 expert advisor developed as an academic capstone project. It analyzes market prices and executes trades based on a combination of three methodologies: Dominant Break, Supply and Demand zones, and Support and Resistance levels. The system includes visual indicators for drawing a

MT4 Trading robot SMC / ICT / price actionBreakout
Updated 2 years ago None stated GitHub repository of Trading Dong

Robo MM IFR

by I-Am-Not-Lucas
1 stars

This MetaTrader 5 expert advisor executes trades based on technical indicators, specifically moving average crossovers and the Relative Strength Index (RSI/IFR). It offers three operating modes: entries triggered by moving average crosses, entries based on RSI overbought or oversold levels, or a combined approach requi

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 years ago MIT GitHub repository of Robo MM IFR

Trading Forex Bot

by LegionAtol
1 stars

This MetaTrader 4 expert advisor executes trades based on a price-action strategy involving dynamic horizontal bands. The bot identifies entries by tracking price interactions with median levels and subsequent breakouts of upper or lower band boundaries, filtered by RSI indicator readings. It features automated risk ma

MT4 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Trading Forex Bot

Rsi BB Strategy

by jacopo93
1 stars

This expert advisor for MetaTrader 4 executes trades based on the confluence of Bollinger Bands and the Relative Strength Index (RSI). It analyzes price volatility and momentum to identify entries, allowing users to configure indicator periods and specific RSI thresholds. The EA features session management to restrict

MT4 Trading robot Mean reversion
Updated 3 years ago None stated GitHub repository of Rsi BB Strategy
1 stars

This MetaTrader 4 expert advisor implements a momentum-based trading strategy combined with reinforcement learning components. The robot enters buy positions when the current price exceeds the previous close and sell positions when it falls below, while simultaneously closing any opposing orders. It features a visual o

MT4 Trading robot Trend followingAI / machine learning
Updated 3 years ago None stated GitHub repository of Vadbash MT4 Trading Bot

Gold Orb

by KingTiger0930
1 stars

Gold Orb is an automated trading robot for MetaTrader 5, specifically designed for XAUUSD on the H1 timeframe. It utilizes an Open Range Breakout strategy, calculating a price range based on the first candle of the trading day and waiting for a specific number of consolidation candles before identifying breakout signal

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Gold Orb

Larry Williams Setup 9.1

by Mateus-Fleck
1 stars

This MetaTrader 5 expert advisor automates the Setup 9.1 trading strategy developed by Larry Williams. It utilizes an exponential moving average, typically the nine-period EMA, to enter trades based on trend direction and candle closures. The robot manages active positions through take-profit targets, break-even trigge

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Larry Williams Setup 9.1

Beasts EA

by TeejayTechBro
1 stars

This MetaTrader 4 expert advisor executes trades based on price momentum at the start of every new candle on timeframes below daily. It identifies potential entries by comparing the current candle's close to the previous close, automatically closing existing opposing positions to reverse direction. The bot utilizes a v

MT4 Trading robot Trend following
Updated 3 years ago None stated GitHub repository of Beasts EA

MA SAR Dual EA

by OoreFasawe
1 stars

This MetaTrader 5 expert advisor executes trades based on a technical strategy combining dual Moving Averages, Bollinger Bands, and the Parabolic SAR indicator. It identifies entries using indicator confluence and provides built-in risk controls including fixed stop loss, take profit, and a trailing stop mechanism. The

MT5 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MA SAR Dual EA
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using the Average Directional Index and an Exponential Moving Average. It monitors trend strength through ADX values and executes entries based on the relationship between price and the moving average combined with directional indicator signals. The

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of ADX and MA Expert Advisor

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