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.

1,037 EAs match Clear filters

Punlie Raging

by punlie
2 stars

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

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

Price Export

by dnc77
2 stars

This utility for MetaTrader 5 exports historical and real-time price data from the active chart symbol to CSV files. It records open, high, low, close, and volume information, saving these files directly to the platform's local file directory. The tool allows users to select multiple timeframes for export simultaneousl

MT5 Utility
Updated 1 year ago GPL-3.0 GitHub repository of Price Export

EasyAndFastGUI Library

by loopingfx
2 stars

This library provides a comprehensive framework for developing graphical user interfaces within MetaTrader 5 and MetaTrader 4 applications. It simplifies the creation of custom trading panels, dashboards, and interactive elements through pre-built components and quick-creation methods. The library features improved eve

MT5 Framework & template
Updated 1 year ago None stated GitHub repository of EasyAndFastGUI Library
2 stars

This MetaTrader 5 expert advisor automates a bullish continuation strategy designed primarily for the five-minute timeframe. It identifies long entry opportunities by combining price action with technical trend filters. The robot enters trades when specific candlestick formations, including engulfing or harami patterns

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Bullish Continuation Bot

Position Sizer MT5

by Amaljeevs
2 stars

This MetaTrader 5 utility calculates lot sizes based on account balance, risk percentage, and stop-loss distance. It features a graphical interface with draggable lines for entry, stop-loss, and take-profit levels to assist with precise trade planning. The expert advisor includes a portfolio risk overview, commission a

MT5 Utility
Updated 1 year ago Apache-2.0 GitHub repository of Position Sizer MT5

The AI Quantum Learning Advanced Trailing Stop EA is an automated trading robot for MetaTrader 5 that employs neural network structures and quantum probability calculations. It monitors market patterns by analyzing price changes, volume, volatility, and indicators like RSI. The EA manages risk using fixed stop loss and

MT5 Trading robot AI / machine learningMean reversion

Telegram To MT5 Copier

by salmansoltaniyan
2 stars

Telegram To MT5 Copier is a utility for MetaTrader 5 that bridges communication between Telegram and the trading terminal. It retrieves messages from Telegram channels, groups, and private chats using a custom bot and displays the content directly on the active chart as comments. The tool provides real-time updates bas

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of Telegram To MT5 Copier

This repository features a collection of MetaTrader 5 expert advisors designed for automated trading across various market conditions. The included tools range from grid-based systems like Mecha-Godzilla to range-reversion and breakout strategies. The expert advisors offer modular risk management, including daily loss

MT5 Collection GridMean reversionBreakout High risk

LSF X Engine

by dhruuvsharma
2 stars

LSF X Engine is a MetaTrader 5 expert advisor designed for momentum-based trading through mathematical price smoothing. It utilizes a Kalman filter to reduce market noise and calculates the Least Squares Fitting slope to identify the prevailing trend direction. The strategy triggers entries during high-velocity price b

MT5 Trading robot Trend followingBreakout
Updated 1 year ago CC0-1.0 GitHub repository of LSF X Engine

Boleta MT5

by vfranca
2 stars

Boleta MT5 is a manual trade execution tool for MetaTrader 5 that facilitates order routing via keyboard hotkeys. It allows users to open buy and sell market orders, cancel pending orders, and perform partial or full position closures using customizable shortcut keys. The utility includes basic risk management settings

MT5 Utility
Updated 1 year ago GPL-3.0 GitHub repository of Boleta MT5

Buy Low Sell High EA

by yeainshukla
2 stars

This MetaTrader 4 expert advisor implements a cumulative profit strategy based on support and resistance levels. The system identifies potential trade entries by analyzing historical price extremes over a defined lookback period while excluding recent price action. It manages trade exits collectively, closing the entir

MT4 Trading robot Mean reversionHedging
Updated 1 year ago None stated GitHub repository of Buy Low Sell High EA

Backwater EA

by HERO-FIIFI
2 stars

