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 3,450 articles published on site

Published article "From Deal History to Hazard Curves: Survival Analysis Applied To Strategies".

From Deal History to Hazard Curves: Survival Analysis Applied To Strategies

This article reframes performance from unconditional win rate to conditional probability given survival time. It introduces an MQL5 library, an on‑chart indicator, and a demo Expert Advisor that read deal history, fit Kaplan–Meier and Aalen–Johansen curves with competing risks, and report forward probabilities over a bar‑based horizon. Readers gain a reproducible way to quantify the chance that the current position reaches its target or stop, and to see the bias of the naive censoring approach.

Published article "Encoding Candlestick Patterns (Part 5): Expanding Taxonomy of Candlestick for General Pattern Frequency Analysis".

Encoding Candlestick Patterns (Part 5): Expanding Taxonomy of Candlestick for General Pattern Frequency Analysis

This article extends the candlestick encoding framework by separating previously unclassified bullish and bearish candlesticks into distinct symbols. Using an MQL5 script, historical data were automatically encoded, sequential patterns were extracted, and frequency statistics were generated. The results show that these newly identified candles represent a significant portion of market activity, revealing structural information previously hidden by the generic underscore notation. The expanded taxonomy improves the completeness of the symbolic representation while preserving an objective, quantitative framework for large-scale market structure analysis.

Published article "Neural Networks in Trading: A Unified View of Space and Time (Global-Local Attention)".

Neural Networks in Trading: A Unified View of Space and Time (Global-Local Attention)

We are continuing our work on implementing the approaches proposed by the authors of the Extralonger framework. This time, we will focus on building a Global-Local Spatial Attention module using MQL5, examining both its structure and its practical integration into the overall computational process.

Published article "Competitive Swarm Optimizer (CSO)".

Competitive Swarm Optimizer (CSO)

The article discusses the Competitive Swarm Optimizer — a swarm optimization algorithm based on an extremely simple idea: agents are randomly paired, and the loser learns from the winner and is drawn toward the center of the swarm. In addition to analyzing CSO, the article describes the modernization of the test bench: visualization of the algorithms’ operation has been moved into 3D space, making it possible to clearly observe the movement of the population on the surface of the test function.

Published article "Working with ONNX Models in MQL5 (Part 2): Drawing the Model Graph on an Interactive Chart Panel".

Working with ONNX Models in MQL5 (Part 2): Drawing the Model Graph on an Interactive Chart Panel

We turn the ONNX reader into an interactive graph viewer on a MetaTrader 5 chart. The parser is extended to carry tensor shapes and node attributes, and a canvas with anti-aliased drawing renders nodes and labeled connections. The layout arranges layers by depth, while zoom, pan, and clicks let you inspect operators and the tensors they read. This makes a model's structure and data flow visible directly in MQL5.

Published article "Wasserstein Distance for Live Feature-Drift Detection in MQL5: Monitoring ONNX Model Inputs with Optimal Transport".

Wasserstein Distance for Live Feature-Drift Detection in MQL5: Monitoring ONNX Model Inputs with Optimal Transport

This article implements a lightweight feature-space drift guard in MQL5 using 1D Wasserstein‑1: sort-and-pair scoring on equal windows, IQR normalization per feature, and gating via both a weighted composite and a max-statistic. Configuration comes from a JSON manifest (window sizes, weights, warn/critical thresholds, actions). It runs next to an ONNX classifier and is validated with Strategy Tester results and explicit caveats.

Published article "Position Management: Deriving a Self-Calibrating Exit Ladder From Historical MFE in MQL5".

Position Management: Deriving a Self-Calibrating Exit Ladder From Historical MFE in MQL5

We implement three MQL5 classes that replace fixed 1R/2R/3R targets with data-driven scale-out levels. CExcursionTracker records each closed trade's maximum favorable excursion in R, CExitLadderCalibrator derives runs from distribution percentiles with lookback and minimum-sample controls, and CLadderExecutor executes them on open positions. The ladder recalibrates as trades accumulate and uses a fallback until enough samples exist.

