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,977 EAs

Telegram To MT5 Copier

by salmansoltaniyan
2 stars

Telegram To MT5 Copier is a utility for MetaTrader 5 that bridges communication between Telegram and the trading terminal. It retrieves messages from Telegram channels, groups, and private chats using a custom bot and displays the content directly on the active chart as comments. The tool provides real-time updates bas

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of Telegram To MT5 Copier
2 stars

This MetaTrader 5 expert advisor is a multi-timeframe scalping robot designed for the forex market. It utilizes a Currency Strength Meter (CSM) combined with a technical indicator suite including RSI, MACD, and ADX to identify entry signals across various periods from M1 to H4. The system incorporates comprehensive ris

MT5 Trading robot ScalpingTrend followingMulti-strategy
Updated 1 year ago None stated GitHub repository of Sophisticated Scalping EA

EA Trade Manager

by NexaNomad
2 stars

This MetaTrader 5 expert advisor provides a framework for trade execution and management, specifically targeting EURUSD and XAUUSD markets. It handles the full trade lifecycle, including automatic lot size calculation based on a defined risk percentage per trade. The EA utilizes fixed stop loss and take profit levels m

MT5 Trading robot
Updated 1 year ago None stated GitHub repository of EA Trade Manager

This repository features a collection of MetaTrader 5 expert advisors designed for automated trading across various market conditions. The included tools range from grid-based systems like Mecha-Godzilla to range-reversion and breakout strategies. The expert advisors offer modular risk management, including daily loss

MT5 Collection GridMean reversionBreakout High risk

EURUSD Surge EA

by Masa1984a
2 stars

This MetaTrader 4 expert advisor is designed specifically for the EURUSD pair, focusing on price surge detection and subsequent pullback entries. It identifies significant volatility using ATR and candlestick body ratios, entering trades during correction phases. The robot incorporates multi-timeframe analysis across M

MT4 Trading robot Trend followingBreakoutMean reversion
2 stars

This repository provides a diverse collection of MetaTrader 5 expert advisors focusing on technical indicators and Smart Money Concepts. The primary expert advisor, Behemoth Max, utilizes a combination of MACD, weighted moving averages, and exponential moving averages across multiple timeframes to identify entries. Ris

MT5 Collection SMC / ICT / price actionIndicator crossoverTrend following High risk

LSF X Engine

by dhruuvsharma
2 stars

LSF X Engine is a MetaTrader 5 expert advisor designed for momentum-based trading through mathematical price smoothing. It utilizes a Kalman filter to reduce market noise and calculates the Least Squares Fitting slope to identify the prevailing trend direction. The strategy triggers entries during high-velocity price b

MT5 Trading robot Trend followingBreakout
Updated 1 year ago CC0-1.0 GitHub repository of LSF X Engine

Ea Swing Xauusd

by diditgravatar
2 stars

This MetaTrader 5 expert advisor is designed for swing trading gold (XAUUSD). It employs a trend-following strategy using 50 and 200 Simple Moving Averages, ADX for trend strength, and RSI for momentum filters. The system requires multi-timeframe confirmation from H4 and D1 charts before entering trades. Risk managemen

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Ea Swing Xauusd

Boleta MT5

by vfranca
2 stars

Boleta MT5 is a manual trade execution tool for MetaTrader 5 that facilitates order routing via keyboard hotkeys. It allows users to open buy and sell market orders, cancel pending orders, and perform partial or full position closures using customizable shortcut keys. The utility includes basic risk management settings

MT5 Utility
Updated 1 year ago GPL-3.0 GitHub repository of Boleta MT5

NY 9AM Breakout Bot

by SouleEater99
2 stars

This MetaTrader 5 expert advisor automates a breakout strategy based on the high and low price levels of a 4-hour candle. It places limit orders at these boundaries, specifically timed for the New York 9 AM market open to capture volatility. The bot features dynamic adjustments for Daylight Saving Time and broker serve

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of NY 9AM Breakout Bot

LinearFX Trader