Backwater EA is a MetaTrader 5 expert advisor that automates trading based on Smart Money Concepts, specifically focusing on Fair Value Gaps and Inversion Fair Value Gaps. The robot monitors price action and market structure to identify entries, filtering signals using a 50-period and 200-period Simple Moving Average c

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 1 year ago None stated GitHub repository of Backwater EA

MAStoch

by Rodorush
2 stars

MAStoch is a MetaTrader 5 expert advisor that executes trades based on moving average crossovers, with an optional Stochastic oscillator filter for overbought and oversold conditions. It features a dual-stage exit strategy allowing for partial closes at different Fibonacci levels or fixed currency targets. Risk control

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of MAStoch

Price Action EA

by Far-1d
2 stars

This MetaTrader 5 expert advisor automates a multi-timeframe price action strategy, identifying price extremes on a higher timeframe to seek entries on a lower timeframe. It features time-of-day filters and robust risk management, including percentage-based position sizing, maximum daily trade counts, and daily profit

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 1 year ago None stated GitHub repository of Price Action EA

Mansa Mussa

by JohnBrandews
2 stars

This MetaTrader 4 expert advisor is an automated trading robot developed using the fxDreema visual building framework. It utilizes an adaptive Relative Strength Index for market analysis and trade execution. The system features risk management controls based on account percentages, including inputs for balance-based si

MT4 Trading robot Mean reversionMartingale High risk
Updated 1 year ago None stated GitHub repository of Mansa Mussa
2 stars

This expert advisor functions as a bridge connecting MetaTrader 4 to Python through a MySQL database and a custom C++ DLL. It facilitates the real-time extraction of market data, including tick prices, account equity, and order information, which are stored in database tables for advanced analysis. The tool also suppor

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of MT4 MySQL Python Bridge

Walking Up The Bands

by techteam92
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on Bollinger Bands. It initiates long positions when price breaks above the upper band during periods of high volatility, attempting to ride extended uptrends. The strategy closes or reverses positions when price breaks below the lower band. A

MT5 Trading robot Trend followingBreakout

Position Sizer

by techteam92
2 stars

The Position Sizer is a trade management tool for MetaTrader 4 and 5 that calculates the appropriate lot size based on account balance and risk tolerance. It allows traders to define risk as a percentage or fixed monetary amount, adjusting the position size dynamically as stop-loss and take-profit lines are moved on th

MT4MT5 Utility
Updated 1 year ago Apache-2.0 GitHub repository of Position Sizer

RSI WMA EA

by shahadatnovel
2 stars

This MetaTrader 5 expert advisor executes trades based on a combination of Relative Strength Index (RSI) and Weighted Moving Averages (WMA) across two timeframes. It compares indicator values against defined buy and sell thresholds on a primary timeframe, with an optional trend filter from a higher timeframe. Risk mana

MT5 Trading robot Mean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of RSI WMA EA
2 stars

AR Position Management BW is a trade manager for MetaTrader 5 that automates protective stop loss adjustments for existing positions. The expert advisor monitors open trades and applies trailing stops based on either Bill Williams Fractals or Moving Average calculations across selectable timeframes. It features a confi

MT5 Trade manager

TonTai Simple Copier

by piyawatton
2 stars

This MetaTrader 4 expert advisor functions as a trade copying utility designed to synchronize orders between different accounts. It utilizes a master-slave architecture where the master instance exports trade data to a common CSV file and the slave instance replicates those positions. The tool provides options for lot

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of TonTai Simple Copier

Ario Averaging

by ariogunawan
2 stars

This MetaTrader 4 expert advisor implements an averaging strategy that manages trades by opening additional layers at predefined intervals when the market moves against the initial position. It features modes for both averaging up and down, with the ability to alternate between buy and sell orders. The EA includes risk

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of Ario Averaging
2 stars

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk
2 stars

This MetaTrader 5 expert advisor utilizes an Echo State Network, which is a type of recurrent neural network, to analyze price action and execute trades. The system computes various statistical inputs, including price volatility, mean values, and Hurst exponent metrics, to feed its reservoir computing model. Risk is ma

