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

News Detector

by vestorfinance
1 stars

This MetaTrader 5 utility monitors upcoming economic events by reading news data from a local binary file. It functions as a notification tool that alerts the user via the terminal log before a scheduled event occurs. The software identifies market holidays by checking forecast and actual values and cycles through a ch

MT5 News trading
Updated 1 year ago None stated GitHub repository of News Detector

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
1 stars

JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to help traders adhere to strict account drawdown and timing rules. It monitors account equity to enforce maximum daily drawdown limits and per-trade loss caps in either currency or percentage terms. The tool includes features to restrict

MT4 Risk & protection

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
1 stars

This MetaTrader 5 Expert Advisor establishes a TCP socket connection to an external Python server to facilitate real-time data exchange. It acts as a client that transmits symbol closing prices and handles incoming responses from the server. The tool features robust reconnection logic to maintain the link during server

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of MQL5 Python Socket Bridge

This MetaTrader 5 repository provides a collection of expert advisors and visual dashboard tools centered on multi-timeframe technical analysis. It features strategies utilizing the Traders Dynamic Index, Exponential Moving Averages, and Commodity Channel Index indicators. The included tools range from trend-following

MT5 Collection Trend followingBreakoutIndicator crossover

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

Shannon Entropy Calculator

by Andre-Luis-Lopes-da-Silva
1 stars

This MetaTrader 5 expert advisor calculates Shannon entropy to measure market randomness and informational uncertainty. It processes log-returns from a user-defined period of historical candles and categorizes them into histogram bins to quantify the complexity of price movement. The tool is designed to assist traders

MT5 Utility
Updated 1 year ago None stated GitHub repository of Shannon Entropy Calculator

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

NT To MT5 Hedging Receiver

by Galaxybigbird
1 stars

This MetaTrader 5 expert advisor acts as a trade bridge, receiving order data from an external Go-based bridge server. It polls a specified URL at regular intervals to synchronize trades and manage an aggregated net futures position, likely originating from NinjaTrader. The EA translates external signal data into order

MT5 Copier & bridge Hedging
Updated 1 year ago None stated GitHub repository of NT To MT5 Hedging Receiver

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
1 stars

This repository is a collection of several expert advisors for MetaTrader 4, featuring various technical indicator-based strategies. The primary logic involves momentum and volatility filters using Relative Strength Index (RSI), Bollinger Bands, and Average Directional Index (ADX) to identify trend strength. It include

MT4 Collection Trend followingMean reversion

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

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
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

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

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

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
1 stars

This repository provides a collection of MetaTrader 5 expert advisors focused on Smart Money Concepts and Inner Circle Trader methodologies. The included bots automate various trading models such as the Next Day Model, New York session range trading, and Fair Value Gap entries. Each tool utilizes multi-timeframe analys

MT5 Collection SMC / ICT / price actionScalpingBreakout

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

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