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

TradeMe

by Deric254
1 stars

TradeMe is an automated MetaTrader 5 expert advisor implementing a Turtle Breakout trend-following strategy. It identifies entry points using Donchian Channel highs and lows over a user-defined lookback period. The system manages positions using an ATR-based trailing stop and exits trades when the price reaches a secon

MT5 Trading robot Trend followingBreakout
Updated 1 year ago None stated GitHub repository of TradeMe

Gold Momentum Breakout

by hadrygassama
1 stars

Gold Momentum Breakout is an automated trading system for MetaTrader 5 designed to capture price movements after periods of consolidation. The expert advisor employs a trend-following approach using two Exponential Moving Averages on a higher timeframe, paired with Relative Strength Index filters for momentum. It ident

MT5 Trading robot BreakoutTrend following
Updated 1 year ago None stated GitHub repository of Gold Momentum Breakout

This MetaTrader 5 expert advisor is a momentum-based scalping robot designed for trading on the M1 timeframe, with a primary focus on XAUUSD. It enters trades based on Keltner Channel breakouts and filters entries using a dual Moving Average trend-following system. The EA features comprehensive risk controls, including

MT5 Trading robot ScalpingTrend followingBreakout

HiLo Capital EA

by NeoSkosana
1 stars

The HiLo Capital EA is an automated trading robot for MetaTrader 5 that uses a trend-following strategy. It combines two exponential moving averages, specifically the 50 and 200 periods, with the Traders Dynamic Index (TDI) custom indicator to identify market entries. Risk management is handled through an automated lot

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of HiLo Capital EA

FVG Trading Strategy MT5

by Kukhta-Stepan
1 stars

This expert advisor for MetaTrader 5 implements a trading strategy based on Fair Value Gaps, often associated with Smart Money Concepts. It identifies price imbalances using a custom external indicator and executes market orders when the pattern is detected. Risk management features include a fixed lot sizing model, a

MT5 Trading robot SMC / ICT / price action
Updated 1 year ago None stated GitHub repository of FVG Trading Strategy MT5

Scalping Master

by chanalvarez
1 stars

Scalping Master is an automated trading robot for MetaTrader 4 designed for short-term execution. It utilizes a technical strategy based on Exponential Moving Average crossovers combined with Relative Strength Index levels. The expert advisor features a dedicated quick scalping mode with tight targets and automated tra

MT4 Trading robot ScalpingIndicator crossover
Updated 1 year ago None stated GitHub repository of Scalping Master

Hedge EA

by sahebkaran1
1 stars

This MetaTrader 4 expert advisor executes and manages trades using a specialized hedging strategy. It monitors account equity and floating losses, automatically opening hedge positions when a user-defined loss percentage is reached. The system includes robust risk management features such as daily and weekly loss limit

MT4 Trading robot Hedging
Updated 1 year ago MIT GitHub repository of Hedge EA

Adaptive Forex AI Trader

by chanalvarez
1 stars

Adaptive Forex AI Trader is a MetaTrader 4 expert advisor designed for automated trading across various currency pairs and gold. It incorporates machine learning, candlestick pattern recognition, and multi-timeframe analysis to generate trade signals. Risk is controlled through stop loss and take profit levels, a trail

MT4 Trading robot AI / machine learningMulti-strategyMartingale High risk
Updated 1 year ago None stated GitHub repository of Adaptive Forex AI Trader

Swing Trading EA

by JonusNattapong
1 stars

This expert advisor for MetaTrader 5 implements a medium-term swing trading strategy using multiple technical indicators. It identifies entries through two primary methods: trend reversals and breakouts from consolidation zones. The reversal logic utilizes Fibonacci retracement levels combined with Stochastic and MACD

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago None stated GitHub repository of Swing Trading EA

Position Trading EA

by JonusNattapong
1 stars

A trend-following MetaTrader 5 expert advisor designed for long-term position trading on daily and weekly timeframes. It utilizes the 200-period Exponential Moving Average and the Ichimoku Cloud to confirm multi-timeframe trends and momentum. The EA calculates position sizes according to account risk percentage and use

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Position Trading EA

Ashutosh Khemka EA

by Ashu27124
1 stars