by Carloncho0528
2 stars

LinearFX Trader is an automated expert advisor for MetaTrader 5 that utilizes mathematical linear regression to identify trading opportunities. The robot analyzes historical price data over a configurable lookback period to determine market direction. It includes essential risk management features such as fixed lot siz

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

Buy Low Sell High EA

by yeainshukla
2 stars

This MetaTrader 4 expert advisor implements a cumulative profit strategy based on support and resistance levels. The system identifies potential trade entries by analyzing historical price extremes over a defined lookback period while excluding recent price action. It manages trade exits collectively, closing the entir

MT4 Trading robot Mean reversionHedging
Updated 1 year ago None stated GitHub repository of Buy Low Sell High EA

Backwater EA

by HERO-FIIFI
2 stars

Backwater EA is a MetaTrader 5 expert advisor that automates trading based on Smart Money Concepts, specifically focusing on Fair Value Gaps and Inversion Fair Value Gaps. The robot monitors price action and market structure to identify entries, filtering signals using a 50-period and 200-period Simple Moving Average c

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 1 year ago None stated GitHub repository of Backwater EA
2 stars

This MetaTrader 5 repository provides a collection of expert advisors and utility tools for Forex, Gold, and cryptocurrency markets. It includes automated strategies exported from EA Studio alongside a custom manual trading panel. The primary interface allows users to execute trades directly from the chart, manage lot

MT5 Collection ScalpingMartingaleMulti-strategy High risk

North East Way Collection

by Yogurt-Peng
2 stars

This repository contains a collection of MetaTrader expert advisors for MT4 and MT5, featuring various algorithmic trading strategies. The primary EA, North East Way, implements a multi-currency grid and martingale system focused on mean reversion for correlated pairs such as AUDNZD and NZDCAD. It manages risk through

MT4MT5 Collection Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way Collection

MAStoch

by Rodorush
2 stars

MAStoch is a MetaTrader 5 expert advisor that executes trades based on moving average crossovers, with an optional Stochastic oscillator filter for overbought and oversold conditions. It features a dual-stage exit strategy allowing for partial closes at different Fibonacci levels or fixed currency targets. Risk control

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

Price Action EA

by Far-1d
2 stars

This MetaTrader 5 expert advisor automates a multi-timeframe price action strategy, identifying price extremes on a higher timeframe to seek entries on a lower timeframe. It features time-of-day filters and robust risk management, including percentage-based position sizing, maximum daily trade counts, and daily profit

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 1 year ago None stated GitHub repository of Price Action EA

Mansa Mussa

by JohnBrandews
2 stars

This MetaTrader 4 expert advisor is an automated trading robot developed using the fxDreema visual building framework. It utilizes an adaptive Relative Strength Index for market analysis and trade execution. The system features risk management controls based on account percentages, including inputs for balance-based si

MT4 Trading robot Mean reversionMartingale High risk
Updated 1 year ago None stated GitHub repository of Mansa Mussa

Siluman Kambing

by rajaculaemas
2 stars

This MetaTrader 4 expert advisor implements a multi-strategy approach for trading various currency pairs and gold. It combines technical indicators including Moving Averages, RSI, Bollinger Bands, and ADX with price action concepts such as support, resistance, and engulfing patterns. The EA features risk management too

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Siluman Kambing
2 stars

This repository contains a collection of Expert Advisors and trading tools developed for the MetaTrader 4 platform. It features multiple standalone scripts implementing classic technical strategies, including Ichimoku Cloud trend following, Moving Average crossovers, and momentum-based entries using RSI or MACD. The Ex

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of AlgoTrading MQL Collection

Scalping Robot ML

by Red-misst
2 stars

This expert advisor for MetaTrader 5 performs scalping by identifying price levels based on a configurable lookback period. It incorporates a machine learning signal filter, requiring a separate Python environment to classify high-probability trade setups using historical market data. The robot manages entries within s

MT5 Trading robot ScalpingAI / machine learning
Updated 1 year ago None stated GitHub repository of Scalping Robot ML
2 stars

