Synced with GitHub · updated hourly

Expert Advisor Library

1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

163 EAs match Clear filters

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot

SMC Master Pro

by Kanishkar01
4 stars

This MetaTrader 5 expert advisor implements an automated strategy based on Smart Money Concepts and the Trading Hub Juka Method. It analyzes market structure, institutional order blocks, and fair value gaps to identify high-probability entry points. The robot features multi-timeframe analysis, evaluating alignment betw

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 7 months ago Unlicense GitHub repository of SMC Master Pro

AI Supertrend Long Only

by dharaarpan7
4 stars

This MetaTrader 5 expert advisor executes automated long-only trades based on the Supertrend indicator. It calculates trend direction using Average True Range and a multiplier factor to identify entry points. The robot includes built-in risk management tools such as percentage-based stop loss and take profit orders, as

MT5 Trading robot Trend following
Updated 11 months ago BSL-1.0 GitHub repository of AI Supertrend Long Only

This MetaTrader 5 robot executes trades across multiple symbols using institutional indicators including VWAP, Volume Profile, and Average Daily Range (ADR). It enters positions when price action aligns with VWAP directional bias and volume zones such as High Volume Nodes. Risk management is automated via equity-percen

MT5 Trading robot Trend followingSMC / ICT / price action

Equity Markets MQL5 EA

by equitymarkets
4 stars

This MetaTrader 5 expert advisor collection provides automated trading strategies based on moving average trends and price action. The primary EA enters trades when price and moving averages align, indicating momentum. It includes risk management features such as fixed lot sizing and optional stop loss and take profit

MT5 Collection Trend followingIndicator crossover
Updated 1 year ago Apache-2.0 GitHub repository of Equity Markets MQL5 EA
4 stars

This MetaTrader 5 expert advisor implements the BBMA trading system by combining Bollinger Bands with multiple Moving Average levels including MA 5, MA 10, and EMA 50. It enters trades based on technical signals and price interactions with these indicators. The robot features comprehensive risk controls such as percent

MT5 Trading robot Indicator crossoverTrend following

Simple Trend EA

by jblanked
4 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using exponential moving averages and the Relative Strength Index. It enters a long position when the 50-period EMA is above the 200-period EMA while RSI is above 50, and a short position for the opposite conditions. The robot manages one trade at a

MT5 Trading robot Trend followingIndicator crossover
Updated 2 years ago MIT GitHub repository of Simple Trend EA

Parallel System 3

by kaksuli
4 stars

Parallel System 3 is a MetaTrader 4 expert advisor developed specifically for trading gold. It utilizes a Directional Movement Index (DMI) signal generator with customizable smoothing periods and moving average methods. The trade management logic is based on a layered approach involving multiple trade packs, categorize

MT4 Trading robot Indicator crossoverTrend followingGrid High risk
Updated 6 years ago Apache-2.0 GitHub repository of Parallel System 3
4 stars

This MetaTrader 4 expert advisor implements a trend-following breakout strategy using Heiken Ashi candle sequences. The system defines local highs and lows based on consecutive candle color changes and enters trades when these price levels are breached. It operates on a reversal basis, closing active trades and initiat

MT4 Trading robot Trend followingBreakout
3 stars

A collection of systematic Expert Advisors for MetaTrader 5 designed for session-specific execution. The repository includes multiple specialized engines for strategies such as range reversion, breakouts, and trend following. It features a centralized risk management layer with spread caps, daily loss limits, and conse

MT5 Collection Mean reversionBreakoutTrend following

IJESHA Algo EA

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-indicator strategy based on momentum and divergence confluence. It utilizes Stochastic, Commodity Channel Index (CCI), Parabolic SAR, and Exponential Moving Averages (EMA) to identify entries, specifically targeting bullish and bearish divergence patterns. Risk manage

MT5 Trading robot Mean reversionTrend followingIndicator crossover
Updated 2 weeks ago MIT GitHub repository of IJESHA Algo EA

Hydra Prime

by sriramvarun0636
3 stars

Hydra Prime is a systematic expert advisor for MetaTrader 5 designed specifically for the gold market. It executes trades based on intraday momentum expansions and market structure shifts using Smart Money Concepts like Fair Value Gaps and Optimal Trade Entry zones. The robot analyzes swing structures on the M5 timefra

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 5 weeks ago GPL-3.0 GitHub repository of Hydra Prime

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

Edelweiss EA

by Attornado
3 stars

