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.

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

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

C-Trade Manager

by H-tech-AFAQ-CEO
1 stars

C-Trade Manager for MetaTrader 5 is a comprehensive Expert Advisor that provides a graphical user interface for manual trade execution and automated strategy management. It allows users to open and close orders via on-screen buttons or keyboard hotkeys. The EA includes an automation module that executes trades based on

MT5 Trading robot GridNews High risk
Updated 2 years ago None stated GitHub repository of C-Trade Manager

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

News Timer MT5

by Far-1d
1 stars

This utility for MetaTrader 5 fetches economic news data from the Forex Factory API to display an onscreen timer and information box. It downloads news in XML format using external Windows libraries, stores it locally, and updates the data periodically. Users can filter news events by impact level, specific currencies,

MT5 News trading News
Updated 2 years ago MIT GitHub repository of News Timer MT5

Bot XM MT5 Collection

by TungLT266
1 stars

This collection of MetaTrader 5 expert advisors provides several distinct trading strategies, including trend following, grid systems, and dollar-cost averaging (DCA). The repository contains multiple specialized files for various instruments like EURUSD and BTCUSD. Traders can configure grid spacing, order volume, and

MT5 Collection GridTrend followingMartingale High risk
Updated 2 years ago None stated GitHub repository of Bot XM MT5 Collection

Forever Free EA

by SeanCollymoreJr
1 stars

The Forever Free EA is a MetaTrader 5 trading robot designed for forex and indices. It employs a grid strategy that can be configured with martingale or fixed lot increments. The system utilizes dual magic number engines to manage separate trade streams and includes a trend mode to align entries with market direction.

MT5 Trading robot GridMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of Forever Free EA

Entegra MQL Templates

by EntegraMACHINE
1 stars

This collection of MetaTrader 5 tools focuses on automated market structure analysis and Smart Money Concepts. It provides modular templates for detecting swing points, identifying Breaks of Structure (BOS), and mapping price action across multiple timeframes. The codebase includes logic for Fair Value Gaps and Premium

MT5 Framework & template SMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Entegra MQL Templates

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 collection for MetaTrader 5 features multiple expert advisors, including strategies based on pinbars, stochastic oscillators, and non-repainting reversals. The primary pinbar robot utilizes a triple moving average filter—slow, medium, and fast—to establish trend direction before execution. It incorporates essentia

MT5 Collection Trend followingIndicator crossover
1 stars

The Nova Ultimate Trade Panel is a comprehensive manual trading and management utility for MetaTrader 5. It provides a movable, dynamic interface for executing market and pending orders with precise control over lot sizing and risk levels. Users can adjust stop loss and take profit targets directly on the chart using d

MT5 Utility Trend followingHedging
1 stars

This repository provides a collection of MetaTrader 5 expert advisors designed for various technical strategies. The scripts utilize multiple moving averages ranging from 7 to 200 periods and the Money Flow Index to identify trend and momentum market conditions. The collection includes specific modules for mean-reversi

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 2 years ago None stated GitHub repository of Robos MQL5 Collection

Trend EA

by hiepit127
1 stars

A trend-following trading robot for MetaTrader 5 that utilizes technical indicators and recovery lot scaling. It generates entry signals using a combination of the SuperTrend indicator, Exponential Moving Averages (EMA), and ADX filters. The expert advisor features a martingale-style lot multiplier that increases posit

MT5 Trading robot Trend followingMartingaleIndicator crossover High risk
Updated 2 years ago None stated GitHub repository of Trend EA
1 stars

This repository provides a version-controlled environment for MetaTrader 5, specifically designed as a base for Docker images and CI/CD pipelines. It archives weekly MetaQuotes releases to ensure development consistency. The collection includes a variety of automated robots that trade based on candlestick patterns, suc

MT5 Collection Multi-strategyGrid High risk
Updated 2 years ago Custom licence GitHub repository of MT5 CI CD Docker Collection

Fruge MT5 Trade Copier

