Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

History of MQL5.community development

The most popular trading robots and technical indicators, news signals, regular incoming ready-made MQL5 programs in CodeBase and the most discussed Forum topics.

There are more than 53,030 products available in Market

Bestsellers in the Market:

2 new topics on forum:

21 new signals now available for subscription:

Xauusd H1
332% 1113 trades
Growth:332.22%
Equity:20,433.18EUR
Balance:20,433.18EUR
Multi EA combo
329% 12340 trades
Growth:329.20%
Equity:2,142.72EUR
Balance:2,145.99EUR
Blackbull High Risk
92% 485 trades
Growth:92.48%
Equity:7,696.06AUD
Balance:7,696.06AUD
and 18 more...

Published article "Developing a Multi-Currency Expert Advisor (Part 28): Adding a Position Closing Manager".

Developing a Multi-Currency Expert Advisor (Part 28): Adding a Position Closing Manager

When running multiple strategies in parallel, you may want to periodically close all open positions and start the strategies over again. The existing code only allows this behavior to be implemented through manual intervention. Let's try to automate this part.

Published article "MQL5 Wizard Techniques you should know (Part 93): Using Suffix Automation and an Auto Encoder in a Custom Money Management Class".

MQL5 Wizard Techniques you should know (Part 93): Using Suffix Automation and an Auto Encoder in a Custom Money Management Class

For this article we switch to a custom MQL5 Wizard class implementation that explores Money Management. We are labelling our custom class ‘CMoneySuffixAE’ that we derive by combining the Suffix Automaton algorithm with an Autoencoder neural network. As always, this formulation is testable with MQL5 Wizard Assembled Expert Advisors that can be tuned with various entry signals and trailing stop approaches.

Published article "Price Action Analysis Toolkit Development (Part 71): Weekend Gap Structure Mapping in MQL5".

Price Action Analysis Toolkit Development (Part 71): Weekend Gap Structure Mapping in MQL5

The article delivers an object-based MQL5 implementation that detects weekend gaps from time discontinuities and renders them directly on the chart. It manages graphical objects, tracks state transitions (fresh, partial, reaction, filled), and preserves completed gaps as historical zones. The result is a reproducible framework for monitoring how price revisits and fills weekend gap structures.

Published article "Building an Object-Oriented Z-Score Statistical Arbitrage Engine in MQL5".

Building an Object-Oriented Z-Score Statistical Arbitrage Engine in MQL5

This article shows how to implement a production Z-Score engine in MQL5 using an object-oriented include file, the library computes a rolling mean and population standard deviation, exposes a shift parameter for historical queries, and avoids redundant tick work by running on bar close. An Expert Advisor executes rule-based entries at positive/negative sigma thresholds and closes on mean reversion; a custom indicator provides visual verification.

Published article "Neural Networks in Trading: Anomaly Detection in the Frequency Domain (Final Part)".

Neural Networks in Trading: Anomaly Detection in the Frequency Domain (Final Part)

We continue to work on implementing the CATCH framework, which combines the Fourier transform and frequency patching mechanisms, ensuring accurate detection of market anomalies. In this article, we complete the implementation of our own vision of the proposed approaches and test the new models on real historical data.

Published article "Market Simulation: Getting started with SQL in MQL5 (I)".

Market Simulation: Getting started with SQL in MQL5 (I)

In today's article we will begin studying the use of SQL in MQL5 code. We will also look at how to create a database. Or, more precisely, how to create a SQLite database file using the features built into MQL5. We will also see how to create a table, and then how to establish a relationship between tables by using primary and foreign keys. All of this, once again, will be done with MQL5. We will see how easy it is to create code that can later be migrated to other SQL implementations by using a class that helps hide the implementation being created. And, most importantly, we will see that at various points we may face the risk that something will go wrong when using SQL. This happens because, in MQL5 code, SQL code will always be placed inside a string.

Published article "Implementing a Breakeven Mechanism in MQL5 (Part 2): ATR- and RRR-Based Breakeven".

Implementing a Breakeven Mechanism in MQL5 (Part 2): ATR- and RRR-Based Breakeven

This article completes the implementation of ATR- and RRRR-based breakeven mechanisms in MQL5 and develops, from scratch, a class that makes it easy to switch breakeven modes without having to enter the parameters again. To evaluate the effectiveness of each breakeven type, several backtests are run, analyzing their advantages and disadvantages in the context of algorithmic trading.

New publications in CodeBase

  • Universal Breakout Study Universal Breakout Study is a research-focused Expert Advisor for MetaTrader 5 designed to analyze and optimize range breakout strategies. It provides flexible parameter testing, fast optimization, and a structured framework for validating trading ideas using historical data and forward testing.
  • Institutional Ornstein-Uhlenbeck Equilibrium Matrix An econometric price-space indicator that utilizes the Ornstein-Uhlenbeck stochastic process to mathematically estimate the asset's true driftless equilibrium and its speed of mean reversion.

The most downloaded free products:

13 new signals now available for subscription:

