EA Library · 857 open-source EAs

Free Trend-Following Expert Advisors (page 8)

Open-source expert advisors that trade in the direction of the prevailing trend.

Expert advisors857
For MT5578
For MT4305
Updated in a year315

Trend-following EAs, Most Starred First

MA Cross

by rrg890
2 stars

This MetaTrader 4 expert advisor automates trading based on the crossover of two Simple Moving Averages. The robot enters a buy position when the short-term moving average crosses above the long-term moving average and a sell position when it crosses below. It manages exits by monitoring for reverse signals to close ac

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of MA Cross
2 stars

A collection of MetaTrader 4 expert advisors designed for trend-following strategies. The primary logic uses Donchian Channel breakouts with configurable periods for entries and exits. It features robust risk management, including percentage-based lot sizing and volatility-based stop loss and take profit levels calcula

MT4 Collection Trend followingBreakout
Updated 6 years ago None stated GitHub repository of Simple Trend EA Collection

Ichimoku EA

by anwarminarso
2 stars

This MetaTrader 4 expert advisor executes trades based on the Ichimoku Kinko Hyo indicator. It incorporates four distinct trading methods: the Ideal Strategy, Tenkan-Kijun-Chikou crossing, Kumo breakout, and Chikou Span crossing. The robot manages risk through fixed stop loss and take profit levels, a maximum trade lim

MT4 Trading robot Trend followingBreakoutIndicator crossover
Updated 6 years ago None stated GitHub repository of Ichimoku EA

Mql Trading Signals

by udy8007
2 stars

Mql Trading Signals is a collection of expert advisors for MetaTrader 4 and 5 designed for automated trading and signal notification. The repository contains various strategy iterations, primarily utilizing Simple Moving Average (SMA) crossovers to identify trends. The main experts include logic for sending trade detai

MT4MT5 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of Mql Trading Signals

Uncle Bean BWMFI MA

by TheUncleWhoGrowsBeans
2 stars

This MetaTrader 4 expert advisor utilizes a strategy combining Bill Williams Market Facilitation Index colors and Moving Averages. It features a multi-currency scanner that allows the robot to monitor and trade multiple symbols from a single chart using a comma-separated input list. Traders can toggle a filter to only

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Uncle Bean BWMFI MA

Azizkhani

by azizkhani
2 stars

Azizkhani is a technical expert advisor for MetaTrader 5 that executes trades based on a combination of MACD and Commodity Channel Index indicators. The robot enters buy or sell limit orders when the CCI exceeds specific thresholds and the MACD aligns with the trend direction. It features a simplified logic for managin

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Azizkhani
2 stars

This expert advisor for MetaTrader 4 executes a trend-following strategy using technical indicators. It calculates entry signals by monitoring moving averages and utilizes price envelopes as a volatility filter. The system also tracks the Average True Range to evaluate momentum and market shifts. Risk management includ

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 6 years ago None stated GitHub repository of Forex Trend Trader

Ray Scalper

by ThePathsOfSaga
2 stars

Ray Scalper is an automated expert advisor for MetaTrader 4 that uses technical indicators to trade both trend-following and counter-trend strategies. It monitors Bollinger Bands, Moving Averages, and Stochastic crossovers to trigger entries. The robot allows users to toggle between trend and anti-trend modes and inclu

MT4 Trading robot ScalpingIndicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Ray Scalper

ADX Martingale EA

by MatthewWebster10
2 stars

This MetaTrader 4 expert advisor uses the Average Directional Index to identify and trade market trends. It implements a volatility-based risk management system using the Average True Range to calculate stop loss and take profit levels dynamically. The strategy includes a configurable martingale lot scaling mechanism a

MT4 Trading robot Trend followingMartingale High risk
Updated 7 years ago None stated GitHub repository of ADX Martingale EA

EAM1 Ichimoku

by maleman
2 stars

EAM1 is a MetaTrader 5 expert advisor that utilizes the Ichimoku Kinko Hyo technical indicator to identify trading opportunities. The robot monitors the Tenkan, Kijun, and Senkou Span components to generate signals based on trend direction and component crossovers. Users can adjust the periods for the fast and slow lin

MT5 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of EAM1 Ichimoku

NNF Confirmation Indicator Testers

by marinelligiovanna
2 stars

This MetaTrader 4 collection provides a testing framework for trend confirmation indicators based on the No Nonsense Forex methodology. It includes three Expert Advisors designed to evaluate different signal types: Zero Line crosses, Two Line crosses, and Chart indicators. The system simulates trades at candle closes u

MT4 Utility Trend followingIndicator crossover
2 stars

This MetaTrader 4 expert advisor collection includes two distinct robots designed for trend-following and trend-breakout strategies. The system utilizes technical indicators such as Moving Averages and Bollinger Bands to identify market entry points and monitor price action. It features hardcoded logic for managing tra