MT5 Trading robot AI / machine learningMartingale High risk
Updated 2 years ago None stated GitHub repository of Echo State Network Tester

MT5 Money Printer

by cody-mckeon
2 stars

This MetaTrader 5 expert advisor executes a multi-indicator strategy inspired by the No Nonsense Forex methodology. It combines an SSL indicator for signal confirmation, the Waddah Attar Explosion for volume filtering, and a Geometric Mean Moving Average as a baseline. The robot enters trades based on trend alignment a

MT5 Trading robot Trend followingMulti-strategy
Updated 2 years ago None stated GitHub repository of MT5 Money Printer

Framework4o

by Capital-Advisory-Technology
2 stars

Framework4o is a modular system building framework and expert advisor for MetaTrader 4. It provides a structured environment for developing trading models with pre-defined modules for position and risk management. The core functionality handles entry and exit logic using indicators like DEMA, EMA, and RSI. It includes

MT4 Framework & template Trend followingIndicator crossover
Updated 2 years ago GPL-3.0 GitHub repository of Framework4o
2 stars

This expert advisor provides a technical demonstration of real-time communication between MetaTrader 5 and Python using TCP sockets. It functions as a data bridge, serializing MQL5 information into JSON strings to be processed by an external Python environment. The EA sends synthetic position data and receives response

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of MQL5 Python Socket Bridge

Flood MA Lines ML

by sberkeo
2 stars

Flood MA Lines ML for MetaTrader 5 generates and interprets complex Moving Average trend series to provide data for machine learning and deep learning applications. It uses a mass production algorithm to perform relational trend analysis, measuring trend robustness and identifying price range expectations. The software

MT5 Utility Trend following
Updated 2 years ago GPL-3.0 GitHub repository of Flood MA Lines ML
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on moving average crossovers. It utilizes a fast Exponential Moving Average and a slow Exponential Moving Average for entry signals, with a longer-period Simple Moving Average acting as a trend filter. The robot includes an optional RSI filter

MT5 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Moving Average Crossover EA
2 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for educational purposes. The primary strategies revolve around Commodity Channel Index crossovers and Average True Range indicators for dynamic stop loss and take profit placement. The codebase includes various experimental models, such as

MT5 Collection Indicator crossoverMean reversionMartingale High risk
Updated 2 years ago None stated GitHub repository of MQL5 Learning Collection
2 stars

This repository contains a collection of MetaTrader 5 expert advisor files designed for educational and tutorial purposes. It includes various scripts covering fundamental MQL5 programming concepts such as array manipulation, mathematical functions, and position management. Specific examples demonstrate basic entry log

MT5 Collection Indicator crossoverTrend followingMartingale High risk
2 stars

This MetaTrader 5 expert advisor implements a multi-layered grid strategy that manages up to three independent grids simultaneously on a single instrument. It uses the Relative Strength Index (RSI) across different timeframes to determine the initial trade direction for each grid. The EA employs martingale lot scaling,

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 2 years ago None stated GitHub repository of Springfield 3 Grids
2 stars

This MetaTrader 4 utility acts as a bridge between custom technical indicators and Telegram channels for signal distribution. It monitors specific indicator buffers to identify trade entries and transmits alerts to a designated chat via the Telegram API. The tool is specifically configured for binary options workflows,

MT4 Copier & bridge Martingale High risk

EA MT5 Template

by HermesNWO
2 stars

This MetaTrader 5 expert advisor serves as a development framework for building customized trading robots with external connectivity. It features a built-in bridge to send trade execution data to web APIs and record history in local CSV files. The template includes logic for monitoring position profit and managing trad

MT5 Framework & template
Updated 2 years ago None stated GitHub repository of EA MT5 Template

This repository is a collection of various MetaTrader 5 expert advisors generated through the Mission Automate tool. It contains over 100 separate files covering a wide array of technical strategies, including range breakouts, trend-following systems, and indicator crossovers using Ichimoku, CCI, and Heiken Ashi. Sever

MT5 Collection BreakoutMartingaleTrend following High risk

FaSt EA