GOLD DUPLICATOR
348% 815 trades
Growth:348.03%
Equity:2,226.05USD
Balance:2,226.05USD
GOLD HUAT EA
225% 613 trades
Growth:225.26%
Equity:24,456.64USD
Balance:24,456.64USD
PeuEagleFox
215% 221 trades
Growth:214.58%
Equity:5,581.46BRL
Balance:6,188.68BRL
and 10 more...
There are more than 52,950 products available in Market

The most popular forum topics:

Bestsellers in the Market:

Most downloaded source codes this week

  • Quantum XAUUSD Silver Trader Multi-indicator EA for Gold (XAUUSD) and Silver (XAGUSD): RSI, ADX and MA signals, adaptive ATR trailing stop and built-in capital protection.
  • Prime Quantum AI — TRADE WITH AI (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok). 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.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.

Most read articles this week

How to purchase a trading robot from the MetaTrader Market and to install it?

How to purchase a trading robot from the MetaTrader Market and to install it?

A product from the MetaTrader Market can be purchased on the MQL5.com website or straight from the MetaTrader 4 and MetaTrader 5 trading platforms. Choose a desired product that suits your trading style, pay for it using your preferred payment method, and activate the product.

How to Test a Trading Robot Before Buying

How to Test a Trading Robot Before Buying

Buying a trading robot on MQL5 Market has a distinct benefit over all other similar options - an automated system offered can be thoroughly tested directly in the MetaTrader 5 terminal. Before buying, an Expert Advisor can and should be carefully run in all unfavorable modes in the built-in Strategy Tester to get a complete grasp of the system.

1 new topic on forum:

More than 600 new charts published:

График Crude, H4, 2026.06.05 01:34 UTC, FXTM, MetaTrader 4, Demo
Crude, H4
Gráfico EURUSD., H4, 2026.06.05 20:45 UTC, Orbex Global Ltd, MetaTrader 4, Real
EURUSD., H4
График USDJPYb, M2, 2026.06.05 20:03 UTC, HF Markets (SV) Ltd., MetaTrader 4, Demo
USDJPYb, M2

The most downloaded free products:

There are more than 52,850 products available in Market

Bestsellers in the Market:

12 new signals now available for subscription:

XAUUSD 03
556% 648 trades
Growth:556.44%
Equity:1,130.05USD
Balance:1,130.05USD
BTC IA MT5
205% 135 trades
Growth:205.16%
Equity:92.45USD
Balance:92.45USD
Aether Max
30% 207 trades
Growth:30.30%
Equity:2,070.33USD
Balance:2,070.33USD
and 9 more...

4 new topics on forum:

and 1 more...
There are more than 12,110 codes published in Codebase

The most downloaded free products:

There are more than 52,780 products available in Market

17 new signals now available for subscription:

DEBAKALA Quantum Trend EA
1,011% 671 trades
Growth:1,011.29%
Equity:309.77USD
Balance:309.77USD
WizzardX
141% 452 trades
Growth:140.51%
Equity:2,465.13EUR
Balance:2,465.13EUR
ConnectGain BR Agressivo
112% 1261 trades
Growth:111.69%
Equity:1,002.83USD
Balance:1,166.20USD
and 14 more...

Bestsellers in the Market:

There are more than 2,940 articles published on site

Published article "Interactive Supply and Demand Zone Manager in MQL5: From Manual to Automated Lifecycle".

Interactive Supply and Demand Zone Manager in MQL5: From Manual to Automated Lifecycle

Replace static drawings with automated, stateful zones controlled by a CZone wrapper. The system synchronizes user rectangles, sizes zones by ATR, validates breakouts using consecutive closes, applies ghost/deactivation rules, merges nearby structures by a 1.5×ATR threshold, and projects edges forward. Traders gain durable levels that update themselves and reduce repetitive chart management.

Published article "Market Microstructure in MQL5 (Part 4): Volatility That Remembers".

Market Microstructure in MQL5 (Part 4): Volatility That Remembers

This article adds eight volatility functions to MicroStructure_Foundation.mqh, including realized volatility, duration-adjusted volatility, fractional volatility, a FIGARCH-inspired proxy, a volatility clustering index, a GJR-GARCH asymmetry measure (using the Dube library), bipower-variation jump detection, and a wrapper function. The MFDFA implementation is revised to return the conventional Legendre-transform Δα with an R² confidence field, replacing the τ-spread proxy used in the original submission. Thresholds are derived from 514 NY sessions of NQ E-mini Nasdaq 100 futures (May 2024–May 2026); no new include file is created.

Published article "From Basic to Intermediate: Objects (II)".

From Basic to Intermediate: Objects (II)

In today's article, we will look at how to control some object properties in a simple way using code. We will also see how a custom application can place more than one object on the same chart. In addition, we will begin to understand the importance of assigning a short name to any indicator we plan to implement.

Published article "Market Simulation (Part 24): Getting Started with SQL (VII)".

Market Simulation (Part 24): Getting Started with SQL (VII)

In the previous article, we completed the necessary introduction to SQL. And, in my opinion, we properly clarified what we wanted to show and explain about SQL. This was done so that anyone who comes to look at the market replay/simulation system being built can at least get an idea of what may be happening there. The point is that there is no sense in programming things that SQL handles perfectly.