The most downloaded free products:

More than 1100 new charts published:

チャート USDJPY, H1, 2026.09.28 13:22 UTC, FundedNext Ltd, MetaTrader 5, Real
USDJPY, H1
Chart XAUUSD, M5, 2026.09.28 10:39 UTC, RoboForex Ltd, MetaTrader 5, Real
XAUUSD, M5
Gráfico USDJPY, H1, 2026.09.28 11:07 UTC, Tradexfin Limited, MetaTrader 4, Demo
USDJPY, H1
There are more than 61,080 products available in Market

22 new signals now available for subscription:

EAs Happy Forex Portfolio
258% 9191 trades
Growth:258.04%
Equity:289,474.31USD
Balance:358,039.70USD
Swap Hunter
183% 109 trades
Growth:183.44%
Equity:1,852.24EUR
Balance:3,439.22EUR
AURUM Active
138% 92 trades
Growth:137.87%
Equity:2,088.90USD
Balance:2,088.90USD
and 19 more...

Bestsellers in the Market:

2 new topics on forum:

New publications in CodeBase

  • Broker Contract Change Watch MT5 Tracks changes to 18 broker contract properties against a saved baseline, with before and after values, a chart panel and a local CSV audit trail.
  • Adaptive Kalman Trend Filter Indicator The Adaptive Kalman Trend Filter smooths price fluctuations to highlight the underlying market trend, adapting its responsiveness as market conditions change.
  • RSI Exhaustion Reversal - EURUSD Open-source EURUSD Expert Advisor for MetaTrader 5 Strategy Tester, based on RSI exhaustion signals, ATR-based exits and volatility-adjusted spread filtering.
  • ZoneUS30 — Reversion and Positive Swap on Your Side in US30 ZoneUS30 is a simple US30 Expert Advisor focused on SELL opportunities after upward price extensions. The strategy combines a mean-reversion concept with a carry-trade idea: when short positions receive positive overnight swap, the EA can benefit both from a price correction and from holding the position over time. Designed for US30 and intended for experimental and educational use. Counter-trend trading involves significant risk, especially with high lot sizes.
  • iFVG Indicator With Signals iFVG Indicator With Signals

Published article "Rough Volatility: Building a Roughness Index Feature from the RFSV Model for ML Trade Filtering".

Rough Volatility: Building a Roughness Index Feature from the RFSV Model for ML Trade Filtering

This article builds a usable roughness index from rough volatility theory by fitting local H via a structure-function regression on blocked returns, all in native MQL5. We combine it with vol-of-vol features, train a gradient-boosted classifier in Python, export to ONNX, and call it from an EA. You will be able to compute H on every bar and use the model as a regime-aware entry filter.

Published article "Hidden Semi-Markov Models for Duration-Aware Regime Detection in MQL5".

Hidden Semi-Markov Models for Duration-Aware Regime Detection in MQL5

Standard HMMs assume geometric, memoryless state durations, which poorly match real market phases. This piece implements a duration‑explicit Hidden Semi‑Markov Model natively in MQL5, with per‑state sojourn distributions and a residual‑time forward filter. Parameters are fit offline via EM and loaded through a compact JSON manifest. The EA for XAUUSD M5 uses expected remaining duration to gate entries and exits, helping hold trends while avoiding late entries near regime exhaustion.

Published article "Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 4): Anti-Aliasing, Coverage and Compositing".

Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 4): Anti-Aliasing, Coverage and Compositing

The rasterizer now accumulates exact span coverage in X and sampled coverage in Y, and blends it via CairoBlendOver on straight ARGB. CairoAaSamples sets the number of vertical samples at runtime, making the cost nearly linear and localized to edges. Readers get smoother boundaries, correct compositing of translucent shapes, and controllable performance.

Published article "Neural Networks in Trading: A Unified View of Space and Time (Extralonger)".