by iziabakou
1 stars

Fruge MT5 Trade Copier is a utility designed to synchronize trading activity across multiple MetaTrader 5 accounts. The expert advisor features a dual-mode system allowing it to act as either a master trade provider or a slave trade follower. It utilizes the platform's common file folder to share position data, ensurin

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of Fruge MT5 Trade Copier

Learning MQL5 Collection

by VeerachaiPTee
1 stars

This repository contains a collection of MetaTrader 5 expert advisors and scripts designed for learning and development. The included tools range from data visualization utilities like tick density heatmaps to trading strategies involving Bollinger Bands, Envelopes, and grid systems. It features management scripts for

MT5 Collection GridIndicator crossoverTrend following High risk
Updated 2 years ago None stated GitHub repository of Learning MQL5 Collection

Trade Signal

by DevD1st
1 stars

Trade Signal is a MetaTrader 5 utility that bridges platform activity with Telegram and Discord. It serves as a notification tool that monitors the account for new market entries and pending orders, sending real-time alerts containing trade pips and lot sizes. The EA tracks both manual and automated trade closures, rep

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of Trade Signal

Copy Trading System

by ahmedevv
1 stars

This expert advisor functions as a copy trading utility for the MetaTrader 5 platform. It utilizes network sockets to facilitate communication and synchronization of trade data between different terminal instances or external applications. The EA systematically tracks order details including tickets, symbols, volumes,

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of Copy Trading System

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

Gradiente Linear MT5

by HidaiSilva
1 stars

This MetaTrader 5 expert advisor implements a linear gradient trading strategy, which typically involves layering orders or partial exits at fixed point intervals. It utilizes Bollinger Bands as a primary technical indicator for entry signals and supports buy-only, sell-only, or bidirectional trading modes. The robot i

MT5 Trading robot GridMean reversionHedging High risk
Updated 2 years ago None stated GitHub repository of Gradiente Linear MT5

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

Tip Top AI

by sournk
1 stars

Tip Top AI is a price action robot for MetaTrader 4 and MetaTrader 5 that uses a proprietary candle tail length algorithm to identify market entries. The strategy calculates the average size of historical bars and monitors current candles for specific wick-to-body ratios. It enters trades when wicks exceed the body siz

MT4MT5 Trading robot SMC / ICT / price actionGridHedging High risk
Updated 2 years ago None stated GitHub repository of Tip Top AI

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

Multipair EA Template

by drdz9876
1 stars

This MetaTrader 5 expert advisor serves as a template for multi-pair trading systems using a dual Moving Average crossover strategy. It is designed to execute trades across multiple symbols from a single chart based on a user-defined list of currency pairs. The EA includes risk management tools such as a trailing stop,

MT5 Framework & template Indicator crossoverMartingaleMulti-strategy High risk
Updated 2 years ago GPL-3.0 GitHub repository of Multipair EA Template

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

Support And Resistance Drawing Tool is a MetaTrader 5 utility that visualizes price structure by identifying significant highs and lows across multiple lookback periods. The tool scans ranges of 20, 50, and 100 bars to determine key turning points, which are then plotted as horizontal lines on the chart. Resistance lev

MT5 Utility
1 stars

This collection for MetaTrader 5 contains multiple expert advisors centered on moving average strategies. It includes a Golden Cross system that identifies bullish and bearish momentum through the crossover of fast and slow exponential moving averages. Additionally, the repository features a trend-based signal system t

MT5 Collection Indicator crossoverTrend following

Candle Stick Data Identifier

by HloniTheCoder
1 stars

This MetaTrader 5 tool identifies specific candlestick patterns including Marubozu, Hammer, Inverted Hammer, Hanging Man, and Shooting Star. It functions as an analytical utility rather than an automated trading robot, drawing vertical lines on the chart when specific patterns are detected based on the relative size of

MT5 Utility SMC / ICT / price action
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

AriZone Grid Bot

by AriZoneVibes
1 stars

