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.

Published article "Linear Regression Prediction Channels in MQL5: Constructing Statistically Grounded Confidence and Prediction Bands".

Linear Regression Prediction Channels in MQL5: Constructing Statistically Grounded Confidence and Prediction Bands

The article implements rolling OLS regression channels in MQL5 and computes confidence and prediction bands with Student's t critical values instead of a fixed standard-deviation multiplier. It explains the leverage-driven widening at window edges, contrasts the result with Bollinger and Donchian channels, and reviews OLS assumptions on price data. A five-line rendering is documented to ensure reliable display in MetaTrader 5.

Published article "The MQL5 Standard Library Explorer (Part 13): Implementing the Math Solvers Library in Trading".

The MQL5 Standard Library Explorer (Part 13): Implementing the Math Solvers Library in Trading

We present a complete workflow for adaptive filtering in MQL5 using the CNlEq Levenberg–Marquardt–like solver. The EA fits a VAMAC model—two EWMAs with an ATR‑based scaling—by supplying residuals and a Jacobian through CNlEq's reverse‑communication loop, with optional numerical or analytical derivatives. Code, setup instructions, and GBPUSD H1 tests show how to replace static thresholds with on‑bar re‑estimation.

Published article "Meta-Labeling the Classics (Part 2): Filtering and Sizing ADX Trades".

Meta-Labeling the Classics (Part 2): Filtering and Sizing ADX Trades

The DI crossover often triggers in ranges where +DI and -DI oscillate without persistence. We build a two-layer hybrid: Optuna's TPE optimizes a regime gate over ADXR threshold, DI lookback, and minimum DI separation to maximize signal precision on a held-out window, then a Random Forest uses eleven ADX-derived features to accept or scale entries via afml.bet_sizing. The result filters ranging-market bursts and calibrates position size on EURUSD H1.

More than 1000 new charts published:

График AMD, M2, 2026.06.25 14:37 UTC, FMGP Trading Group Pty Ltd, MetaTrader 5, Demo
AMD, M2
Grafico MSFT, MN1, 2026.06.25 21:32 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
MSFT, MN1
Grafico EURUSD, M30, 2026.06.25 20:16 UTC, FTMO Global Markets Ltd, MetaTrader 5, Demo
EURUSD, M30

The most downloaded free products:

Bestsellers in the Market:

There are more than 53,840 products available in Market

5 new topics on forum:

and 2 more...

29 new signals now available for subscription:

Dynamic liquidity intelligence Robo50
184% 49 trades
Growth:184.00%
Equity:122.81USD
Balance:142.00USD
Dynamic liquidity intelligence Vale50
158% 48 trades
Growth:158.08%
Equity:108.41USD
Balance:129.04USD
ROBOTRADER CLASSIC
157% 1782 trades
Growth:157.04%
Equity:1,527.52USD
Balance:1,538.14USD
and 26 more...

Published article "Designing a Strategy State Machine in MQL5: Replacing Nested If-Else Logic with Formal States".

Designing a Strategy State Machine in MQL5: Replacing Nested If-Else Logic with Formal States

Nested if-else logic inside OnTick() creates implicit states that are hard to isolate, debug, and extend without regressions. A formal finite state machine in MQL5 uses an IState interface, a CStrategyContext mediator, and four concrete states to separate detection from behavior. A three-file include structure resolves circular dependencies and keeps declarations, definitions, and instantiation clean, making changes safer and debugging faster.

Published article "MQL5 Trading Tools (Part 38): Adding a Tabbed Settings Window for Editing Object Properties".

MQL5 Trading Tools (Part 38): Adding a Tabbed Settings Window for Editing Object Properties

We add a tabbed settings window opened from the ribbon and bound to the selected object. The tabs — Style, Text, Coordinates, and Visibility — are built from the same descriptor system, with scrolling, per-level rows, and shared color/width/style popovers. The article covers layout, rendering, interaction, and inline price/time and numeric editing. You get one place to edit every property with live preview and commit-or-discard on close.

Published article "From Cloud to Complex: The Vietoris-Rips Filtration in MQL5".

