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.

360 EAs match Clear filters
1 stars

WannaBeQuant Strategy Selection is a multi-strategy expert advisor for MetaTrader 5 designed to trade cryptocurrency and equity markets. It combines six distinct trading logic modules, including Ichimoku trend following, mean reversion, and breakout strategies. The EA executes on a timer-based loop rather than every ti

MT5 Trading robot Trend followingMean reversionBreakout

Renko EMA Trading EA

by NOVESH-CREATE
1 stars

This MetaTrader 5 expert advisor executes trades based on Renko chart patterns, specifically optimized for Bitcoin markets like BTCUSD. Instead of standard timeframes, the system uses fixed dollar-value brick sizes to filter price noise and identify trends. It features automated risk management through percentage-based

MT5 Trading robot Trend following
Updated 4 months ago None stated GitHub repository of Renko EMA Trading EA

Oddioybek7 MQ5 Collection

by oddioybek7-beep
1 stars

This MetaTrader 5 repository contains a collection of automated trading systems, including SignalRobot, OrderBlockRobot, and Smart HHMA Robot. The primary SignalRobot expert uses Triple Exponential Moving Average (TEMA) and noise filters to generate trade signals. It includes a risk management module that calculates lo

MT5 Collection Trend followingIndicator crossoverSMC / ICT / price action
Updated 5 months ago None stated GitHub repository of Oddioybek7 MQ5 Collection

XGBoost Classifier MT5

by alexandruchirita4192
1 stars

This MetaTrader 5 expert advisor utilizes an XGBoost machine learning model exported via the ONNX format to identify trading opportunities. It enters trades based on classification probabilities and a minimum gap between prediction classes. The system features extensive risk controls, including stop loss and take profi

MT5 Trading robot AI / machine learningTrend following
Updated 5 months ago GPL-3.0 GitHub repository of XGBoost Classifier MT5

Pro Trader AI

by salmanrki
1 stars

This MetaTrader 5 expert advisor integrates Large Language Models such as OpenAI and Anthropic Claude with technical analysis to automate trading across forex, gold, crypto, and indices. It utilizes a confluence scoring system based on Smart Money Concepts, Ichimoku Cloud, and standard indicators like RSI and MACD. The

MT5 Trading robot SMC / ICT / price actionAI / machine learningNews
Updated 5 months ago None stated GitHub repository of Pro Trader AI

My EA Algo Trade

by WaithakanTony
1 stars

This MetaTrader 4 expert advisor is an automated trading system primarily configured for Gold (XAUUSD). It incorporates a robust suite of risk controls, including daily equity drawdown limits and overall balance protection. The EA features mandatory cooldown periods after a stop loss or take profit is hit to prevent ov

MT4 Collection Trend following
Updated 5 months ago None stated GitHub repository of My EA Algo Trade

Robot MA RSI

by space-55
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using Moving Average crossovers and Relative Strength Index (RSI) signals. The robot enters trades when a fast EMA crosses a slow EMA, provided the RSI confirms momentum. Risk management is handled through ATR-based stop loss and take profit calcula

MT5 Trading robot Indicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Robot MA RSI

Heikin Ashi Candle Flip EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor automates trading by detecting reversals in Heikin Ashi candle colors. It initiates a buy trade when a bullish flip occurs and a sell trade upon a bearish flip, managing one position at a time. The robot allows users to specify a custom Heikin Ashi indicator path if the default is not u

MT5 Trading robot Trend following
Updated 6 months ago None stated GitHub repository of Heikin Ashi Candle Flip EA

Trend Pullback EA

by Ekisa02
1 stars

Trend Pullback EA is an automated trading robot for MetaTrader 5 that uses Exponential Moving Averages and price action to execute trades. It identifies market trends using a dual EMA crossover system and waits for price pullbacks into the moving average zone. Valid entries require confirmation from bullish or bearish

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 7 months ago None stated GitHub repository of Trend Pullback EA

TrendEngine Core

by Fintor-AI
1 stars

This MetaTrader 5 expert advisor serves as a modular framework and starter template for developing trend-following trading systems. It utilizes a clean architecture to separate signal logic, risk management, and order execution. The included demo logic implements a standard moving average crossover strategy to enter tr