Ashutosh Khemka EA is a trend-following robot for MetaTrader 5 that uses an exponential moving average to generate trading signals. It operates within a defined daily session, featuring configurable start and end times for new entries, as well as an automatic close time for open positions. Risk controls include fixed t

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Ashutosh Khemka EA

Nyrok RSI MT5

by Nyrok
1 stars

The Nyrok RSI EA is an automated trading robot for MetaTrader 5 designed for mean-reversion on the EURGBP currency pair. It utilizes the Relative Strength Index (RSI) to identify overbought and oversold conditions, entering sell positions when the RSI exceeds a specified upper threshold and buy positions when it falls

MT5 Trading robot Mean reversion
Updated 1 year ago None stated GitHub repository of Nyrok RSI MT5
1 stars

This expert advisor integrates MetaTrader 4 and 5 with external deep learning models using socket communication. It captures chart screenshots and price data to send to an external server, where models like Random Forest or Generative Adversarial Imitation Learning process the visual information. The EA then receives a

MT4MT5 Trading robot AI / machine learning

Barekat Expert

by kazem94
1 stars

Barekat Expert is a MetaTrader 4 robot that executes trades based on a combination of technical indicators. It utilizes two ZigZag indicators for price action analysis, a Simple Moving Average for trend filtering, and the Relative Strength Index and Stochastic oscillators for momentum confirmation. The system manages e

MT4 Trading robot Trend followingIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of Barekat Expert

Robo Trader Fibonacci

by ezequielpestana
1 stars

This MetaTrader 5 expert advisor utilizes the price range of the previous weekly candle to define four trading channels, inspired by Fibonacci principles. It monitors 15-minute price action for breakouts across the 50% midpoint of these channels. The robot automates position entry with stop loss and take profit levels

MT5 Trading robot Breakout

HipoAlgoritm

by Khajavi8056
1 stars

This MetaTrader 5 expert advisor provides an automated trading system designed for Forex, Bitcoin, Gold, and various indices. It employs technical analysis filters including RSI levels and Moving Average price distance to identify entries. Risk management features include flexible lot sizing based on account equity or

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago None stated GitHub repository of HipoAlgoritm

EA Max Profit

by diditgravatar
1 stars

This MetaTrader 5 expert advisor is designed specifically for trading XAUUSD. It utilizes a combination of the Average Directional Index (ADX) for trend strength, Relative Strength Index (RSI) for momentum, and two Simple Moving Averages for trend direction. The system uses multi-timeframe analysis, specifically checki

MT5 Trading robot Indicator crossoverTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of EA Max Profit

Inside Day MT5

by Da-Xiong-Chen
1 stars

This MetaTrader 5 expert advisor implements a price action strategy based on the Inside Day candle pattern. Developed primarily for the EUR/USD pair on the daily timeframe, the robot identifies instances where a trading day price range is entirely contained within the previous day range. It executes trades using fixed

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of Inside Day MT5

Trend Observation EA

by longnguyencbct
1 stars

Trend Observation EA is an automated trading robot designed for the MetaTrader 5 platform. It identifies market trends using the Aroon indicator to generate entry and exit signals. The system executes trades based on trend direction and incorporates standard risk controls, including user-defined fixed lot sizes, stop l

MT5 Trading robot Trend following
Updated 1 year ago None stated GitHub repository of Trend Observation EA

BB RSI Reversal

by umermhr
1 stars

This MetaTrader 5 expert advisor identifies market reversal points using a combination of Bollinger Bands and the Relative Strength Index (RSI). It is designed to trade multiple currency pairs simultaneously, including major pairs like EURUSD and GBPUSD. The system features optional trend filters using dual Moving Aver

MT5 Trading robot Mean reversion
Updated 1 year ago None stated GitHub repository of BB RSI Reversal

Aroon MA Cross

by IanKuzmik
1 stars

This MetaTrader 4 expert advisor is an educational tool designed as part of a YouTube tutorial series. It executes a trend-following strategy by combining moving average crossovers with the Aroon indicator for trend confirmation. The EA opens positions when price conditions align across both indicators and manages exit

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Aroon MA Cross
1 stars