From Cloud to Complex: The Vietoris-Rips Filtration in MQL5

We turn a price-embedded point cloud into a Vietoris–Rips filtration and its boundary matrix. The article enumerates vertices, edges, and triangles with filtration values, sorts them in entry order, and builds O(1) vertex/edge lookups. You get MQL5 classes CTDARips and CTDABoundary and a sparse Z/2 boundary suitable for the next-step persistence reduction.

Published article "Interactive Supply and Demand Zone Manager in MQL5 (Part II): Event-Driven Architecture and Persistent Lifecycle Logging".

Interactive Supply and Demand Zone Manager in MQL5 (Part II): Event-Driven Architecture and Persistent Lifecycle Logging

This article advances the stateful supply and demand zone framework for MetaTrader 5 by replacing polling with an event-driven model based on OnChartEvent(). We split synchronization into dedicated handlers for creation, modification, and deletion, and separate market logic in OnTick() from user interactions in OnChartEvent(). A persistent, append-only CSV logger records all lifecycle events, improving responsiveness, state consistency, and recoverable history for downstream analysis.

Published article "Artificial Atom Algorithm (A3)".

Artificial Atom Algorithm (A3)

The article describes implementation of the A3 algorithm - a metaheuristic optimization method inspired by chemical processes - in MQL5. Only two adjustable parameters, compactness and a small population, ensure high operating speed with sufficient quality of solutions.

The most downloaded free products:

More than 900 new charts published:

图表 GER40, H1, 2026.06.24 04:38 UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
GER40, H1
图表 EURUSD, H1, 2026.06.24 22:56 UTC, Neotech Financial Services (Pty) Ltd, MetaTrader 5, Real
EURUSD, H1
チャート US30.U26, M5, 2026.06.24 13:51 UTC, WM Markets Ltd, MetaTrader 4, Real
US30.U26, M5

7 new topics on forum:

and 4 more...

Bestsellers in the Market:

32 new signals now available for subscription:

World PEACE Multi FX Algo
2,332% 3924 trades
Growth:2,332.01%
Equity:205,139.00JPY
Balance:214,741.00JPY
Trendpilot006
256% 418 trades
Growth:256.08%
Equity:339,466.97USD
Balance:339,466.97USD
Trendpilot005
256% 416 trades
Growth:255.74%
Equity:424,393.89USD
Balance:424,393.89USD
and 29 more...
There are more than 53,750 products available in Market
There are more than 3,020 articles published on site

Published article "Quantum Neural Network in MQL5 (Part III): A Virtual Quantum Processor Based on Qubits".

Quantum Neural Network in MQL5 (Part III): A Virtual Quantum Processor Based on Qubits

The article focuses on creating a trading system with a real quantum simulator instead of mathematical analogies. The system uses 3 virtual qubits, quantum gates and superposition principles to analyze markets. It is implemented as a trading EA for MetaTrader 5 in MQL5. The main achievement is the transition from simulation to real quantum principles of financial information processing.

Published article "MQL5 Wizard Techniques you should know (Part 98): Using an Unscented Kalman Filter and a Capsule Network in a Custom Signal Class".

MQL5 Wizard Techniques you should know (Part 98): Using an Unscented Kalman Filter and a Capsule Network in a Custom Signal Class

This article presents 'CSignalUKFCapsNet', as a custom class coded in MQL5. This class is meant to be used with the MQL5 Wizard when assembling an Expert Advisor and when selected in the Wizard it defines the Expert Advisor's entry signals. In building this custom class, we brought together the algorithm Unscented Kalman Filter and the Capsule Neural Network. Our algorithm is showcased with four operation modes, and the coding of this as a custom class for the MQL5 Wizard, allows testing with various Trailing Stop methods and Money Management systems.

Published article "Encoding Candlestick Patterns (Part 3): Frequency Analysis for Single Candlestick Type Structure".

Encoding Candlestick Patterns (Part 3): Frequency Analysis for Single Candlestick Type Structure

