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.

832 EAs match Clear filters

Sniper Profit

by mcvdt07
1 stars

Sniper Profit is a MetaTrader 4 management utility that monitors aggregate floating profit and loss across all open positions. It utilizes a trailing take profit mechanism that activates once a specific equity trigger is reached, allowing the total basket profit to trail by a set distance. The tool includes risk manage

MT4 Trade manager
Updated 5 years ago None stated GitHub repository of Sniper Profit

Swift Trader

by Krazy-Owl
1 stars

Swift Trader is a manual trading utility for MetaTrader 4 that assists users in executing trades using visual chart objects. It creates horizontal lines representing entry, stop loss, and take profit levels, allowing traders to position their orders graphically. The tool includes risk management features such as fixed

MT4 Utility
Updated 5 years ago None stated GitHub repository of Swift Trader

HLHB Trend Catcher

by Martian4x
1 stars

This MetaTrader 4 expert advisor is designed to capture price trends by combining moving average crossovers with momentum oscillators. It monitors fast and slow moving averages for entry signals while utilizing a long-term trend moving average as a directional filter. The Relative Strength Index is incorporated to vali

MT4 Trading robot Trend followingIndicator crossover
Updated 5 years ago None stated GitHub repository of HLHB Trend Catcher

Wise Chaos Crypto

by marioluk
1 stars

Wise Chaos Crypto is an automated trading robot for MetaTrader 4 designed primarily for cryptocurrency markets. It utilizes elements of Bill Williams' Chaos theory, specifically the Alligator indicator and Fractals, to identify entries and manage exits. The system scans a user-defined number of bars for divergent price

MT4 Trading robot Trend followingMean reversion
1 stars

This MetaTrader 4 expert advisor automates an inside bar momentum strategy based on price action patterns. It identifies dual candlestick formations where the second bar's range is entirely contained within the high and low of the mother bar. The robot monitors the four-hour timeframe to detect volatility contractions

MT4 Trading robot BreakoutTrend following

This repository provides a collection of MetaTrader 4 expert advisors centered on trend-following and hedging mechanics. The primary Trend EA identifies market entries using moving average crossovers, stochastic oscillators, and MACD indicators. Risk is managed through percentage-based equity lot sizing and pair-specif

MT4 Collection Trend followingIndicator crossoverHedging
1 stars

This MetaTrader 4 expert advisor functions as a semi-automatic trading assistant designed to automate lot sizing and position management. It calculates position sizes based on the user account balance, a target interest rate, and a specific pips distance. The tool provides manual execution buttons for immediate buy and

MT4 Trade manager

Analise Do Grafico IQ

by carlosnowatzki
1 stars

Analise Do Grafico IQ is a MetaTrader 4 expert advisor that automates trading based on technical indicator signals. The robot utilizes the Moving Average Convergence Divergence (MACD) indicator to identify momentum shifts and an Exponential Moving Average (EMA) to filter for the prevailing trend. It opens buy and sell

MT4 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Analise Do Grafico IQ
1 stars

MT4 Common Functions Library is a developer-focused utility framework for the MetaTrader 4 platform. It provides a collection of encapsulated helper functions designed to simplify common programming tasks in MQL4. The primary functionality involves a flexible file management system capable of creating, reading, and app

MT4 Framework & template

Forex Bot Collection

by MrMohebi
1 stars

This collection of MetaTrader 4 expert advisors serves as a practice environment for MQL4 development. The scripts primarily focus on moving average crossover logic, utilizing 50-period Simple Moving Average and 15-period Exponential Moving Average indicators. Additionally, the code implements swing high and low detect

MT4 Collection Indicator crossoverSMC / ICT / price actionScalping
Updated 5 years ago None stated GitHub repository of Forex Bot Collection
1 stars

This MetaTrader 4 expert advisor monitors tick volume patterns to identify periods of increasing market activity. It analyzes the volume of the four most recent candles, triggering signals when volume increases consecutively over four bars. Upon detection, the EA generates a terminal alert, displays a message box, and

MT4 Utility
Updated 5 years ago None stated GitHub repository of Volume Indicator Alert

Algotrader Germany Samples

by algotrader-germany
1 stars

This repository provides sample Expert Advisors for MetaTrader 4 and 5, focusing on a Donchian Channel breakout system. The robot identifies entries based on price breaking through the highest high or lowest low of a defined lookback period. Risk management is handled through percentage-based stop losses, take profits,

MT4MT5 Collection BreakoutTrend following
Updated 5 years ago None stated GitHub repository of Algotrader Germany Samples