Edelweiss EA is an educational trading robot for MetaTrader 4 that utilizes a multi-indicator framework to generate buy and sell signals. It combines exponential moving averages, stochastic oscillators, the awesome oscillator, ADX, and Bollinger Bands to identify market entries. Trade management includes dynamic ATR-ba

MT4 Trading robot Indicator crossoverMean reversionTrend following
Updated 11 months ago MIT GitHub repository of Edelweiss EA

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master

Smart Scalp PA

by logiccrafterdz
3 stars

Smart Scalp PA is a price action expert advisor for MetaTrader 5 designed for intraday trading and scalping. It identifies market entries using Engulfing and Pin Bar candle patterns confirmed by a higher timeframe EMA 50 trend filter. The system incorporates support and resistance clustering based on pivot highs and lo

MT5 Trading robot Trend followingScalping
Updated 11 months ago MIT GitHub repository of Smart Scalp PA

Forex Pro EA

by hqs-triet
3 stars

This MetaTrader 5 expert advisor serves as an educational repository for various automated trading strategies and capital management techniques. It features a modular architecture allowing users to toggle between multiple entry algorithms, including EMA crossovers, MACD zero-crossings, and a combination of ADX and Boll

MT5 Trading robot Indicator crossoverHedgingTrend following
Updated 2 years ago MIT GitHub repository of Forex Pro EA

Falcon B

by vzhomeexperiments
3 stars

Falcon B is an automated trading robot for MetaTrader 4 that utilizes moving average crossovers and Keltner Channels for market entries. It is specifically designed to function within a larger framework, integrating with R-based decision support software through CSV command files. The EA provides robust risk management

MT4 Trading robot Indicator crossoverTrend following
Updated 5 years ago MIT GitHub repository of Falcon B

NNFX EA

by dnshouse
3 stars

This MetaTrader 4 expert advisor implements the No Nonsense Forex methodology using a clean, object-oriented programming architecture. The robot manages trade entries and exits based on a modular indicator stack, allowing users to easily swap or add technical indicators via wrapper classes. It is specifically designed

MT4 Trading robot Trend following
Updated 5 years ago MIT GitHub repository of NNFX EA

XLiquidex

by m-root
3 stars

XLiquidex is an impulsive volatility breakout robot for MetaTrader 4. It identifies entry signals using Keltner Channel breakouts, Moving Average filters, and a candle body range requirement to verify momentum. The expert advisor includes trade management features such as take profit, stop loss, break-even offsets, and

MT4 Trading robot BreakoutTrend following
Updated 10 years ago Apache-2.0 GitHub repository of XLiquidex
2 stars

This MetaTrader 4 expert advisor and modular framework provides advanced trade management and position scaling capabilities. It features a linear trailing stop that triggers at a predefined profit level and a pyramiding system to add positions to winning trades using a lot multiplier. The code is structured as a librar

MT4 Framework & template Trend followingIndicator crossoverGrid High risk

XAUUSD Scalping EA

by AhsanAli013
2 stars

This MetaTrader 5 expert advisor is designed for gold scalping using a multi-timeframe approach. It analyzes price action across M5, M15, and H1 intervals using Exponential Moving Averages, Relative Strength Index, and Average Directional Index for entry confirmation. Trades are managed with ATR-based stop losses, take

MT5 Trading robot ScalpingIndicator crossoverTrend following

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion
2 stars

This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion

Quick Trade Panel

by kissMoona
2 stars

This MetaTrader 5 expert advisor serves as both a manual trading dashboard and an automated execution tool. Users can perform one-click operations, manage batch stop loss and take profit levels, and adjust orders visually via chart dragging. The automated component utilizes external arrow indicators, such as HalfTrend,

MT5 Trading robot Trend followingMulti-strategy
Updated 5 months ago MIT GitHub repository of Quick Trade Panel

Funded EA

by Pusparaj99op
2 stars

Funded EA is a MetaTrader 5 robot designed to help users pass proprietary firm challenges by automating trade execution and risk management. It implements a Smart Money Concepts strategy, targeting XAUUSD by detecting order blocks and liquidity sweeps. The system features a calibration engine that calculates lot sizes

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 5 months ago Unlicense GitHub repository of Funded EA

CBMQL MQL5 Framework

by HarryWarre
2 stars

CBMQL is a development framework and build tool for MetaTrader 5 designed to modularize Expert Advisor code. Inspired by modern web development bundlers, it allows developers to break complex trading systems into reusable modules and bundle them into a single portable file. The system includes a Node.js-based environme