This article introduces a frequency-analysis framework for encoded candlestick patterns in MQL5. By transforming candlesticks into alphabetic symbols, historical price action can be analyzed as a statistical sequence rather than a visual chart. Using GBPUSD and Gold across multiple timeframes, the study examines the occurrence frequency of individual candlestick types, identifies dominant market structures, and reveals the symmetry between bullish and bearish price movements. The results establish a quantitative foundation for pattern discovery and prepare the way for analyzing multi-candlestick sequences and their predictive potential in algorithmic trading systems.

Published article "CSV Data Analysis (Part 5): Real-Time CSV Streaming from Live MetaTrader 5 Sessions".

CSV Data Analysis (Part 5): Real-Time CSV Streaming from Live MetaTrader 5 Sessions

This article describes a live data export framework for MetaTrader 5 built around a decoupled, three‑layer design. The MQL5 component batches bar and tick records via a write buffer and rotates CSV files daily; a Python daemon tails the stream, renders a live dashboard, and flags anomaly thresholds. The demo indicator illustrates integration points, enabling real‑time monitoring and auditability during trading sessions.

More than 900 new charts published:

图表 GOLD, D1, 2026.06.23 03:28 UTC, FxPro Markets Ltd., MetaTrader 5, Demo
GOLD, D1
Graphique ETHUSD, H1, 2026.06.23 03:19 UTC, Fot Limited, MetaTrader 5, Real
ETHUSD, H1
Gráfico XAUUSD., M1, 2026.06.23 15:19 UTC, Metagold LLC, MetaTrader 5, Real
XAUUSD., M1
There are more than 53,650 products available in Market

The most downloaded free products:

Most downloaded source codes this month

  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Ideal for ProCent accounts. Includes Daily Profit Target and Max Drawdown 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.
  • Machine Learning Supertrend A machine-learning inspired approach towards trending regimes. Providing accurate signals and backtest confidence built-in

Most read articles this month

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.

Bestsellers in the Market:

32 new signals now available for subscription:

KaKa 2
377% 697 trades
Growth:376.97%
Equity:9,342.46USD
Balance:10,238.35USD
Soft Trade Otomatis
356% 418 trades
Growth:355.81%
Equity:3,491.51USD
Balance:3,492.42USD
R A FX
277% 437 trades
Growth:277.31%
Equity:1,858.61USD
Balance:1,858.61USD
and 29 more...

6 new topics on forum:

and 3 more...

Published article "Market Simulation: Getting Started with SQL in MQL5 (V)".

Market Simulation: Getting Started with SQL in MQL5 (V)

In the previous article, I showed how to proceed in order to add a query mechanism. This was needed so that, inside MQL5 code, you could fully use SQL and retrieve results using an SQL SELECT query. But there is still one last function we need to implement. This is the DatabaseReadBind function. Since understanding it properly requires a slightly more detailed explanation, it was decided to cover it not in the previous article, but in today's article. So, since the topic will be fairly extensive, let us proceed directly to the next section.

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

From Basic to Intermediate: Object Events (II)

In this article, we will look at how the last three types of events generated by an object work. Understanding this will be very interesting, because in the end we will do something that may seem crazy to many people, but it is entirely possible and produces a very surprising result.

The most popular forum topics:

Published article "Community of Scientists Optimization (CoSO): Practice".

Community of Scientists Optimization (CoSO): Practice

We resume the topic of optimization by the scientific community. CoSO should not be viewed as a ready-made solution, but as a promising research platform. With proper development, CoSO can find its niche in tasks where adaptability and resilience to change are important, and computation time is not critical.

Published article "Market Microstructure in MQL5 (Part 6): Order Flow".

Market Microstructure in MQL5 (Part 6): Order Flow

This article adds six order-flow functions and a new OrderFlowAnalysis struct to MicroStructureFoundation.mqh: VPINOHLC, signed flow imbalance, trade intensity versus a 20-session baseline, a late-minus-early smart-money index, flow momentum, and a wrapper that outputs a confidence weight. Flow confidence is gated by noise and jump intensity from Parts 5 and 4. Calibrated on 602 NQ M1 NY sessions, it provides ready-to-use intraday flow signals with documented thresholds.