Forex Brother Algo 1

by hkmarquix
1 stars

This MetaTrader 4 expert advisor implements a multi-strategy framework for automated trading across various symbols. It incorporates several technical entry signals, including Ichimoku, Bollinger Bands, and ADX-filtered logic. The EA provides multiple trade management options, explicitly including martingale lot scalin

MT4 Trading robot Multi-strategyMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Forex Brother Algo 1

BreakEven V3

by look416
1 stars

This MetaTrader 4 expert advisor is a trade management utility designed to automate break-even adjustments for open positions. It monitors active trades and moves the stop loss to a locked-in profit level once the market reaches a specified distance in pips. The tool supports managing up to three distinct trade targets

MT4 Trade manager
Updated 5 years ago None stated GitHub repository of BreakEven V3

Matrix Martingale

by derek-mu
1 stars

Matrix Martingale is a MetaTrader 4 expert advisor designed to trade price action based on previous candle ranges. It utilizes a fixed Martingale lot scaling sequence across ten levels to manage trades. Entries are determined by Fibonacci levels, specifically placing orders at 25% or 50% retracements of the previous ca

MT4 Trading robot MartingaleMean reversion High risk
Updated 5 years ago None stated GitHub repository of Matrix Martingale

X-15 Framework

by dynamicprogrammingsolutions
1 stars

The X-15 Framework is a modular development template for creating MetaTrader 4 expert advisors. It serves as a foundation for programmers to build custom trading systems by providing pre-built modules for order management, signal processing, and trade filters. The included template features standard risk management con

MT4 Framework & template
Updated 5 years ago None stated GitHub repository of X-15 Framework

Nampin Man

by KotaroHashimoto
1 stars

This MetaTrader 4 expert advisor implements a grid-based averaging strategy known as Nampin. The robot monitors open buy and sell positions, calculating aggregate lot sizes and floating profits. It uses a fixed lot multiplier of 1.5 to scale positions when the market moves against the initial trade by a set span. The s

MT4 Trading robot GridMartingale High risk
Updated 5 years ago None stated GitHub repository of Nampin Man

EA Forex Collection

by pesivodich
1 stars

This repository contains a collection of MetaTrader 4 expert advisors, primarily focused on grid and martingale strategies. The featured Ilan-TrioKS system uses automated lot scaling with a multiplier to manage series of trades. It opens positions at fixed pip intervals and aims to exit the entire basket at a calculate

MT4 Collection GridMartingaleScalping High risk
Updated 5 years ago None stated GitHub repository of EA Forex Collection

Zone Hedging EA

by sompol13
1 stars

This MetaTrader 4 expert advisor implements a zone-based hedging strategy using predefined price levels. The robot monitors specific price thresholds—defined as ceiling, middle, and floor—to manage order entries. It utilizes a timer-driven event system to evaluate trade conditions and manage positions. Risk control is

MT4 Trading robot HedgingGrid High risk
Updated 5 years ago None stated GitHub repository of Zone Hedging EA

Area Fifty One

by Valerzen88
1 stars

This MetaTrader 4 expert advisor utilizes a modular approach to automated trading, offering multiple selectable strategies including trend-following, RSI mean-reversion, and moving average crossovers. It calculates entries using indicators like ADX, Stochastic, and Hull Moving Averages. Risk management is handled throu

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Area Fifty One
1 stars

This MetaTrader 4 repository contains a collection of automated trading scripts designed for the foreign exchange market. The primary robots include Mover, which utilizes moving average crossovers to identify trends, and Cristos, which focuses on market openings and news events. The collection also features a semi-auto

MT4 Collection Indicator crossoverTrend followingNews
Updated 5 years ago None stated GitHub repository of Small Scripts EA Collection
1 stars

This MetaTrader 4 expert advisor acts as a multi-symbol scanner that monitors the Relative Strength Index and Money Flow Index indicators. It evaluates market conditions across six timeframes simultaneously, ranging from one-minute to four-hour charts. The logic triggers when both indicators reach specific overbought o

MT4 Utility Mean reversion
Updated 5 years ago None stated GitHub repository of RSI MFI Trading Algorithm
1 stars

This MetaTrader 4 expert advisor automates binary options trading for the Intrade.bar broker. It functions as a signal generator and bridge, utilizing a dual Bollinger Band strategy to identify entry points. The EA communicates with an external C++ console application via a named pipe to execute trades through a REST A

MT4 Trading robot Mean reversion

MFI Expert

by Hamzeh24w
1 stars