MT5 Framework & template Trend followingIndicator crossover
Updated 9 months ago MIT GitHub repository of TrendEngine Core

Accure Dynasty

by wilfredNJH
1 stars

This MetaTrader 5 expert advisor provides a framework for trade execution with a heavy emphasis on risk management and scheduling. It offers multiple methods for calculating trade volume and exits: manual points, percentage of account risk, and ATR-based calculations. The EA includes a partial profit-taking system and

MT5 Trading robot Trend followingBreakoutMartingale High risk
Updated 10 months ago None stated GitHub repository of Accure Dynasty

RSI MA Signal EA

by Kemran25
1 stars

This MetaTrader 5 expert advisor automates a trend-following strategy using a combination of the Relative Strength Index and a Moving Average. It enters trades based on signals from a custom indicator that requires price to be on one side of the moving average while the RSI confirms momentum. The robot executes orders

MT5 Trading robot Trend followingIndicator crossover
Updated 11 months ago None stated GitHub repository of RSI MA Signal EA
1 stars

This collection for MetaTrader 4 provides a variety of expert advisor templates and functional trading robots. The core strategy logic often utilizes price action relative to moving averages to identify trends. Key features include a randomized entry timer designed to avoid high-volatility bar starts, integrated stop l

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk

Golden7

by edisonq
1 stars

Golden7 is an automated trading system for MetaTrader 5 that utilizes a weighted confluence engine across seven technical indicators, such as Moving Averages, RSI, and Bollinger Bands. It uniquely allows users to input a manual fundamental bias score to influence trade direction. The robot includes a robust filtering s

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 11 months ago None stated GitHub repository of Golden7

Usatec MT5 Collection

by acortesi
1 stars

This MetaTrader 5 expert advisor collection uses a multi-indicator approach for trade entries. The primary logic involves a combination of MACD, three Triple Exponential Moving Averages (DEMA), the Relative Strength Index (RSI), and Stochastic oscillators. It filters signals using the Average Directional Index (ADX) an

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 11 months ago None stated GitHub repository of Usatec MT5 Collection

Enhanced EA

by Yareda21
1 stars

Enhanced EA is an automated trading robot for MetaTrader 5 that combines Relative Strength Index, Bollinger Bands, and Moving Average Convergence Divergence indicators to generate signals. The expert advisor includes an optional trend filter based on a 200-period moving average to align entries with the long-term marke

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 1 year ago None stated GitHub repository of Enhanced EA

Projeto Rob De Trading Lite

by Victoredbr21
1 stars

This MetaTrader 5 expert advisor serves as a public demonstration and educational portfolio project. It implements a framework for automated trading using technical indicators such as Cumulative Delta, Average True Range, and Volume Weighted Moving Average. The software includes core risk management controls including

MT5 Trading robot Trend following

Dual Pending ATR EA

by salmansoltaniyan
1 stars

This MetaTrader 5 expert advisor implements a breakout strategy by placing dual pending buy stop and sell stop orders around the current market price. It utilizes the Average True Range (ATR) to calculate entry distances, stop loss levels, and trailing stops. An optional Ichimoku cloud filter provides trend confirmatio

MT5 Trading robot BreakoutTrend following
Updated 1 year ago None stated GitHub repository of Dual Pending ATR EA

Price Action Bot

by logiccrafterdz
1 stars

Price Action Bot is a technical Expert Advisor for MetaTrader 5 that executes trades based on market structure shifts, specifically Break of Structure (BOS) and Change of Character (CHoCH) signals. It supports two entry modes: waiting for a price retest of broken levels or entering immediately on a breakout candle clos

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

Memento Ichimoku

by Khajavi8056
1 stars

Memento is an automated trading system for MetaTrader 5 based on the Ichimoku Kinko Hyo indicator. It utilizes a triple-cross strategy that monitors the Tenkan-sen, Kijun-sen, and Chikou Span for specific alignments. The robot implements a multi-stage confirmation process, assessing momentum and candle strength before

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago Apache-2.0 GitHub repository of Memento Ichimoku
1 stars