MT4 Collection Trend followingBreakout
Updated 7 years ago None stated GitHub repository of Auto Trade Trend Keep

Scalpy Scalping Algorithm

by pedrojespina
2 stars

Scalpy is an automated scalping robot for MetaTrader 4 that utilizes multiple Exponential Moving Averages across different timeframes to identify entry signals. The system analyzes the 8 and 21 EMAs on the H1 timeframe for trend anchoring while using the 8, 13, and 21 EMAs on the M5 chart for execution. It includes a m

MT4 Trading robot ScalpingIndicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Scalpy Scalping Algorithm
2 stars

This repository contains a collection of MetaTrader 5 expert advisors, primarily featuring the Pato Novo robot. Pato Novo utilizes moving average signals for trade entries and manages risk with fixed lot sizing, stop loss, and take profit parameters. It includes logic to limit the number of consecutive winning or losin

MT5 Collection Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Pato Novo MQL5 Collection

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

Simple System MQL4

by jnietosa
2 stars

This MetaTrader 4 expert advisor executes trades based on price movement relative to a specific daily start hour. It functions by comparing current prices to historical hourly opens, seeking specific pip deviations to trigger entries. The EA includes risk management features such as fixed lot sizing, hard stop loss, ta

MT4 Trading robot Mean reversionTrend following
Updated 7 years ago None stated GitHub repository of Simple System MQL4

Adeline SMA Crossover

by ManiSanthamohan
2 stars

Adeline SMA Crossover is a MetaTrader 4 expert advisor that automates trading based on Simple Moving Average (SMA) crossover signals. The repository provides two versions of the strategy, utilizing SMA 40 and SMA 70 periods to identify trend shifts. The robot enters trades when a short-term moving average crosses the l

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Adeline SMA Crossover
2 stars

This MetaTrader 4 repository contains a collection of expert advisors utilizing various technical indicators for Forex trading. One included EA uses Keltner Channels and Average True Range to determine market entries and exits. It features configurable risk management, including fixed or percentage-based lot sizing, st

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk
2 stars

This repository contains a collection of MetaTrader 4 expert advisors and utility functions. The primary component is a multi-symbol dashboard that manages trades using specialized indicators and various exit strategies. It features advanced trade management tools including multiple trailing stop methods such as ATR, B

MT4 Collection Multi-strategyMartingaleTrend following High risk

DayT

by bogdyak
2 stars

DayT is an automated trading expert advisor for MetaTrader 4 that executes trades based on technical indicators. It utilizes a dynamic position sizing model where lot sizes are calculated using a risk factor relative to the account free margin and leverage. The system includes various trade management features such as

MT4 Trading robot Indicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of DayT
2 stars

This MetaTrader 4 expert advisor utilizes the MACD and ZigZag indicators to identify potential market entries based on price action swings. It tracks historical highs and lows using standard ZigZag parameters like depth, deviation, and backstep to detect trend reversals. A unique aspect of this EA is the integration of

MT4 Trading robot Trend followingMean reversion
Updated 8 years ago None stated GitHub repository of MACD ZigZag Trader

Project Pips

by taldan333
2 stars

Project Pips is a MetaTrader 4 expert advisor that automates trades based on moving average crossover signals. It includes a variety of entry and exit parameters, such as the ability to close positions on opposite signals or reverse positions based on price distance. Risk management is highly configurable, offering fix

MT4 Collection Indicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of Project Pips

EMA RSI Expert

by nasimalsajjad
2 stars

This MetaTrader 4 expert advisor implements a technical trading strategy based on the Exponential Moving Average and Relative Strength Index. It triggers buy orders when both indicators align bullishly and sell orders when they align bearishly. Specifically, it monitors RSI levels for overbought and oversold conditions

MT4 Trading robot Mean reversionTrend following
Updated 8 years ago None stated GitHub repository of EMA RSI Expert

EMA RSI Expert

by nasimalsajjad
2 stars

This MetaTrader 4 expert advisor executes trades based on the alignment of Exponential Moving Average and Relative Strength Index indicators. The system enters buy orders when RSI suggests an oversold condition alongside bullish EMA momentum, and sell orders for overbought bearish conditions. It uses a fixed lot size a

MT4 Trading robot Trend followingMean reversion
Updated 8 years ago None stated GitHub repository of EMA RSI Expert

TW Star Bot

by TradingWizards
2 stars

This MetaTrader 4 expert advisor implements an automated trading strategy based on a combination of technical indicators, including the Relative Strength Index, Moving Averages, and MACD. The bot evaluates price action against these indicators to determine trade entries. It manages active positions using a fixed lot si

MT4 Trading robot Trend followingIndicator crossover
Updated 9 years ago None stated GitHub repository of TW Star Bot