MT5 Framework & template Trend followingGridMartingale High risk

Mql5 Ea Lab

by diegoaberrio
2 stars

This collection of MetaTrader 5 expert advisors provides several technical strategies for automated trading. The primary implementation uses a triple exponential moving average crossover for signals, supported by an Average True Range volatility filter. Risk control is managed via equity percentage or fixed lot sizing,

MT5 Collection Trend followingIndicator crossoverMulti-strategy
Updated 7 months ago MIT GitHub repository of Mql5 Ea Lab

Pine To MQL5 EMA Slope Cross

by maxime-fintech
2 stars

This Expert Advisor for MetaTrader 5 is a conversion of the EMA Slope and EMA Cross strategy originally developed for TradingView. It employs three Exponential Moving Averages with default lengths of 2, 4, and 20 to generate signals based on trend slope and price crossovers. The system supports a reversal-based trading

MT5 Trading robot Indicator crossoverTrend following
2 stars

This MetaTrader 5 expert advisor acts as a modular architectural blueprint for developing complex algorithmic trading systems. It demonstrates a structured framework for separating user interface components, input configurations, and core execution logic into maintainable layers. While the repository provides placehold

MT5 Framework & template Trend followingGridHedging

Punlie Raging

by punlie
2 stars

Punlie Raging is a grid-based trading robot for MetaTrader 5 that executes orders at fixed point intervals. It includes a trend filter to limit trading to specific market directions, such as only trading in uptrends verified on daily timeframes. For trade management, the advisor features an adjustable trailing stop and

MT5 Trading robot GridTrend following High risk
Updated 1 year ago MIT GitHub repository of Punlie Raging

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

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

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

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

Fisher EA

by jyyan
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on volatility and momentum. It utilizes Average True Range calculations with configurable fast and slow multipliers to identify trade entries and manage exits. The robot handles risk through a percentage-based budget per trade, a fixed risk-re

MT4 Trading robot Trend following
Updated 3 years ago MIT GitHub repository of Fisher EA

Swing NNFX Framework

by BenoitDurandIndep
2 stars

This MetaTrader 4 framework provides a modular environment for developing and backtesting expert advisors based on the No Nonsense Forex methodology. It includes functional swing trading robots that utilize baseline indicators, multiple confirmation layers, and volatility filters to identify entries. The system feature

MT4 Framework & template Trend followingMulti-strategy
Updated 3 years ago GPL-3.0 GitHub repository of Swing NNFX Framework

MadRabbit Universal

by Cerqlau
2 stars

MadRabbit Universal is a collection of MetaTrader 5 expert advisors and trading tools focused on multi-indicator strategies. The flagship Universal Turbo robot allows users to combine signals from moving average crossovers, MACD, VWAP, ATR, and RSI. It is primarily designed for netting accounts trading indices and stoc

MT5 Collection Indicator crossoverTrend followingMean reversion High risk
2 stars

This MetaTrader 5 framework provides a modular library for technical analysis, including candle pattern detection, support and resistance levels, and Fibonacci calculations. The repository includes an expert advisor that implements ZigZag-based wave analysis to identify market structure and chart patterns. It features

MT5 Framework & template SMC / ICT / price actionTrend followingMartingale High risk

Falcon C

by vzhomeexperiments
2 stars

Falcon C is a MetaTrader 4 expert advisor that implements a rule-based strategy using moving average crossovers and Keltner Channels. It relies on an external deep learning framework built in R to categorize current market regimes, such as normal or volatile bull and bear phases. Based on these categories, the robot sw

MT4 Trading robot Indicator crossoverAI / machine learningTrend following
Updated 7 years ago MIT GitHub repository of Falcon C

Auto Trade EA

by leonharvey
2 stars

This MetaTrader 4 expert advisor executes automated trades based on Moving Average crossover logic and the Chandelier Exit method. It utilizes multiple Moving Average periods and shifts alongside Average True Range and price extremes to identify market trends and potential exit points. Risk is managed through fixed lot

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago AGPL-3.0 GitHub repository of Auto Trade EA

Parabolic SAR EA

by vinchess
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the Parabolic SAR indicator. It monitors indicator flips to identify potential entry points, opening buy positions when the SAR dots move below the price and sell positions when they move above. The robot manages trades using fixed stop los

MT4 Trading robot Trend followingIndicator crossover

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 hour, 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 hour. 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