This expert advisor functions as a bridge connecting MetaTrader 4 to Python through a MySQL database and a custom C++ DLL. It facilitates the real-time extraction of market data, including tick prices, account equity, and order information, which are stored in database tables for advanced analysis. The tool also suppor

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of MT4 MySQL Python Bridge

Walking Up The Bands

by techteam92
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on Bollinger Bands. It initiates long positions when price breaks above the upper band during periods of high volatility, attempting to ride extended uptrends. The strategy closes or reverses positions when price breaks below the lower band. A

MT5 Trading robot Trend followingBreakout

Position Sizer

by techteam92
2 stars

The Position Sizer is a trade management tool for MetaTrader 4 and 5 that calculates the appropriate lot size based on account balance and risk tolerance. It allows traders to define risk as a percentage or fixed monetary amount, adjusting the position size dynamically as stop-loss and take-profit lines are moved on th

MT4MT5 Utility
Updated 1 year ago Apache-2.0 GitHub repository of Position Sizer

RSI WMA EA

by shahadatnovel
2 stars

This MetaTrader 5 expert advisor executes trades based on a combination of Relative Strength Index (RSI) and Weighted Moving Averages (WMA) across two timeframes. It compares indicator values against defined buy and sell thresholds on a primary timeframe, with an optional trend filter from a higher timeframe. Risk mana

MT5 Trading robot Mean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of RSI WMA EA

DC Fib2O MT5 Bot

by sournk
2 stars

This Expert Advisor for MetaTrader 5 automates a strategy based on Fibonacci retracements following a Break of Structure or Change of Character. It identifies market structure shifts and places two separate pending orders: a trend-following stop order and a reversal limit order targeting liquidity runs. The EA calculat

MT5 Trading robot SMC / ICT / price actionMean reversion
2 stars

AR Position Management BW is a trade manager for MetaTrader 5 that automates protective stop loss adjustments for existing positions. The expert advisor monitors open trades and applies trailing stops based on either Bill Williams Fractals or Moving Average calculations across selectable timeframes. It features a confi

MT5 Trade manager

TonTai Simple Copier

by piyawatton
2 stars

This MetaTrader 4 expert advisor functions as a trade copying utility designed to synchronize orders between different accounts. It utilizes a master-slave architecture where the master instance exports trade data to a common CSV file and the slave instance replicates those positions. The tool provides options for lot

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of TonTai Simple Copier

MACD Trend Trader

by diankartika
2 stars

This MetaTrader 4 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator. Developed as an academic project, the bot filters signals using an Exponential Moving Average to ensure trades follow the established trend. Risk management features include a fixed lot sizing model, a

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of MACD Trend Trader

Ario Averaging

by ariogunawan
2 stars

This MetaTrader 4 expert advisor implements an averaging strategy that manages trades by opening additional layers at predefined intervals when the market moves against the initial position. It features modes for both averaging up and down, with the ability to alternate between buy and sell orders. The EA includes risk

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of Ario Averaging
2 stars

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk

GBPUSD AI Grid EA

by AlexCrombieF
2 stars

The GBPUSD AI Grid EA is an automated trading robot for MetaTrader 4. It executes a grid-based strategy that layers orders during market movements. Initial entries are filtered using the Commodity Channel Index indicator. The bot manages positions through a martingale lot multiplier, increasing volume for subsequent gr

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of GBPUSD AI Grid EA
2 stars

This MetaTrader 5 expert advisor utilizes an Echo State Network, which is a type of recurrent neural network, to analyze price action and execute trades. The system computes various statistical inputs, including price volatility, mean values, and Hurst exponent metrics, to feed its reservoir computing model. Risk is ma

MT5 Trading robot AI / machine learningMartingale High risk
Updated 2 years ago None stated GitHub repository of Echo State Network Tester

MT5 Money Printer

by cody-mckeon
2 stars