Smart Billionaires

by FIU-SCIS-Senior-Projects
2 stars

This MetaTrader 5 repository is a collection of various Expert Advisors and trading utilities. The primary EA implements a strategy based on the Relative Strength Index (RSI), Bollinger Bands, and Parabolic SAR indicators. It executes trades using overbought and oversold levels in conjunction with volatility bands. Ris

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 9 years ago None stated GitHub repository of Smart Billionaires

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 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

Ichimoku Framework

by reuniware
2 stars

This MetaTrader 5 expert advisor is a research-oriented framework designed to scan and analyze Ichimoku Kinko Hyo indicator criteria across multiple symbols. It evaluates price positions relative to the Chikou Span, Senkou Span A, and Senkou Span B to identify market reactions. The utility includes features for exporti

MT5 Framework & template Trend following
Updated 9 years ago None stated GitHub repository of Ichimoku Framework

My First Strategy

by toticavalcanti
2 stars

This MetaTrader 4 expert advisor implements a multi-indicator technical strategy generated using the FxPro Quant tool. The robot identifies entry points by analyzing the confluence of an Exponential Moving Average, Relative Strength Index, MACD, and Bollinger Bands. It specifically looks for rising momentum and trend a

MT4 Trading robot Trend followingIndicator crossover
Updated 10 years ago None stated GitHub repository of My First Strategy

ATR Session EA

by dsinnig
2 stars

ATR Session EA is an automated trading robot for MetaTrader 4 that utilizes session-based logic and the Average True Range indicator. The software monitors market activity through a session factory, identifying potential entries based on price thresholds for higher highs and lower lows. It employs a structured trade ma

MT4 Trading robot BreakoutTrend following
Updated 11 years ago None stated GitHub repository of ATR Session EA

Donchian Trend Follow EA

by WayneTradeFr
1 stars

This EA is a trend following robot for XAUUSD on MetaTrader 5. It enters trades using Donchian channel breaks with an ensemble of three periods (30, 60, 120) requiring a minimum of 2 votes. Multiple filters including t-statistic, efficiency ratio, volatility regime, session, spread, news, higher timeframe, and channel

MT5 Trading robot Trend following
Updated 3 days ago None stated GitHub repository of Donchian Trend Follow EA

FvgGold

by levelium
1 stars

The FvgGold EA is a MetaTrader 5 trading robot for XAUUSD gold. It detects Fair Value Gaps on M15 timeframe, scoring them for quality including size, displacement, HTF alignment, freshness and premium discount. It requires Order Block confluence and filters trades by H1 EMA trend bias and killzone sessions for London a

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 4 days ago None stated GitHub repository of FvgGold

XAUUSD Bot

by Imma09-ahl
1 stars

The XAUUSD Bot is a MetaTrader 5 robot for automated gold trading on XAUUSD. It identifies entry signals on M15 timeframe using candlestick body ratios, swing lookback, ATR volatility filters, and trend indicators like EMAs. Trades open only when all conditions pass including 1% equity risk per trade, ATR-based stop lo

MT5 Trading robot Trend following
Updated 8 days ago Apache-2.0 GitHub repository of XAUUSD Bot

Nuvens Gold Breakout

by Davimedeirosisj
1 stars

Nuvens Gold Breakout is a MetaTrader 5 EA that trades XAUUSD gold using breakout strategies with pending Buy Stop and Sell Stop orders. It applies an ATR volatility gate to prevent new trades when ATR falls below the minimum threshold. Signals form on M30 timeframe with an optional H4 EMA trend filter for confirmation.

MT5 Trading robot BreakoutTrend following
Updated 13 days ago None stated GitHub repository of Nuvens Gold Breakout

FakeMoonDog

by kenjiCRac
1 stars

The FakeMoonDog EA is an MT5 robot for XAUUSD gold trading. It switches between breakout mode for trending conditions using signals from Nova, Apex, Zenith, Pulse and Eclipse patterns, and grid mode for sideways markets with ADR or ATR spacing. Trades enter on breakouts or grid levels and exit at take profit targets or

MT5 Trading robot Trend followingGridBreakout High risk
Updated 13 days ago None stated GitHub repository of FakeMoonDog

Autotrader

by hamamun
1 stars

Autotrader is a fully automatic MT5 expert advisor that reads M30, M15 and M5 timeframes to detect bias and place limit orders. It enters trades using a two-sided direction engine that combines Nadaraya-Watson regression, Ehlers Super Smoother, Laguerre RSI, Kalman trend lines, Smart Money Concepts and volume flow anal

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 13 days ago None stated GitHub repository of Autotrader
1 stars