Neural Networks in Trading: A Unified View of Space and Time (Extralonger)

The Extralonger framework demonstrates an approach to integrating spatial and temporal factors into a single model, which makes it possible to account for both local patterns and long-term cycles simultaneously. This architecture makes time series forecasting more resilient to market noise and enables data analysis across different time horizons. The article takes a detailed look at how these ideas are put into practice using OpenCL and MQL5.

Published article "Artificial Searching Swarm Algorithm (ASSA)".

Artificial Searching Swarm Algorithm (ASSA)

The article discusses the implementation of the Artificial Searching Swarm Algorithm (ASSA) in MQL5 as part of a unified test bench. The article examines three behavioral movement rules, the signal and global bulletin board mechanisms, space normalization, and the stepRatio and Pc parameters. Readers will receive a ready-made foundation for integrating ASSA, as well as an answer to the question of how successful the tactical metaphor proved to be as a basis for the competitiveness of the optimization algorithm.

Published article "Building a Neural Loss-Pattern Auditor in MQL5".

Building a Neural Loss-Pattern Auditor in MQL5

Aggregate metrics like win rate or profit factor miss sequence-dependent behavior, such as sizing up right after a loss. This MQL5 script trains a small native neural network on closed-deal history to estimate loss probability from behavioral and market-context features. It reports accuracy uplift over a baseline, probability calibration, and permutation feature importance, then combines them into a configurable A-F grade with concise, plain-language recommendations.

Published article "Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 3): Edges and the First Filled Shape".

Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 3): Edges and the First Filled Shape

Part 3 implements a scanline rasterizer in pure MQL5. We convert path segments into top‑down edges, sweep each row, sort crossings, and apply the non‑zero winding rule to decide which pixels are inside. The result is a single Fill(path, color, buffer, w, h) routine that draws rectangles, stars, glyphs, or 2000‑edge shapes without per‑shape code, ready to integrate into your MQL5 projects.

The most downloaded free products:

There are more than 60,970 products available in Market

Bestsellers in the Market:

21 new signals now available for subscription:

Meaw
243% 1687 trades
Growth:242.62%
Equity:24,182.08USD
Balance:29,587.45USD
XYZ Goldscalper
242% 438 trades
Growth:241.52%
Equity:34,151.85EUR
Balance:34,151.85EUR
ForexPips2
122% 97 trades
Growth:121.67%
Equity:414.35USD
Balance:414.35USD
and 18 more...

Most downloaded source codes this week

  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.

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.

4 new topics on forum:

and 1 more...

The most downloaded free products:

More than 800 new charts published:

Chart NZDJPY, H1, 2026.09.25 13:33 UTC, Five Percent Online Ltd, MetaTrader 5, Demo
NZDJPY, H1
График EURUSD, H4, 2026.09.26 15:49 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, H4
График GBPJPY_Renko_150, M1, 2026.09.26 23:57 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
GBPJPY_Renko_150, M1
There are more than 60,850 products available in Market

Bestsellers in the Market:

5 new topics on forum:

and 2 more...

The most popular forum topics:

12 new signals now available for subscription:

GaoPeng 290402 BTCETHXAU
719% 24743 trades
Growth:718.52%
Equity:842,789.55USD
Balance:843,484.27USD
B Capital
59% 881 trades
Growth:59.24%
Equity:564.01USD
Balance:594.91USD
Portafolio Darwinex
38% 337 trades
Growth:37.63%
Equity:137,622.65USD
Balance:137,622.65USD
and 9 more...

New publications in CodeBase

  • Stormbreaker ADX - Supertrend and DMI Trend EA Trend-following Expert Advisor for MetaTrader 5 combining Supertrend direction with ADX and DI confirmation. Uses an ATR-based stop loss and risks up to 0.5% of equity per trade.
  • ImpulseCandle - impulse bar marker with ATR body filter and volume confirmation Marks impulse candles: body at least ATR x multiplier, body at least a set share of the candle range, close near the extreme, optional tick volume confirmation. Green arrow below a bullish impulse, red above a bearish one. Closed bars only, no repainting. Signals are in the two buffers so an Expert Advisor can read them with iCustom.