Published article "Analyzing Price Time Gaps in MQL5 (Part II): Creating a Heat Map of Liquidity Distribution Over Time".

Analyzing Price Time Gaps in MQL5 (Part II): Creating a Heat Map of Liquidity Distribution Over Time

A detailed guide on how to create a heat map indicator for MetaTrader 5 that visualizes the price distribution over time. The article reveals the mathematical basis of time density analysis, where each price level is colored from red (minimum stay time) to blue (maximum stay time).

Published article "From Basic to Intermediate: Function Pointers".

From Basic to Intermediate: Function Pointers

You have probably already heard about pointers when it comes to programming. But did you know that we can use this kind of data here in MQL5? Of course, this must be done in a way that keeps us in control and avoids strange program behavior during execution. Still, because this is a feature with a very specific purpose and aimed at particular kinds of tasks, it is rare to hear anyone discuss what a pointer is and how to use it in MQL5.

Published article "Market Simulation (Part 23): Getting Started with SQL (VI)".

Market Simulation (Part 23): Getting Started with SQL (VI)

In this article, we will see how to visualize a database and, from that, understand how it is structured. This is done by analyzing the database’s internal structure. Although this may seem unnecessary at first, it is fully justified if we really want to become database administrators. After all, some people make a living maintaining and designing databases.

1 new topic on forum:

New publications in CodeBase

  • MSNR v5.31Plus AEU EA MSNR v5.31Plus AEU EA is an Expert Advisor for MetaTrader 5 based on Malaysian SNR body levels, Smart Money reaction logic, liquidity sweep, MISS, engulfing confirmation, trendline confluence, QML, CRT and DOL target projection. The EA is designed for XAUUSD and works best on the M5 timeframe. It scans higher timeframes such as W1, D1, H4 and H1 to build important support and resistance zones, then waits for price action confirmation on the execution timeframe. Main features: - Malaysian SNR body-level detection. - Higher-timeframe support and resistance scan. - Liquidity sweep, MISS and engulfing confirmation. - Trendline, QML, breakout-retest and CRT logic. - Confluence cluster system. - Session filter for Asia, Europe and US trading hours. - Risk management by account percentage. - Partial close at selected R multiple. - Break-even and safety guard options. Recommended settings: Symbol: XAUUSD Timeframe: M5.
  • 001 - Turnaround Tuesday Expert Advisor for testing the Turnaround Tuesday hypothesis. If Monday closes bullish, a Sell position is opened on Tuesday. If Monday closes bearish, a Buy position is opened. The EA supports an ATR-based filter, ATR-based Stop Loss and Take Profit levels, as well as position sizing using either a fixed lot size or percentage risk.
  • Long-Only Trend Breakout with Dynamic Risk Management Breakout is a clean, automated MetaTrader 5 expert advisor designed to capture algorithmic breakout momentum in structural bull markets.

The most downloaded free products:

More than 700 new charts published:

Grafik USDCHF, M15, 2026.06.04 00:17 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
USDCHF, M15
차트 ADP.us, D1, 2026.06.04 20:53 UTC, Gerchik and Co Limited, MetaTrader 5, Real
ADP.us, D1
Gráfico GER40.cash, M5, 2026.06.04 07:29 UTC, FTMO Global Markets Ltd, MetaTrader 5, Real
GER40.cash, M5
There are more than 52,700 products available in Market

Bestsellers in the Market:

The most popular forum topics:

22 new signals now available for subscription:

AFM Gold
911% 59 trades
Growth:910.51%
Equity:147.01USD
Balance:147.01USD
WibowoPratomo77
317% 104 trades
Growth:316.52%
Equity:50,732.82USD
Balance:50,732.82USD
GOLDEN CUP
120% 295 trades
Growth:120.10%
Equity:100.00USD
Balance:100.00USD
and 19 more...

Published article "Low-Frequency Quantitative Strategies in MetaTrader 5 (Part 3): A Regime-Adaptive Mean-Reversion Swing Trading System".

Low-Frequency Quantitative Strategies in MetaTrader 5 (Part 3): A Regime-Adaptive Mean-Reversion Swing Trading System

The article describes and codes MR Swing in MQL5, a mean‑reversion swing approach that combines a 200‑day hysteresis channel with Value Charts, DVO, and SVAPO. We document entry/exit rules for bull and bear regimes and show five‑year backtests on six high‑liquidity Nasdaq stocks. The complete EA code and backtest configurations are provided for reproducibility.

8 new topics on forum:

and 5 more...

Published article "MQL5 Trading Tools (Part 34): Replacing Native Chart Objects with an Interactive Canvas Drawing Layer".

MQL5 Trading Tools (Part 34): Replacing Native Chart Objects with an Interactive Canvas Drawing Layer

We replace native MetaTrader chart objects with a canvas-based drawing engine that renders tools pixel-by-pixel on a full-chart bitmap layer. The article implements persistent object storage with per-tool style memory, precise hit testing, selection, whole-object dragging, and handle manipulation. It also adds new line tools, a reorganized category system with a one-click delete action, and a rubber-band preview for multi-click placement.

1...121314151617181920212223242526...682