GoldV4 Institutional Scalper is a dual-strategy algorithmic trading robot for XAUUSD on MetaTrader 5. It runs two independent strategies targeting different microstructures on the M1 timeframe, one capturing late-NY-to-Tokyo handoff and the other London open volatility surge. Entries use an 8-point confluence score acr

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 13 days ago Custom licence GitHub repository of GoldV4 Institutional Scalper
1 stars

This MetaTrader 5 expert advisor trades gold on a trend-continuation setup. It waits for a fast smoothed moving average pullback and a confirming candle that closes with the trend, then opens one market order. Stop loss sits beyond the pullback wick, with a minimum ATR distance and a default maximum of 15 price units t

MT5 Trading robot Trend followingIndicator crossover
Updated 2 weeks ago None stated GitHub repository of Gold Trend Confirm Lock

Kaybambodlabfx SMC

by jetloo66-dot
1 stars

Kaybambodlabfx SMC is a MetaTrader 5 expert advisor that executes trades based on market regime classification and Smart Money Concepts (SMC). The system employs a multi-timeframe approach, scanning structures from the daily chart down to one-minute intervals to establish a master bias. It uses ADX, ATR, and swing poin

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 weeks ago None stated GitHub repository of Kaybambodlabfx SMC

MT5 Forex Demo Bot

by noahtarik60-a11y
1 stars

The MT5 Forex Demo Bot is an expert advisor that automates forex trading on the MetaTrader 5 platform. It uses exponential moving averages with fast and slow periods to detect crossovers on the M15 timeframe and enters buy trades when the fast EMA crosses above the slow EMA, and sell trades when it crosses below. Each

MT5 Trading robot Indicator crossoverTrend following
Updated 2 weeks ago None stated GitHub repository of MT5 Forex Demo Bot
1 stars

Gold Micro HyperScalp EA is a MetaTrader 5 expert advisor focused on XAUUSD trading at M1 timeframe. It employs geometric micro-lot compounding for small accounts with a fallback risk percent setting and lot size cap. Entries trigger on SMC Asian liquidity sweeps, volume spikes, and CPR levels during London and New Yor

MT5 Collection ScalpingSMC / ICT / price actionTrend following High risk
Updated 2 weeks ago None stated GitHub repository of Gold Micro HyperScalp EA

Panda Engine EA

by gian101310
1 stars

Panda Engine EA is a multi-strategy robot for MetaTrader 5 that incorporates four distinct trading modules: BB, Intra, Pullback, and Intra Master. It executes trades based on technical structures, swing points, and a confluence scoring system. The expert advisor includes an exposure guard to manage risk by limiting tot

MT5 Collection Multi-strategyTrend followingMean reversion
Updated 2 weeks ago None stated GitHub repository of Panda Engine EA

CLMCA EA

by pandaluvly
1 stars

CLMCA is a MetaTrader 5 expert advisor for the XAUUSD M15 timeframe. It enters trades on pullbacks to EMA34 and EMA89 with bullish candle confirmation and ADX trend filters from higher timeframes. It exits at a hard stop-loss calculated from EMA89 and ATR14. Risk controls include fixed dollar or percentage of balance l

MT5 Trading robot Mean reversionTrend following
Updated 2 weeks ago MIT GitHub repository of CLMCA EA

Exness ICT Gold EA

by jonathanmentor62-web
1 stars

The Exness ICT Gold EA is a multi-strategy expert advisor for MetaTrader 5. It trades gold using confluence signals from ICT/SMC, liquidity, FVG, order blocks, retests, trend, breakout and volatility analysis across H4, H1, M15 and M5 timeframes. The EA opens and closes trades based on strategy signals and applies risk

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 2 weeks ago None stated GitHub repository of Exness ICT Gold EA

Jackpot Flash Man

by Juste1827
1 stars

The Jackpot Flash Man EA is a trading robot for MT5 that analyzes M1 candle phases and tick microstructure to generate entries. It enters trades on EMA slope conditions, ATR volatility filters, consecutive tick requirements, and predictive engine signals for market regime and candle phase progression. The EA exits posi

MT5 Trading robot Trend followingScalpingSMC / ICT / price action High risk
Updated 3 weeks ago None stated GitHub repository of Jackpot Flash Man
1 stars

This MetaTrader 5 repository contains a large collection of expert advisors developed using the fxDreema visual builder. The primary strategy utilizes a triple moving average system with 200, 25, and 5 periods to detect trends, combined with ATR-based volatility filters for trade exits. It features grid-based order lay

MT5 Collection GridIndicator crossoverTrend following High risk
Updated 3 weeks ago None stated GitHub repository of Amighade MQL5 Collection

More Expert Advisor Categories

Browse all 2,090 EAs

Third-party code. ForexR lists open-source EAs from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each repository's README and code. Read the code, backtest it and use a demo account first. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

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.

Run EAs With a Broker That Supports MT4 and MT5

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

Compare brokers