Synced with GitHub · updated hourly

Expert Advisor Library

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

107 EAs match Clear filters

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Ladino Bot

by landim32
203 stars

Ladino Bot is an open-source expert advisor for MetaTrader 5 that uses HiLo Activator indicators and moving average crossovers to identify trade entries. It features a triple-timeframe architecture, allowing users to align entries with higher-period trends. Risk controls include daily gain and loss caps, brokerage fee

MT5 Trading robot Indicator crossoverTrend following Archived
Updated 1 year ago GPL-3.0 GitHub repository of Ladino Bot

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

FxChartAI OpenEA

by abiodunaremu
49 stars

FxChartAI OpenEA is an automated trading solution for MetaTrader 5 that executes trades based on signals retrieved from the FxChartAI platform. The system operates in two modes, allowing for live API integration or historical testing using CSV datasets. It utilizes multi-timeframe analysis across M10 and H1 intervals,

MT5 Trading robot AI / machine learningTrend following
Updated 1 year ago GPL-3.0 GitHub repository of FxChartAI OpenEA

Box Breakout EA

by je-zhou
26 stars

This MetaTrader 5 expert advisor implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R

MT4MT5 Trading robot BreakoutTrend following

Basic Bollinger Bands EA

by terencebeauj
21 stars

This MetaTrader 5 expert advisor utilizes the Bollinger Bands and Parabolic SAR indicators to execute trades based on market volatility. It functions as an entry-level algorithmic trading template, allowing users to modify strategy logic or optimize parameters using the MT5 Strategy Tester. The bot manages risk through

MT5 Trading robot Mean reversionTrend following

Binario

by EarnForex
20 stars

Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista

MT4MT5 Trading robot BreakoutTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Binario

Heiken Ashi Naive

by EarnForex
17 stars

Heiken Ashi Naive is a trading robot for MetaTrader 4 and 5 that executes trades based on Heiken Ashi candle characteristics, including body length and wick presence. It evaluates candle sequences to enter positions and can be configured to either follow the trend or operate in an inverted mode for mean-reversion. Risk

MT4MT5 Trading robot Trend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Heiken Ashi Naive

Max Profit

by poluxbrayz
16 stars

Max Profit is a trend-following expert advisor for MetaTrader 4, specifically optimized for the M1 timeframe. It utilizes a combination of technical indicators, including Parabolic SAR and MACD, to identify market trends and execute trades. The software includes dedicated modules for lot management, symbol analysis, an

MT4 Trading robot Trend followingIndicator crossover
Updated 2 years ago AGPL-3.0 GitHub repository of Max Profit

MonsterFX Reliable Trader

by NadirAliOfficial
12 stars

This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l

MT5 Trading robot Indicator crossoverTrend followingMean reversion

Conservative Scalper EA

by NadirAliOfficial
10 stars

Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti

MT4 Trading robot ScalpingTrend followingBreakout

Punlie Grid

by punlie
10 stars

Punlie Grid is a MetaTrader 5 expert advisor that executes a grid trading strategy tailored for gold, crude oil, and cryptocurrencies. It places orders at fixed point intervals and features a trend-following filter that uses daily timeframe data to align trades with the prevailing market direction. Risk controls includ

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

AlgoMaster NNFX

by alexcercos
10 stars

AlgoMaster NNFX is an algorithm development and testing system for MetaTrader 4 and 5, built specifically to implement the No Nonsense Forex (NNFX) trading methodology. It enables users to test trading logic across 28 major forex pairs while managing complex factors like currency exposure, news events, and market volat

MT4MT5 Trading robot Trend followingMulti-strategy
Updated 2 years ago BSD-3-Clause GitHub repository of AlgoMaster NNFX

SmartMoney MTF EA

by SiyabongaDlamini
9 stars

This automated expert advisor for MetaTrader 5 implements institutional Smart Money Concepts using a multi-timeframe approach. It synchronizes analysis across three timeframes to identify trend direction, premium or discount zones, and market structure shifts. The robot executes trades based on liquidity sweeps and Fib

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 4 months ago Apache-2.0 GitHub repository of SmartMoney MTF EA

Autumn Harvest

by wait4signal
8 stars

Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy. It functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls l

MT5 Trading robot Mean reversionTrend followingMulti-strategy
Updated 1 year ago GPL-3.0 GitHub repository of Autumn Harvest
6 stars

This Expert Advisor for MetaTrader 5 automates a pure price-action strategy primarily designed for gold on the five-minute timeframe. It identifies market trends using swing point structures like higher highs and lower lows without lagging indicators. The EA creates supply and demand zones from engulfing candle pattern

MT5 Trading robot Trend followingSMC / ICT / price actionScalping