This MetaTrader 5 expert advisor implements a dual Adaptive Linear Moving Average (ALMA) crossover strategy. It enters trades when a fast ALMA crosses a slow ALMA, provided the slope meets a specific threshold and the price is within a defined ATR distance. The system uses a Supertrend indicator for additional trend co

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago Custom licence GitHub repository of Dual ALMA Crossover Expert

Trend EA

by gandra70
1 stars

This MetaTrader 5 expert advisor executes trades based on signals generated by a companion custom trend indicator. It is designed to function exclusively on the MetaTrader 5 hedging platform and requires the external indicator file to be installed manually in the local indicators folder. The system manages risk using a

MT5 Trading robot Trend followingHedging
Updated 1 year ago None stated GitHub repository of Trend EA

Rhythm Ultra

by AlgoIndustriesCompany
1 stars

Rhythm Ultra is an automated price action strategy constructor for MetaTrader 5. It enables traders to automate entries based on Smart Money Concepts and ICT principles, including Order Blocks, Fair Value Gaps, breakers, and liquidity sweeps. The EA manages risk through multi-timeframe trend synchronization, partial ta

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 1 year ago MIT GitHub repository of Rhythm Ultra

Trend Finder EA

by GBNarasimha
1 stars

Trend Finder EA is a MetaTrader 5 robot that identifies market trends using Average True Range calculations with specific trend factors. It automates trade entries and provides comprehensive risk management through fixed lot sizes or percentage-based risk. The expert advisor features time-based filters for Asian, Europ

MT5 Trading robot Trend following
Updated 1 year ago None stated GitHub repository of Trend Finder EA

This repository provides a diverse collection of expert advisors for the MetaTrader 4 platform. The primary RubberBands EA utilizes Bollinger Bands for mean-reversion, entering when price exceeds the bands and exiting at the center line. It features advanced lot management, including linear and dynamic lot scaling that

MT4 Collection Mean reversionGridMartingale High risk
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on the Parabolic SAR indicator combined with hedging logic. It identifies market direction using standard PSAR parameters and manages positions through automated risk controls. The system allows users to define risk as a fixed lot size or a pe

MT5 Trading robot Trend followingHedging
Updated 1 year ago None stated GitHub repository of PSAR Hedge Strategy EA

Luke Multi MA Bollinger EA

by strongtiger-dev
1 stars

This MetaTrader 5 robot executes a trend-following strategy using a combination of specialized moving averages: Double Exponential Moving Average (DEMA), Triple Exponential Moving Average (TEMA), and Fractal Adaptive Moving Average (FRAMA). It identifies trade entries based on crossovers and the price position relative

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Luke Multi MA Bollinger EA

Jivita Expert Advisors

by rasingollam
1 stars

This collection of MetaTrader 5 expert advisors features a flagship tool that applies genetic algorithms to optimize moving average crossover strategies. The system dynamically adjusts short and long period parameters, stop loss, and take profit values based on simulated fitness and real trade performance. Risk managem

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Jivita Expert Advisors

Liquidity Trap EA

by Javacaveman999
1 stars

Liquidity Trap EA is an automated trading robot for MetaTrader 5 that identifies price action setups near swing points. It detects specific candle formations using wick-to-body and body-to-average-bar ratios to enter trades based on perceived liquidity traps. The system incorporates trend filters through moving average

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion High risk
Updated 1 year ago None stated GitHub repository of Liquidity Trap EA

Shuka Expert

by Houman-Amiri
1 stars

Shuka Expert is a MetaTrader 5 robot designed for risk-managed trading using technical indicators and price action filters. It identifies entries through optional EMA and ZigZag components combined with candlestick patterns, such as engulfing bars and candle length requirements. The EA manages risk via percentage-based

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Shuka Expert

HiLo Capital EA

by NeoSkosana
1 stars

The HiLo Capital EA is an automated trading robot for MetaTrader 5 that uses a trend-following strategy. It combines two exponential moving averages, specifically the 50 and 200 periods, with the Traders Dynamic Index (TDI) custom indicator to identify market entries. Risk management is handled through an automated lot

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of HiLo Capital EA

Bots Practica

by AlexDotel
1 stars

This collection for MetaTrader 5 contains several expert advisors developed for practice and strategy testing. It includes robots based on Bollinger Bands, Larry Williams patterns, and breakout logic. The tools provide automated trade execution with integrated risk controls, allowing users to choose between fixed lot s