This MetaTrader 5 expert advisor executes a multi-indicator strategy inspired by the No Nonsense Forex methodology. It combines an SSL indicator for signal confirmation, the Waddah Attar Explosion for volume filtering, and a Geometric Mean Moving Average as a baseline. The robot enters trades based on trend alignment a

MT5 Trading robot Trend followingMulti-strategy
Updated 2 years ago None stated GitHub repository of MT5 Money Printer
2 stars

This repository contains a collection of MetaTrader 5 expert advisors designed for various financial instruments including the DAX index, gold, oil, and major currency pairs. The library includes specialized robots like German Sunrise for DAX mean reversion and others for specific events like Friday gold moves or Tuesd

MT5 Collection Mean reversionIndicator crossoverTrend following

Forecasting LSTM

by frkn2076
2 stars

This MetaTrader 5 expert advisor utilizes a Long Short-Term Memory (LSTM) machine learning model to forecast price movements for the GBPUSD currency pair. It operates by triggering an external Python script every hour to perform incremental learning and generate price predictions. The robot enters trades when predicted

MT5 Trading robot AI / machine learning
Updated 2 years ago None stated GitHub repository of Forecasting LSTM

Framework4o

by Capital-Advisory-Technology
2 stars

Framework4o is a modular system building framework and expert advisor for MetaTrader 4. It provides a structured environment for developing trading models with pre-defined modules for position and risk management. The core functionality handles entry and exit logic using indicators like DEMA, EMA, and RSI. It includes

MT4 Framework & template Trend followingIndicator crossover
Updated 2 years ago GPL-3.0 GitHub repository of Framework4o
2 stars

This expert advisor provides a technical demonstration of real-time communication between MetaTrader 5 and Python using TCP sockets. It functions as a data bridge, serializing MQL5 information into JSON strings to be processed by an external Python environment. The EA sends synthetic position data and receives response

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of MQL5 Python Socket Bridge

Flood MA Lines ML

by sberkeo
2 stars

Flood MA Lines ML for MetaTrader 5 generates and interprets complex Moving Average trend series to provide data for machine learning and deep learning applications. It uses a mass production algorithm to perform relational trend analysis, measuring trend robustness and identifying price range expectations. The software

MT5 Utility Trend following
Updated 2 years ago GPL-3.0 GitHub repository of Flood MA Lines ML

No Forex Nonsense EA

by mojtaba-brz
2 stars

This expert advisor for MetaTrader 5 implements the No Nonsense Forex trend-following methodology. It utilizes a modular approach where users can select and configure specific components including a baseline, primary and secondary confirmation indicators, a volume filter, and a dedicated exit indicator. The EA manages

MT5 Trading robot Trend following

Macd Ema Strategy

by jokwok1
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using MACD and EMA indicators. For long entries, it requires a MACD crossover below the zero line and price confirmation above the EMA. It manages risk through ATR-based stop losses and take profits, with a default 1:2 risk-to-reward ratio. Users ca

MT5 Trading robot Trend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of Macd Ema Strategy
2 stars

This MetaTrader 4 repository contains a collection of expert advisors and utilities, primarily focused on the AM grid robot and various scalping scripts. The main EA employs a grid-based strategy that layers orders at specific distances and includes settings for trend and counter-trend protection. It features a mechani

MT4 Collection GridScalpingTrend following High risk
Updated 2 years ago None stated GitHub repository of Lianxi EA Collection
2 stars

This collection for MetaTrader 5 features a variety of trading tools and automated expert advisors. It includes advanced visualization utilities like a 3D correlation matrix and a mathematical morpher using DirectX canvas. The repository also provides several technical trading robots based on moving averages, MACD, ADX

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk
Updated 2 years ago None stated GitHub repository of Classicado MQL5 Collection
2 stars

This MetaTrader 4 expert advisor automates trading using moving average crossovers. It generates buy and sell signals based on user-defined periods and shift parameters. The EA includes a risk management module that calculates lot sizes dynamically based on free margin and a maximum risk percentage. It features a reduc