Price Action Engulfing Zone

by NadirAliOfficial
6 stars

This expert advisor for MetaTrader 5 implements a pure price action strategy focused on Gold (XAUUSD) on the five-minute timeframe. It identifies market trends through swing-point structure analysis and marks supply and demand zones based on engulfing candlestick patterns. Trades are triggered only when price retests a

MT5 Trading robot SMC / ICT / price actionTrend following

MarketSync EA

by sajidmahamud835
6 stars

MarketSync EA is an experimental MetaTrader 5 expert advisor designed to bridge algorithmic trading with external artificial intelligence. It functions by streaming real-time market and account data from the MT5 terminal to a local Node.js backend via HTTP requests. The external server processes this information using

MT5 Trading robot AI / machine learningGridTrend following High risk
Updated 8 months ago MIT GitHub repository of MarketSync EA

Enamel

by DocProvolone
6 stars

Enamel is a trend-pullback expert advisor for MetaTrader 5 specifically configured for USD currency pairs. The robot identifies entries using a combination of exponential moving averages, RSI, MACD, and ADX indicators, requiring confirmation from candle body size relative to volatility. It includes a higher timeframe t

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 12 months ago Apache-2.0 GitHub repository of Enamel

Auto Trade EA

by leonharvey
6 stars

This automated expert advisor for MetaTrader 4 executes trades based on moving average crossovers and trend-following logic. It incorporates the Chandelier Exit method, utilizing the Average True Range and price extremes to determine market direction. Risk management is handled through user-defined stop loss and take p

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

Gold Scalper MT5

by autoea-online
5 stars

Gold Scalper is an educational MetaTrader 5 expert advisor designed for scalping XAUUSD on the one-minute timeframe. It is presented as a masterclass tutorial to demonstrate modular coding practices. The system utilizes a 200-period Exponential Moving Average for trend filtering and the Relative Strength Index for entr

MT5 Trading robot ScalpingTrend followingIndicator crossover
Updated 6 months ago MIT GitHub repository of Gold Scalper MT5

CRT TBS Gold Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for gold trading using Candle Range Theory and Time-Based Strategy principles. It identifies market structure through the Accumulation, Manipulation, and Distribution cycle while detecting Fair Value Gaps and Order Blocks. The robot executes trades exclusively during specifi

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
5 stars

Universal Market Hunter is an automated trading robot for MetaTrader 5 that targets Forex, gold, and cryptocurrency markets. It allows users to switch between two main strategies: a Bollinger Band volatility breakout and an engulfing price action pattern using volume confirmation. The system manages risk through ATR-ca

MT5 Trading robot BreakoutScalpingTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Universal Market Hunter

Nnfx Autotrader

by henriquepfeifer
5 stars

This Expert Advisor for MetaTrader 4 implements the No Nonsense Forex (NNFX) methodology on the daily timeframe. It manages 27 forex pairs by scanning for signals shortly before the daily candle close to optimize spread costs. The EA handles trade entries, partial scaling out, and trailing stops based on Average True R

MT4 Trading robot Trend following
Updated 4 years ago MIT GitHub repository of Nnfx Autotrader

This MetaTrader 5 expert advisor is an example implementation designed to trade moving average crossovers on non-standard timeframes, specifically seconds-based charts. It executes trades based on price crossing a moving average or two moving averages crossing each other. The EA includes risk management features such a

MT5 Trading robot Indicator crossoverTrend following

NS Financas 4 EMA

by guilhermeneves
5 stars

NS Financas 4 EMA is a MetaTrader 5 expert advisor that automates trading using a four-period exponential moving average system. The robot enters trades based on the alignment of three short-term EMAs while using a 200-period EMA as a directional trend filter to ensure positions align with the long-term market bias. It

MT5 Trading robot Indicator crossoverTrend following

Jonny EA Simple

by JonnyKelso
5 stars

Jonny EA Simple is an automated trading robot for MetaTrader 4 that executes trades based on an algorithmic indicator using configurable look-back periods. It manages risk by calculating position sizes as a percentage of the current account balance, ensuring lot sizing remains proportional to equity. For trade exits, t

MT4 Trading robot Trend following
Updated 9 years ago GPL-2.0 GitHub repository of Jonny EA Simple
4 stars

This machine learning robot for MetaTrader 5 uses an ensemble of AI models including LSTM, GRU, and LightGBM to predict price movements. It executes trades based on signal confidence and predicted price targets. The EA features multiple risk controls such as volatility filters, trend-based MA filters, RSI checks, and a

MT5 Trading robot AI / machine learningTrend followingMartingale High risk
Updated 4 months ago GPL-3.0 GitHub repository of GGTH Forex Predictor

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

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

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