This MetaTrader 4 expert advisor implements a trading strategy centered on the Money Flow Index (MFI) indicator. It opens buy positions when the MFI crosses below a user-defined threshold and sell positions when it crosses above a threshold. To manage losing trades, the EA employs a martingale-style lot scaling mechani

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 5 years ago None stated GitHub repository of MFI Expert

RSI Expert Advisor

by Fridgeface
1 stars

This expert advisor for MetaTrader 4 executes trades based on the Relative Strength Index indicator. It enters long positions when the RSI period 14 crosses below the 30 level and short positions when it rises above 70. The robot maintains a simple logic of managing a single trade at a time with a fixed volume of 0.10

MT4 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of RSI Expert Advisor
1 stars

Xurya Algorithmic Trading is a collection of MetaTrader 4 expert advisors centered on breakout strategies and volatility analysis. The primary EA uses a breakout mechanism with entries filtered by price action across a defined number of bars. It features risk controls including fixed percentage lot sizing based on acco

MT4 Collection BreakoutHedging
Updated 6 years ago None stated GitHub repository of Xurya Algorithmic Trading

Daily Momentum EA

by leocasanova
1 stars

Daily Momentum EA is a MetaTrader 4 robot that automates trading based on the Moving Average Convergence Divergence (MACD) indicator. It identifies entry points by analyzing the sequence of the MACD histogram over three periods to find momentum shifts. The EA specifically targets the daily timeframe and includes a vali

MT4 Trading robot Trend following
Updated 6 years ago None stated GitHub repository of Daily Momentum EA

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303

Falcon B

by josephxskum
1 stars

Falcon B is a MetaTrader 4 robot developed for the Lazy Trading Project, designed to integrate with external decision support systems. It uses a combination of moving average crossovers and Keltner Channels to identify trade entries. The system includes robust risk management features, allowing for fixed or volatility-

MT4 Trading robot Indicator crossover
Updated 6 years ago MIT GitHub repository of Falcon B

Cross MA

by Mahdi24w
1 stars

This MetaTrader 4 expert advisor executes a classic moving average crossover strategy. It monitors two Simple Moving Averages with customizable periods to identify trend shifts. When the fast average crosses above the slow average, the robot initiates a buy order; a crossover below triggers a sell order. The system res

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

Algo 01

by expdal3
1 stars

Algo 01 is a MetaTrader 4 expert advisor that executes trades based on moving average crossover signals. It references an external custom indicator path for signal generation and allows users to define fast and slow moving average periods for its logic. The robot includes risk management features such as percentage-bas

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Algo 01

Account Recorder

by mazmazz
1 stars

Account Recorder is a utility for MetaTrader 4 and 5 that exports trading transactions and account metrics to external SQL databases via the ODBC interface. It supports MySQL, PostgreSQL, and SQLite, enabling users to maintain an auditable, platform-agnostic history of their trading activity. The tool records account s

MT4MT5 Utility

Inside Bar Momentum

by Martian4x
1 stars

Inside Bar Momentum is a MetaTrader 4 expert advisor that identifies and trades candlestick breakout patterns. The robot scans for inside bar formations, where a candle is completely contained within the previous candle's price range. It uses a stochastic oscillator to filter momentum, requiring specific overbought or

MT4 Trading robot BreakoutMean reversion
Updated 6 years ago None stated GitHub repository of Inside Bar Momentum

Ultima

by thevictorwhyte
1 stars

Ultima is a trend-following expert advisor for MetaTrader 4 that utilizes moving average crossovers and the Average Directional Index to identify market momentum. Generated via a template builder, it monitors the relationship between multiple exponential moving averages and a long-term simple moving average. The EA inc

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

TeGi Trading Panel

by guaponi
1 stars

TeGi is a manual trading panel and management utility for MetaTrader 4 that bridges local trade execution with Telegram groups or channels. It allows users to open buy or sell orders with predefined stop loss and take profit levels while automatically broadcasting trade signals and screenshots to a connected bot. The e

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of TeGi Trading Panel

Cuckoos MT4

by m10i1986
1 stars

Cuckoos MT4 is a notification expert advisor for MetaTrader 4 that bridges account activity to Discord via webhooks. This utility monitors the trading account and sends automated updates whenever the total number of open orders changes or during initialization. The messages delivered to Discord contain detailed account

MT4 Copier & bridge
Updated 6 years ago MIT GitHub repository of Cuckoos MT4

PTL EA

by ptluan2011
1 stars

PTL EA is a MetaTrader 4 expert advisor that monitors financial markets for technical trade setups using price action and trend analysis. It evaluates market conditions across various instruments, including forex pairs, gold, and global indices, by identifying candlestick patterns and key support and resistance zones.