Published article "How to Detect and Normalize Chart Objects in MQL5 (Part 3): Alerting and Automated Trading from Manually Drawn Objects".

How to Detect and Normalize Chart Objects in MQL5 (Part 3): Alerting and Automated Trading from Manually Drawn Objects

This article extends the chart‑object detector into a modular monitoring and execution layer. It defines objective interaction rules (touch, cross, breakout) for trendlines, Fibonacci levels, channels, rectangles, and pitchforks, then routes events through an interaction detector, alert manager, and optional trade executor. Orders use object geometry for stop‑loss and take‑profit. The result is a reproducible pipeline that converts static drawings into actionable alerts and, if enabled, trades.

Published article "Beyond GARCH (Part VI): Fractional Brownian Motion And The Multiplicative Cascade in MQL5".

Beyond GARCH (Part VI): Fractional Brownian Motion And The Multiplicative Cascade in MQL5

This article implements the MMAR Simulation Engine that turns fitted parameters (H, distribution, coefficients, sample volatility) into synthetic price paths. It builds multifractal trading time via a multiplicative cascade, synthesizes fractional Brownian motion with Davies–Harte or Cholesky, scales it to target volatility, and composes the process by time deformation. Readers get a reusable MQL5 class, method choices by path length, and validation steps for scenario testing and Monte Carlo use in the next part.

Published article "Price Action Analysis Toolkit Development (Part 74): Building an MQL5 Expert Advisor from Indicator Buffers".

Price Action Analysis Toolkit Development (Part 74): Building an MQL5 Expert Advisor from Indicator Buffers

This article implements an MQL5 Expert Advisor that connects to a weekend gap indicator via iCustom and CopyBuffer, reading six buffers for buy/sell signals and SL/TP. It validates broker stop-distance rules, handles closed-bar confirmation and duplicate-signal control, and executes orders with a configurable magic number. The EA also includes midpoint stop-loss management and a backtesting procedure so you can verify behavior and adapt parameters to your setup.

More than 1200 new charts published:

图表 EURJPYm, H1, 2026.06.22 14:25 UTC, Exness Technologies Ltd, MetaTrader 4, Real
EURJPYm, H1
Graphique USDJPY$, M5, 2026.06.21 04:30 UTC, Tradexfin Limited, MetaTrader 4, Demo
USDJPY$, M5
Gráfico BTCUSD, H1, 2026.06.21 01:39 UTC, IF Pro Ltd., MetaTrader 5, Demo
BTCUSD, H1

The most downloaded free products:

Bestsellers in the Market:

There are more than 53,540 products available in Market

32 new signals now available for subscription:

Gold Master 2
179% 301 trades
Growth:178.93%
Equity:1,361.00USD
Balance:1,361.00USD
Smile Life Fund
174% 294 trades
Growth:174.35%
Equity:3,316.15USD
Balance:3,316.15USD
AXIO EC
172% 32 trades
Growth:172.02%
Equity:136.01USD
Balance:136.01USD
and 29 more...

3 new topics on forum:

There are more than 3,010 articles published on site

Published article "Building a Traditional Point and Figure Indicator in MQL5".

Building a Traditional Point and Figure Indicator in MQL5

This article implements a custom Point and Figure indicator in MQL5 that maps price movement into X/O columns using a fixed box size and three-box reversal logic. We define the base price, convert prices into box intervals, manage trends and reversals, auto-scale the indicator window, and render symbols with objects, providing a clean, time-independent view of trends, breakouts, and support/resistance.

Published article "Rolling Sharpe Ratio with Statistical Significance Bands in MQL5".

Rolling Sharpe Ratio with Statistical Significance Bands in MQL5

This article presents a custom MetaTrader 5 indicator that computes a rolling annualized Sharpe ratio and plots configurable z-score significance bands based on Lo's asymptotic standard error. It uses a circular return buffer with incremental variance to keep O(1) updates. We explain the n^(-1/2) uncertainty scaling, the inflation of intervals at high Sharpe values, and how to set per-instrument annualization for correct deployment.

1...121314151617181920212223242526...687