MT4 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Clarionxk Moving Average
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on moving average crossovers. It utilizes a fast Exponential Moving Average and a slow Exponential Moving Average for entry signals, with a longer-period Simple Moving Average acting as a trend filter. The robot includes an optional RSI filter

MT5 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Moving Average Crossover EA
2 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for educational purposes. The primary strategies revolve around Commodity Channel Index crossovers and Average True Range indicators for dynamic stop loss and take profit placement. The codebase includes various experimental models, such as

MT5 Collection Indicator crossoverMean reversionMartingale High risk
Updated 2 years ago None stated GitHub repository of MQL5 Learning Collection

Expert Ichimoku

by tsunamyh
2 stars

This automated trading robot for MetaTrader 5 utilizes the Ichimoku Kinko Hyo indicator to execute trades. It features customizable periods for the Tenkan-sen, Kijun-sen, and Senkou Span B components. Risk management is handled through fixed pips-based stop loss and take profit orders, supplemented by a trailing stop a

MT5 Trading robot Trend followingMartingale High risk
Updated 2 years ago None stated GitHub repository of Expert Ichimoku
2 stars

This repository contains a collection of MetaTrader 5 expert advisor files designed for educational and tutorial purposes. It includes various scripts covering fundamental MQL5 programming concepts such as array manipulation, mathematical functions, and position management. Specific examples demonstrate basic entry log

MT5 Collection Indicator crossoverTrend followingMartingale High risk

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

The ForexR EA Library collects open-source expert advisors for MetaTrader 4 and MetaTrader 5 that are published on GitHub. Each entry links to the original repository, so you always get the author's latest code, issues and licence straight from the source. Star counts, last updates and licences are synced from GitHub every day, and new repositories are added every week.

Every repository is checked automatically before it is listed: it must contain readable MQL source code for a real expert advisor, and repositories that ship executables, hide downloads behind archive passwords or show signs of bought stars are left out. The summaries and tags are written automatically from each repository's README and code. They describe what an EA does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.

Trading with expert advisors is risky. Backtest any EA and run it on a demo account before you trust it with real money. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

EA Library FAQ

What is an expert advisor (EA)?

An expert advisor is a program that runs inside MetaTrader 4 or MetaTrader 5. It can open and close trades on its own, manage trades you opened (trailing stops, break-even, partial closes), protect the account, or connect MetaTrader to other tools such as Telegram or Python. EAs are written in MQL4 (MT4) or MQL5 (MT5).

Are the EAs in this library free?

Yes. Every EA listed here is published on GitHub with its source code, so you can read, download and compile it at no cost. Check each repository's licence before reusing the code in your own projects: some EAs state no licence at all.

Are these EAs safe to use?

ForexR lists only repositories with readable MQL source code and never hosts files. Repositories that ship executables, ask you to disable antivirus, hide downloads behind passwords or show signs of bought stars are left out automatically. That does not make any EA profitable or bug-free: read the code, backtest it in the Strategy Tester and run it on a demo account first.

How do I install an EA in MT4 or MT5?

Download the source from GitHub, open MetaTrader, choose File, then Open Data Folder, and copy the .mq4 (MT4) or .mq5 (MT5) file into MQL4/Experts or MQL5/Experts. Open it in MetaEditor and press Compile, then drag the EA from the Navigator onto a chart and allow algorithmic trading.

How does ForexR choose which EAs to list?

A crawler searches GitHub every week for MetaTrader repositories, reads their code and keeps those that contain a real expert advisor and pass the safety checks. Stars, updates and licences are refreshed from GitHub every day. Summaries are written automatically from each repository's README and code, so treat them as a guide and check the source.

What do "High risk", grid and martingale mean?

A grid EA opens a ladder of orders at fixed distances; a martingale EA increases the lot size after losses. Both can show smooth equity curves for a long time and then lose a large part of the account in one strong trend. EAs that use either are marked High risk, and you can hide them with the "Hide grid and martingale" filter.

Run EAs with a broker that supports MT4 and MT5

Compare regulated brokers by platform, spreads, minimum deposit and leverage.

Compare brokers