MT4 Trading robot Trend followingSMC / ICT / price actionIndicator crossover
Updated 6 years ago None stated GitHub repository of PTL EA
1 stars

This repository contains a collection of MetaTrader 4 programs, including expert advisors, indicators, and scripts. The provided files appear to be utility tools rather than automated trading robots, with names suggesting functions for account monitoring, folder management, and time-based tasks. The project provides mi

MT4 Collection
Updated 6 years ago None stated GitHub repository of HPCS MetaTrader Collection

Trade RSI 30-70

by iamgenes
1 stars

This MetaTrader 4 expert advisor implements a mean-reversion strategy using the Relative Strength Index. It monitors for overbought conditions above 70 and oversold conditions below 30 to trigger trade entries. When a signal occurs, the EA clears existing pending orders of the opposite type and places a batch of thirty

MT4 Trading robot Mean reversion
Updated 6 years ago None stated GitHub repository of Trade RSI 30-70

Jaibot

by juzailie
1 stars

Jaibot is a MetaTrader 4 expert advisor designed for scalping on the M15 timeframe. The software monitors a wide range of forex pairs, scanning for opportunities every five minutes via a timer-based function. It includes built-in Telegram integration using an external library to provide remote notifications and status

MT4 Trading robot Scalping
Updated 6 years ago None stated GitHub repository of Jaibot

Lancers System Trade App

by Lancers-itoh
1 stars

This MetaTrader 4 expert advisor functions as a trade receiver or bridge for external web services. It uses the WebRequest function to poll a Heroku-hosted URL for trading data and instructions. The software parses incoming text strings to identify specific trade parameters and synchronize the local terminal with the r

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Lancers System Trade App

IBand EA

by Anter10
1 stars

This MetaTrader 4 repository provides a collection of expert advisors, featuring the IBandEA system designed for gold trading on the 5-minute timeframe. The robot executes trades based on price deviations from a central indicator line and specific candle high-low ranges. It incorporates risk management through a lot si

MT4 Collection Mean reversionMartingaleIndicator crossover High risk
Updated 6 years ago None stated GitHub repository of IBand EA

Discretion Algo

by BenWhittakerTM
1 stars

Discretion Algo is a collection of MetaTrader 4 experts designed for automated trading based on technical price action patterns. The repository provides distinct modules for identifying liquidity sweeps and engulfing candle formations. The system employs multi-timeframe analysis, by default analyzing price data across

MT4 Collection SMC / ICT / price actionMulti-strategy
Updated 6 years ago None stated GitHub repository of Discretion Algo

EMA 200 EA

by MrKali
1 stars

This MetaTrader 4 expert advisor executes a strategy based on the 200-period Exponential Moving Average. It identifies potential entries when price action deviates from the EMA, specifically seeking bearish candles below the average for buy orders and bullish candles above the average for sell orders. The robot include

MT4 Trading robot Mean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of EMA 200 EA

TradeRobot

by Wrobless
1 stars

TradeRobot is a manual trading panel for MetaTrader 4 that facilitates trade execution and order management. It allows users to open buy and sell positions directly from the chart using graphical buttons. The utility incorporates essential risk management features, including fixed lot sizing, stop loss, take profit, an

MT4 Utility
Updated 6 years ago None stated GitHub repository of TradeRobot

QGA SVM Forex

by TerenceLiu98
1 stars

This repository provides a framework for integrating machine learning and quantum physics models with MetaTrader 4 and 5. It aims to implement a Quantum Genetic Algorithm and Support Vector Machine for feature selection and price classification. The system utilizes a ZeroMQ bridge to connect Python 3.8 with the trading

MT4MT5 Framework & template AI / machine learning
Updated 6 years ago BSD-3-Clause GitHub repository of QGA SVM Forex
1 stars

This repository provides a collection of MetaTrader 4 and MetaTrader 5 resources, including standard MetaQuotes examples and custom trading tools. A primary feature is the 3D correlation matrix utility, which uses the Canvas3D library to visualize price relationships across multiple symbols. The collection also include

MT4MT5 Collection GridIndicator crossoverMulti-strategy High risk

MT4 Trading Collection

by paulnheera
1 stars

This collection of MetaTrader 4 scripts and experts features an automated trading robot based on the MACD indicator. It identifies entry points using MACD signal line crossovers filtered by an Exponential Moving Average to determine trend direction. The system includes built-in risk controls such as fixed lot sizing, t

MT4 Collection Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of MT4 Trading Collection

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