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 "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.

Published article "Practical Modules from Other Languages in MQL5 (Part 07): The OS Module from Python".

Practical Modules from Other Languages in MQL5 (Part 07): The OS Module from Python

This article introduces a lightweight OS-like helper for MQL5 that streamlines file and path operations using a Python-inspired interface. We implement getcwd, listdir, scandir with DirEntry, remove, rmdir, rename, mkdir, stat, and an os.path subset (exists, isfile, isdir, join, split, pardir). You will learn how to work consistently within the terminal Files/common sandbox and simplify everyday filesystem tasks.

Published article "From Delta-Space Quotes to the FX Volatility Smile: Garman-Kohlhagen and the Convention Problem".

From Delta-Space Quotes to the FX Volatility Smile: Garman-Kohlhagen and the Convention Problem

FX options are quoted in delta space, not by strike. This article implements an FX-native smile tool for MetaTrader 5: it converts ATM, risk reversal and butterfly quotes into strike-space pillars, prices with the Garman–Kohlhagen model, handles spot/forward and premium-adjusted delta conventions per pair, and draws the smile with a reconstructed strike ladder and Greeks.

Published article "Uncertainty as a Model (Part 1): Random Variables — The Language of Uncertainty".

Uncertainty as a Model (Part 1): Random Variables — The Language of Uncertainty

The article provides a systematic overview of the theory of random variables, which serves as the basis for analyzing and modeling uncertainty in financial markets. The article covers the definitions and properties of univariate random variables, cumulative distribution functions (CDFs) and probability density functions (PDFs), as well as the differences between discrete, continuous, and mixed models. The theoretical material is based on intuitive analogies with mass and density. The appendix to this article contains practical examples of using the standard MQL5 library to calculate probabilities, quantiles, and moments of distributions. It also demonstrates the graphical capabilities of the MetaTrader 5 platform for visual data analysis by plotting PDF and CDF curves and QQ plots.

The most downloaded free products:

More than 1300 new charts published:

チャート EURUSD, H1, 2026.09.24 21:18 UTC, Trading Point Of Financial Instruments Ltd, MetaTrader 5, Demo
EURUSD, H1
Grafik USDJPY, H1, 2026.09.24 02:03 UTC, AxiCorp Financial Services Pty Ltd, MetaTrader 5, Demo
USDJPY, H1
チャート I.USDX, H4, 2026.09.24 13:12 UTC, Admirals Group AS, MetaTrader 4, Real
I.USDX, H4
There are more than 60,620 products available in Market

New publications in CodeBase

  • Gold Breakout EA for XAUUSD H4 +90 Percent in a 2020 to 2026 Backtest A Turtle-style breakout EA for gold. It buys when an H4 bar closes above the 20-bar high in an uptrend, with a 2 ATR stop and a 2R target. Backtested on XAUUSD from January 2020 to September 2026: +9,029.72 on 10,000 at 1% risk, profit factor 1.77, max drawdown 11.38%, 6 of 7 years profitable.
  • CME Gap Tracker for Gold and Bitcoin: Open Gaps, Fill Rate and a Fade-Trade Test Finds the weekend CME gap on gold and on 24/7 Bitcoin charts, keeps every unfilled gap on the chart until price returns to it, and shows how often gaps filled, how fast, how far price ran first, and what fading them would have made. Non-repainting, with buffers for an Expert Advisor.
  • Trade Reporter Lite - Telegram trade notifications Posts your MT5 opens and closes to a Telegram chat: side, symbol, entry, stop and target in pips, lots, and on close the result, pips, R-multiple and time held. Retry queue, restart-safe, never trades. Free Telegram and Discord trade notifier for MT5
  • ATR Trailing Stop (Pine Script Port) MQL5 port of a Pine Script ATR trailing-stop indicator: nLoss = ATR-multiple, the stop ratchets under price in an uptrend and over price in a downtrend, and flips (with a buy/sell arrow) when price closes through it. Includes a Python reference port and a parity test that checks both agree with a literal, bar-by-bar transcription of the Pine semantics (na/nz/series history).
  • EMA Cross Demo EA with ATR Stops A small demo Expert Advisor: EMA fast/slow cross entries (evaluated on closed bars only, no repainting), ATR-based stop-loss and take-profit, spread filter, and position handling that works on both hedging and netting accounts. Includes a Python reference implementation for parity testing. This is a deliverable example, not a trading recommendation - the attached equity curve is from synthetic data and shows the method, not an edge.
  • Session TWAP: time weighted average price from the cash open, with deviation bands Time weighted average price of the running session, anchored at the cash open of Frankfurt, London, New York or Tokyo with automatic daylight saving. Every second counts the same, minutes without a tick carry the last price, and two bands show the time weighted standard deviation around the line.
  • PropSpread: time-weighted spread monitor with ATR context, alert and CSV log Panel that samples the spread once per second and shows it in points and in the symbol's natural unit (pips on FX, index points on index CFDs), with rolling min/avg/median/max, a session statistic since server midnight, the spread as percent of ATR, a hold-time alert and an optional CSV log. It never sends an order.
1...121314151617181920212223242526...707