The most downloaded free products:

There are more than 60,720 products available in Market

24 new signals now available for subscription:

Wibowopratomo77
385% 372 trades
Growth:385.35%
Equity:39,097.27USD
Balance:39,097.27USD
GOLD MARKET PULSE YADIX
319% 7170 trades
Growth:318.92%
Equity:12,301.49USD
Balance:12,301.49USD
Rapidgains
274% 719 trades
Growth:274.32%
Equity:1,567.78USD
Balance:1,727.20USD
and 21 more...

7 new topics on forum:

and 4 more...

Bestsellers in the Market:

New publications in CodeBase

There are more than 3,440 articles published on site

Published article "Random Matrix Theory: Denoising the Correlation Matrix for Multi-Symbol EAs".

Random Matrix Theory: Denoising the Correlation Matrix for Multi-Symbol EAs

Sample correlation matrices can look precise yet be mostly noise. This article implements a dependency-free RMT cleaner in MQL5: Jacobi eigendecomposition, Marchenko–Pastur eigenvalue screening, and average-noise reconstruction that preserves the matrix trace and unit diagonal. It explains integration into a basket EA so the denoised matrix improves stability of hedge ratios and weights between rebalances, while keeping the code portable and auditable.

Published article "Drawdown Duration Analysis Indicator in MQL5".

Drawdown Duration Analysis Indicator in MQL5

We build a drawdown analytics dashboard that derives the equity curve from deals and finds every episode's depth and recovery duration. Results appear on a CCanvas timeline spaced by point index with alternating bold annotations, and in a terminal table sorted by duration, allowing you to prioritize risk by time spent underwater rather than depth alone.

Published article "Testing for Residual Autocorrelation with the Ljung-Box Portmanteau Test in MQL5".

Testing for Residual Autocorrelation with the Ljung-Box Portmanteau Test in MQL5

A complete MQL5 implementation of the Ljung-Box test helps verify independence in trading data and fitted-model residuals. It computes sample autocorrelations, the Q statistic over selected horizons, degrees of freedom with user-controlled adjustments, and right-tail p-values via the regularized incomplete gamma function. Run it on returns, deal outcomes, or external residuals and review decisions directly in the Experts tab.

Published article "Neural Networks in Trading: The Adaptive Graph Diffusion Model (Conclusion)".

Neural Networks in Trading: The Adaptive Graph Diffusion Model (Conclusion)

In this article, we conclude our work on building the SAGDFN framework using MQL5, summarizing the development process and presenting the results of its practical testing. Let's combine the modules we've already implemented into a single system, highlight the strengths of this approach, point out its weaknesses, and discuss possible ways to improve it.

Published article "Building a Dynamic and Customizable Table in MQL5".

Building a Dynamic and Customizable Table in MQL5

This article presents a reusable CTable class for building chart-based tables in MQL5. It covers table architecture, creation and destruction of objects, coordinates and sizing, cell properties, horizontal/vertical headers, dynamic row/column edits, object naming, index conversion, and efficient refreshing. You will be able to assemble consistent, aligned on-chart dashboards for market data, indicators, and signals with minimal boilerplate.

Published article "Building AI-Powered Trading Systems in MQL5 (Part 11): Optimizing the UI with Frame Throttling and Partial Rendering".

Building AI-Powered Trading Systems in MQL5 (Part 11): Optimizing the UI with Frame Throttling and Partial Rendering

We optimize an MQL5 canvas interface to stay responsive under rapid input without changing its appearance. The article adds a direct-buffer canvas for block region copies, caches text widths and glyph coverage, caps repaints at 60 fps (16 ms), and limits drawing to panes and regions that actually changed. As a result, hover, scroll, and popups render smoothly without full-panel redraws.

1...121314151617181920212223242526...707