MT5 Collection BreakoutMean reversionTrend following
Updated 1 year ago None stated GitHub repository of Bots Practica

Barekat Expert

by kazem94
1 stars

Barekat Expert is a MetaTrader 4 robot that executes trades based on a combination of technical indicators. It utilizes two ZigZag indicators for price action analysis, a Simple Moving Average for trend filtering, and the Relative Strength Index and Stochastic oscillators for momentum confirmation. The system manages e

MT4 Trading robot Trend followingIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of Barekat Expert

MQL4 Projects Collection

by AmonCheruiyotHQ
1 stars

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.

MT4 Collection Trend followingMartingaleMulti-strategy High risk

Trend Observation EA

by longnguyencbct
1 stars

Trend Observation EA is an automated trading robot designed for the MetaTrader 5 platform. It identifies market trends using the Aroon indicator to generate entry and exit signals. The system executes trades based on trend direction and incorporates standard risk controls, including user-defined fixed lot sizes, stop l

MT5 Trading robot Trend following
Updated 1 year ago None stated GitHub repository of Trend Observation EA

Aroon MA Cross

by IanKuzmik
1 stars

This MetaTrader 4 expert advisor is an educational tool designed as part of a YouTube tutorial series. It executes a trend-following strategy by combining moving average crossovers with the Aroon indicator for trend confirmation. The EA opens positions when price conditions align across both indicators and manages exit

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Aroon MA Cross
1 stars

This MetaTrader 4 expert advisor executes trades based on candle momentum and specific trigger factors. It manages positions using virtual trailing stop-loss and take-profit levels, alongside a global profit target that halts trading once a predefined financial goal is met. The system includes logic for multi-symbol tr

MT4 Trading robot Trend followingHedgingMulti-strategy
1 stars

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

MT4 Collection Trend followingMean reversion
1 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility tools for automated trading. The primary expert advisor utilizes the Stochastic Oscillator to generate entry and exit signals based on configurable crossover logic and overbought or oversold levels. It includes essential risk management s

MT5 Collection Indicator crossoverMean reversionTrend following

Aa Ea

by Psychitechts
1 stars

This MetaTrader 5 expert advisor implements a multi-strategy approach based on price action and market structure concepts. It utilizes higher timeframe trend identification via a 200-period Simple Moving Average and seeks entry points on lower timeframes using a 50-period SMA and support or resistance levels. The logic

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 1 year ago None stated GitHub repository of Aa Ea

Three SMA EA

by shahadatnovel
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the alignment of Simple Moving Averages. It utilizes a fast period of 30 and a medium period of 50 to determine entry signals, with logic for a third slow moving average present but partially commented out. The robot executes trades with fi

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Three SMA EA

Ubot

by techteam92
1 stars

Ubot is an automated trading robot for MetaTrader 4 that utilizes technical analysis to execute market orders. It incorporates specific strategy patterns such as Sharkfin and Squeeze logic, likely based on the included Traders Dynamic Index library. The EA features comprehensive trade management including trailing prof

MT4 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago Custom licence GitHub repository of Ubot

Neuro MA Net

by YesthisI
1 stars

This MetaTrader 5 expert advisor identifies market entries using a moving average signal within the standard MQL5 framework. The robot evaluates price relative to a simple moving average, triggering trades when a specific threshold is met. Users can configure lot sizing as a fixed volume or a percentage of the account

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago MIT GitHub repository of Neuro MA Net

Strategy MA

by EA31337
1 stars

This MetaTrader 5 expert advisor executes trades based on various moving average price indicators. It is built as a modular component for the EA31337 framework and supports multiple calculation methods, including simple, exponential, adaptive, and fractal moving averages. The robot allows users to enable or disable spe

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Strategy MA
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 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

Khai Nui HFT

by pleump9
1 stars

Khai Nui HFT is a trend-based trading robot for MetaTrader 4 that enters positions using Moving Average analysis. Users can configure the expert advisor to follow the prevailing trend or execute counter-trend trades by adjusting the trend toggle. It manages risk through fixed stop loss points and a trailing stop mechan

MT4 Trading robot Trend followingMean reversion
Updated 2 years ago None stated GitHub repository of Khai Nui HFT

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