Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top Expert Advisors for MetaTrader 5 based on user ratings - 3

Submit your code

Quantum System - Uses quantum states and probabilities to make decisions.

BreakRevertPro EA merges breakout and mean reversion strategies with adaptive SL/TP and multi-timeframe ATR trailing stops for flexible trading in volatile markets.

Simple_Grid is the simplest "grid" EA.

Professional trade management panel: one-click Buy/Sell with auto lot sizing, smart trailing stop (ATR/Fixed/Candle), automatic breakeven, multi-TP partial close system (TP1/TP2/TP3), and one-click pending orders. All-in-one order management for serious traders.

This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.

a Simple Visual Strategy Tester / Manual Trade Training using Martingale.

The EA only trades buy positions and does not use SL and TP.

This is an auxiliary take profit and stop loss tool, which can help you to tight stop loss and dynamic take profit. Updated

Download all the ticks from your broker for all the symbols in the market watch. Download all history or until a specific date in the past if available.

This is a piece of code to add to an existing Expert advisor to track withdrawals from your account where the EA is running. It helps the user to monitor his or her withdrawals from a particular account.

try to imitate trading system using expert advisor

Name of expert is 'MultiStrategyEA'

Tarantella EA: Advanced grid trading system with hedging capabilities and Market Profile integration. Uses ADX trend filtering, Fibonacci-based grid spacing, and multi-layered entry conditions (RSI/ATR/volume) to execute trades only within Market Profile value areas. Features intelligent risk management including trailing stops, breakeven triggers, and partial hedge closing.

Introducing MP by SPLpulse, a sophisticated and highly versatile Expert Advisor designed for the modern trader. Whether you are a scalper, a trend follower, or a reversal trader, MP by SPLpulse combines multiple trading strategies with an institutional-grade risk management suite to adapt to your unique trading style. Take control of your trading with unparalleled customization and powerful automation.

adoption of Larry William's method using AI Time-Series XGBoost

A free, open-source breakout scalping Expert Advisor for MetaTrader 5 by AlgoSphere Quant. It implements a strict seven-condition entry system where every condition must align simultaneously before any trade is taken.

KSQ Fair Value Gap EA automatically trades institutional FVG zones with built-in regime detection to filter out low-quality setups in ranging markets. STRATEGY Detects 3-bar bullish and bearish FVG patterns. Enters on confirmed pullbacks into the zone. Each FVG fires once only. REGIME FILTER EMA trend bias, ADX strength filter, or both combined. Configurable higher timeframe (M15–D1). SL & TP Both support ATR-based or fixed-points mode, set independently. LOT SIZING Fixed lot or % risk-based — switchable from inputs. TRADE MANAGEMENT Break-even stop, partial close, and ATR/points trailing stop. RISK PROTECTION Daily and total drawdown kill switches. Max trades per direction cap. Session time filter. It's not yet optimised for any pair

ASQ CommandDesk is a professional order management panel for manual traders on MetaTrader 5. You make the trading decisions — CommandDesk handles execution, risk control, and exit management automatically.

Prime Quantum AI is an MT5 Expert Advisor combining a classical pre-filter (ADX + Alligator) with AI vision-based chart confirmation from major AI providers (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok). When the pre-filter detects a trend setup, the EA captures three adaptive- timeframe chart screenshots and sends them to the configured AI provider, which returns direction, confidence, stop-loss and take-profit. A trade is opened only when the AI confirms the pre-filter signal with sufficient confidence. Features: dual Standard Broker / Prop Firm risk modes, configurable lot sizing, optional martingale, multiple SL/TP modes, trailing stop, partial close, news/time/day/spread filters, draggable on-chart info panel, and fully exposed indicator parameters. Requires MetaTrader 5, WebRequest enabled for your provider's URL, and a valid API key. Provider auto-detected from key format.

Detecting the start of a new bar or candle in an Expert Advisor's OnTick() event handler.

To use martingale money management when a position is in loss and price hits any of specific distances.

The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.

EXSR.mq5: A counter‑trend MT5 EA that catches reversals by combining RSI(14) extremes with Bollinger Band breakouts and a reversal candlestick, placing one trade per symbol with fixed SL/TP.

"This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."

The Expert Advisor works with pending orders Buy Stop and Sell Stop according to the time specified in its input parameters.

The simplest Expert Advisor that analyses the price movement on a given number of bars and opens a corresponding position.

Creating profit labels on deals (closed trades) which also show in the strategy tester

Trading system based on XDPO_Histogram indicator signals.

A trading system based on the signals of indicator XPeriodCandle.

This utility is simple example to add sound alert on connect / disconnect

A simple yet effective donchian channel breakout strategy. This strategy is timeless!

A daily bias Expert Advisor that trades market dominance, analyzing previous day bullish vs bearish control with MA confirmation, and executing a single, minimum-volume trade with ATR-based risk management.

A portfolio EA for the MOEX FORTS market.

A dialog to display the maximum lot size permitted on the underlying asset for different types of orders (buy, sell, pending buy, and pending sell).

The Exp_PFE trading system based on the signals of the PFE oscillator.

The Exp_JSatlCandle Expert Advisor based on signals of the JSatlCandle indicator.

This EA will scan all the closed trades and then print the nth trade from the end

Set Auto TP and SL: The “Set Auto TP and SL” (Take Profit and Stop Loss) feature is a crucial tool in any trading strategy, designed to automate risk and reward management. It allows traders to define fixed price levels where a trade should be automatically closed to either secure profits (TP) or limit losses (SL), removing the need for constant manual monitoring. When this feature is enabled, each position you open will automatically include a predefined Take Profit and Stop Loss level based on your custom parameters, such as a specific number of pips, percentage of balance, or technical levels. This not only saves time but also ensures that your trades are protected from sudden market movements and emotional decision-making.

This EA implements a range breakout trading strategy. It calculates a price range between start and end times defined by the user, draws a visual rectangle on the chart to mark the high and low of that range, and then monitors price action after the range closes. If the market breaks above the range high, it opens a buy trade; if it breaks below the range low, it opens a sell trade.

SilviosEAbest26 is a high-precision Expert Advisor for MetaTrader 5, designed to trade market reversals using a sophisticated combination of dynamic price channels and momentum filters. The system is engineered for consistent returns while maintaining strict risk management protocols.

12345678910...39