by Hohlas
2 stars

FaSt is an automated trading robot for MetaTrader 4 that determines entries based on price extremes and trend direction indicators. The system employs Average True Range (ATR) to calculate dynamic stop loss and take profit levels, ensuring volatility-adjusted risk control. It includes multiple signal filters, trailing

MT4 Trading robot Trend followingBreakout
Updated 3 years ago None stated GitHub repository of FaSt EA
2 stars

This MetaTrader 5 expert advisor automates the placement of buy market and buy stop orders. When no positions are active, the robot enters the market and sets a pending buy stop order based on configurable distance parameters. It features a continuous trailing stop mechanism that tracks price movements without a minimu

MT5 Trading robot Trend followingBreakout
Updated 3 years ago None stated GitHub repository of Buy Order Trail Stop MT5

This MetaTrader 5 expert advisor automates trading strategies based on support and resistance levels. The software identifies price pivot points and monitors price action relative to these boundaries to determine entry signals. It references technical indicators, specifically the Relative Strength Index and Bollinger B

MT5 Trading robot Mean reversionBreakout
2 stars

This MetaTrader 5 expert advisor serves as a technical bridge to integrate Python-based trading models into the platform. It facilitates the testing and validation of external models within the MetaTrader Strategy Tester by utilizing the ONNX format for cross-platform compatibility. The system allows developers to leve

MT5 Copier & bridge AI / machine learning

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

Telegram Alert MT4 Bot

by miniTalDev
2 stars

This expert advisor for MetaTrader 4 acts as a bridge between the trading terminal and Telegram. It monitors the account for new, modified, or closed orders and automatically sends the details to a specified Telegram channel or group using the Telegram Bot API. The tool functions as a signal transmitter, allowing users

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of Telegram Alert MT4 Bot

MQL4 To CSharp Bridge DNNE

by DennisGundersen
2 stars

This framework provides a prototype and tutorial for connecting MetaTrader 4 MQL code to modern .NET 6+ managed code using Dot Net Native Exports. It functions as a technical bridge rather than a trading robot, allowing developers to extend MetaTrader 4 capabilities with C# libraries. The included Expert Advisor serves

MT4 Framework & template

MQL4 Tutorial Collection

by a-forghani-y79
2 stars

This MetaTrader 4 repository serves as a research and development environment for MQL4 algorithmic trading. It includes multiple experimental files focusing on pivot point identification and volume-based price analysis. The code explores custom data structures for price action and seeks to implement specific strategies

MT4 Collection Multi-strategy
Updated 3 years ago None stated GitHub repository of MQL4 Tutorial Collection

OCO Part 1

by OrchardForexTutorials
2 stars

OCO Part 1 is an educational expert advisor for MetaTrader 5 that implements a One-Cancels-the-Other (OCO) trading mechanism. The robot places pairs of pending Buy Stop and Sell Stop orders at a fixed distance from the current market price. Once one order in the pair is triggered or deleted, the EA automatically cancel

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of OCO Part 1

Rest API MT4 Order

by LilyRisa
2 stars

This bridge for MetaTrader 4 enables external control of the trading platform via a REST API. By connecting to a PHP-based web server through a socket, it allows users to perform trading operations like opening and closing orders, fetching trade history, and listing symbols using standard HTTP requests. The expert advi

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of Rest API MT4 Order

NoIndex Modelo

by NoIndexx
2 stars

This MetaTrader 5 expert advisor serves as a base model or template for trend-following strategies. It utilizes three distinct moving averages—fast, medium, and slow—to identify market direction and potential entry points. The system includes built-in risk management parameters for fixed lot sizing, stop loss, and take

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of NoIndex Modelo
2 stars

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

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

This MetaTrader 5 utility provides an on-chart interface for manual trade execution and risk management. It allows users to open long and short positions with integrated stop loss and take profit levels calculated using a custom risk-to-reward ratio. The tool features an automated lot size calculator that adjusts posit

MT5 Utility
Updated 4 years ago None stated GitHub repository of AR Universal Trading Panel

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