This MetaTrader 4 expert advisor executes trades based on candle momentum and specific trigger factors. It manages positions using virtual trailing stop-loss and take-profit levels, alongside a global profit target that halts trading once a predefined financial goal is met. The system includes logic for multi-symbol tr

MT4 Trading robot Trend followingHedgingMulti-strategy
1 stars

This MetaTrader 5 robot executes trades based on Inner Circle Trader methodologies. It identifies institutional Order Blocks and Fair Value Gaps while optionally screening for liquidity pool sweeps or Market Structure Shifts. The algorithm enters positions when price imbalances are detected within specific swing period

MT5 Trading robot SMC / ICT / price action
Updated 1 year ago None stated GitHub repository of Ict Order Block and FVG

Reverse Edge

by tHeStRyNg
1 stars

Reverse Edge is a MetaTrader 5 expert advisor that utilizes a combination of momentum and trend indicators, specifically MACD, RSI, and Stochastic oscillators, to identify trade entries. The robot focuses on structured risk management by calculating lot sizes based on a fixed risk percentage per trade and utilizing a d

MT5 Trading robot Indicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of Reverse Edge

Phantom Edge

by tHeStRyNg
1 stars

Phantom Edge is a MetaTrader 5 expert advisor primarily designed for trading BTCUSD. It identifies entries using a combination of technical indicators, including RSI, MACD, and SMA, while validating setups through multi-timeframe analysis of M15 liquidity sweeps and M30 trend breaks. The EA features comprehensive trade

MT5 Trading robot Trend followingBreakoutHedging
Updated 1 year ago None stated GitHub repository of Phantom Edge

Xauusd MA Cross

by diditgravatar
1 stars

This MetaTrader 5 expert advisor implements a moving average crossover strategy specifically designed for XAUUSD on the M15 timeframe. It utilizes a short-period SMA and a long-period SMA to identify potential entries. A unique filter requires the distance between the two moving averages to exceed a defined threshold b

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

Church Builder

by HERO-FIIFI
1 stars

Church Builder is an automated trading robot for MetaTrader 5 that executes trades based on Smart Money Concepts, specifically targeting Fair Value Gaps. It identifies price gaps within specific point ranges and waits for breakouts to enter positions, provided the market trend aligns with a Simple Moving Average. The e

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 1 year ago None stated GitHub repository of Church Builder

SnD Bomb 2

by HERO-FIIFI
1 stars

This MetaTrader 5 expert advisor automates trading based on supply and demand zones. It identifies potential support and resistance areas using a configurable lookback period and a minimum number of price touches to confirm zone strength. The robot enters long positions in demand zones and short positions in supply zon

MT5 Trading robot SMC / ICT / price action
Updated 1 year ago None stated GitHub repository of SnD Bomb 2

Xauusd Ma Crossover

by diditgravatar
1 stars

This expert advisor for MetaTrader 4 and 5 implements a moving average crossover strategy specifically designed for Gold on the 15-minute timeframe. It initiates trades when a fast simple moving average crosses a slow simple moving average, provided the price has moved a specified distance beyond the crossover point. T

MT4MT5 Trading robot Indicator crossover
Updated 1 year ago None stated GitHub repository of Xauusd Ma Crossover

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

GenX Silver

by HERO-FIIFI
1 stars

GenX Silver is an automated trading robot for MetaTrader 4 that executes trades based on specific time-based liquidity windows. It targets the London open and two separate New York sessions, aligning with Silver Bullet strategy concepts. The expert advisor allows users to define trading volumes and utilizes a fixed ris

MT4 Trading robot SMC / ICT / price actionBreakout
Updated 1 year ago None stated GitHub repository of GenX Silver
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

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

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

Raja Cula Emas EA

by rajaculaemas
1 stars

This MetaTrader 4 expert advisor is designed for XAUUSD trading using a combination of technical indicators and price action. It enters trades based on several toggleable strategies, including Moving Average crossovers, MACD, Support/Resistance levels, and Bullish/Bearish Engulfing patterns. The EA manages risk through

MT4 Trading robot Indicator crossoverTrend followingMulti-strategy
Updated 1 year ago None stated GitHub repository of Raja Cula Emas 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

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

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

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

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