AriZone Grid Bot is an expert advisor for MetaTrader 5 designed to execute grid-based trading strategies. The robot operates within a user-defined price range, allowing traders to set specific upper and lower boundaries. Users can configure the number of grid levels and choose between arithmetic or geometric spacing mo

MT5 Trading robot Grid High risk

EA JRB

by Mezzo42
1 stars

This MetaTrader 5 expert advisor implements a momentum-based trading strategy using the Relative Strength Index (RSI) and Exponential Moving Averages (EMA). It monitors RSI levels against configurable upper and lower thresholds to trigger market entries and exits. The robot manages risk through fixed stop loss and take

MT5 Trading robot Trend following
Updated 3 years ago None stated GitHub repository of EA JRB

Simple MA Cross Text Output

by HloniTheCoder
1 stars

This Expert Advisor for MetaTrader 5 implements a basic moving average crossover strategy. It utilizes two Simple Moving Averages, specifically a fast 10-period and a slow 100-period line, to identify potential trend changes. The code calculates values for the current and previous candles to determine when the fast lin

MT5 Trading robot Indicator crossover
Updated 3 years ago None stated GitHub repository of Simple MA Cross Text Output
1 stars

This MetaTrader 5 utility manages open positions by applying a trailing stop based on the Parabolic SAR indicator. The Expert Advisor does not open new trades; it monitors an active position and incrementally adjusts the stop loss price according to the indicator's step and maximum parameters. It features a session tim

MT5 Trade manager

Tool Easy For You

by mixserrm999
1 stars

Tool Easy For You is a manual trading utility for MetaTrader 5 designed to assist with order execution and position management through a graphical interface. The tool provides input fields for fixed lot sizes, stop losses, and take profit levels for buy and sell orders independently. It includes automated risk manageme

MT5 Utility
Updated 3 years ago None stated GitHub repository of Tool Easy For You

PSAR Trailing Stop

by levimatther
1 stars

This management tool for MetaTrader 4 and MetaTrader 5 automates the adjustment of stop-loss levels based on the Parabolic SAR indicator. It does not open new positions but instead monitors existing trades to trail their stop-loss according to current indicator values. Users can filter which trades the utility manages

MT4MT5 Trade manager
Updated 3 years ago Apache-2.0 GitHub repository of PSAR Trailing Stop

Fractal Trailing Stop

by timmajani
1 stars

Fractal Trailing Stop is a trade management expert advisor for MetaTrader 5 designed to automate stop loss adjustments based on the Bill Williams Fractals indicator. The EA monitors active positions on the current symbol and dynamically updates the stop loss level to the most recent fractal point. It incorporates custo

MT5 Trade manager
Updated 3 years ago None stated GitHub repository of Fractal Trailing Stop

MQL5 Strategy Collection

by David-the-trader
1 stars

This repository contains a collection of MetaTrader 5 expert advisors focusing on technical analysis and candlestick price action. The scripts explore various entry methods, including Bollinger Bands with RSI for counter-trend setups and 'Big Shadow' engulfing patterns. The logic calculates specific candle metrics, suc

MT5 Collection Mean reversionTrend followingMulti-strategy
Updated 3 years ago None stated GitHub repository of MQL5 Strategy Collection

Walking Up The Bands

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

Walking Up The Bands is a trend-following expert advisor for MetaTrader 5 based on Bollinger Bands volatility breakouts. The robot enters long positions when the price moves above the upper band, attempting to capture the duration of an uptrend. Positions are closed when the price exits via the lower band. It includes

MT5 Trading robot Trend followingBreakout

Finam Strategy

by PoGen-dev
1 stars

This MetaTrader 5 expert advisor utilizes a combination of Envelopes, the Gator Oscillator, and Standard Deviation indicators to execute trades. It features comprehensive trade management including stop loss, take profit, and break-even functionality. The robot allows for position scaling through adding or reducing lot

MT5 Trading robot Indicator crossoverMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Finam Strategy

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