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.

The most downloaded free products:

There are more than 66,930 products available in Market

Published article "A Categorical Hidden Markov Model in MQL5".

A Categorical Hidden Markov Model in MQL5

The article provides a detailed examination of the theoretical foundations and practical implementation of the hidden Markov model with categorical emissions (Categorical HMM) in the MQL5 language. Specific examples are used to demonstrate the processes of inference, iterative parameter learning, and online filtering, as well as the methodology for selecting the optimal model architecture based on the AIC/BIC information criteria.

Published article "Active Learning: An EA That Only Asks for Human Confirmation on Its Most Uncertain Trades".

Active Learning: An EA That Only Asks for Human Confirmation on Its Most Uncertain Trades

This article builds an uncertainty-based routing layer for an EA: an online logistic regression scores P(up), Shannon entropy measures uncertainty, and a streaming P² quantile enforces a fixed review budget. Signals auto-trade, auto-skip or go to a human checkpoint, replaced by proxy modes in the Strategy Tester. It is judged on a held-out window against a trade-everything baseline, matched-frequency and seeded controls, and an exact profit split. No edge is claimed.

Published article "Efficient Volatility Estimation with Garman–Klass: From Theory to a Percentile-Based Trading Tool in MQL5".

Efficient Volatility Estimation with Garman–Klass: From Theory to a Percentile-Based Trading Tool in MQL5

This article implements the Garman–Klass volatility estimator as an MQL5 indicator that uses OHLC data for higher statistical efficiency than close-to-close measures. A percentile-based squeeze/expansion detector produces breakout signals, and a companion Expert Advisor executes them via iCustom. Implementation details include series-aware indexing, recursive squeeze-state handling in indicator buffers, and a baseline-on-attach rule for the EA, giving a ready-to-use toolkit for volatility-regime trading.

Published article "How to Build a 29-Pair Portfolio with an L1 Filter and VaR-based Allocation of Lots".

How to Build a 29-Pair Portfolio with an L1 Filter and VaR-based Allocation of Lots

The article explores the practical application of the L1 Trend Filter for noise reduction and the construction of structural features suitable for live trading. The full workflow is presented: H1 data for 29 instruments from MetaTrader 5, causal filtering, CatBoost with a horizon of three L1 bars, rigorous walk-forward testing, and VaR-based allocation of lots. The reader is provided with a reproducible code pipeline and a portfolio evaluation methodology.

Published article "Creating Custom Indicators in MQL5 (Part 13): An Accelerating Trend Stop Confirmed by VWAP".

Creating Custom Indicators in MQL5 (Part 13): An Accelerating Trend Stop Confirmed by VWAP

We implement an adaptive trend stop indicator in MQL5 that reseeds on every flip, then accelerates toward price, with speed boosted by distance from VWAP and all distances scaled by ATR. The article covers the acceleration engine, the VWAP agreement filter that grades each flip, the anti-aliased stop line with its cloud, and persistent flip levels and arrows. The result highlights where the trend turned and whether VWAP agreed.

5 new topics on forum:

and 2 more...

13 new signals now available for subscription:

Crazy Diamond
82% 129 trades
Growth:82.18%
Equity:364.35USD
Balance:364.35USD
A LFX SMART TRADE
34% 17 trades
Growth:34.28%
Equity:139.49USD
Balance:139.49USD
Apex UBS
26% 29 trades
Growth:26.45%
Equity:319.44USD
Balance:319.44USD
and 10 more...

17 new products are now available on the Market:

and 12 more...

Published article "MetaTrader 5 Machine Learning Blueprint (Part 25): Live Monitoring".

MetaTrader 5 Machine Learning Blueprint (Part 25): Live Monitoring

The article shows why a fixed posterior threshold, checked trade by trade, lacks error control and retires healthy strategies far too often on a real EURUSD case. It introduces WinRateSPRT (with Page's CUSUM for continuous use) and a permutation-tested profit factor trend to cover distinct failure modes. LiveStrategyMonitor integrates both and reports a normalized retirement-progress measure for operational decisions.

There are more than 3,650 articles published on site

Published article "Neural Networks in Trading: Recurrent Modeling of Market Micromovements (Conclusion)".

Neural Networks in Trading: Recurrent Modeling of Market Micromovements (Conclusion)

The implementation of the EV-MGRFlowNet framework demonstrates its key advantages: modularity, resilience to market fluctuations, and the ability to develop strategies independently. These features make the framework a powerful tool for analysis, forecasting, and the development of autonomous trading strategies.

More than 700 new charts published:

График US100.cash_0_15s, M1, 2026.11.04 16:51 UTC, FTMO Global Markets Ltd, MetaTrader 5, Real
US100.cash_0_15s, M1
图表 US100.cash_0_15s, M1, 2026.11.04 16:49 UTC, FTMO Global Markets Ltd, MetaTrader 5, Real
US100.cash_0_15s, M1
Chart US100.cash_0_15s, M1, 11/4/2026 4:51 PM UTC, FTMO Global Markets Ltd, MetaTrader 5, Real
US100.cash_0_15s, M1

Published article "Use of WinAPI—Implementing Text-to-Speech in MQL5".

Use of WinAPI—Implementing Text-to-Speech in MQL5

This article presents a single MQL5 include file that adds runtime text-to-speech through Windows SAPI. The library starts a hidden PowerShell process through WinAPI and exposes one function, Speak(), with control of voice, speed, volume, XML tags, and a timeout. It also covers the limits: Windows only, DLL imports required, a blocking call, and refusal in indicators and the tester.

Published article "From Novice to Expert: Using Market Structure to Validate RSI Signals".

From Novice to Expert: Using Market Structure to Validate RSI Signals

Oscillator thresholds are often treated as direct reversal instructions, causing traders to sell strong bullish markets or buy persistent bearish declines too early. We develop an analytical Expert Advisor that interprets Relative Strength Index events through confirmed swing structure. The model distinguishes continuation, reversal, pending, and expired conditions by combining closed-bar RSI crossings with higher highs, higher lows, lower highs, lower lows, and breaks of structure. It displays each validated interpretation without placing trades.

Bestsellers in the Market:

4 new topics on forum:

and 1 more...
There are more than 66,880 products available in Market

11 new products are now available on the Market:

and 6 more...
There are more than 12,720 codes published in Codebase

10 new signals now available for subscription:

FLOURISH BH TMGM
19% 164 trades
Growth:18.92%
Equity:1,107.27USD
Balance:1,107.27USD
AN INSTANT4K
6% 93 trades
Growth:5.84%
Equity:4,227.32GBP
Balance:4,233.46GBP
and 8 more...

New publications in CodeBase

3 new topics on forum:

10 new products are now available on the Market:

and 5 more...

Bestsellers in the Market:

New publications in CodeBase

The most downloaded free products:

8 new signals now available for subscription:

SigSig
51% 83 trades
Growth:51.27%
Equity:290,130.03RUB
Balance:305,416.07RUB
AN INSTANT
1% 18 trades
Growth:0.85%
Equity:4,004.53GBP
Balance:4,034.19GBP
Nug Trade
-0% 11 trades
Growth:-0.19%
Equity:2,745.15USD
Balance:2,745.15USD
and 5 more...

19 new products are now available on the Market:

and 14 more...
There are more than 66,820 products available in Market

4 new topics on forum:

and 1 more...

Bestsellers in the Market:

Published article "RSI Divergence Grid Expert Advisor with Risk Manager in MQL5".

RSI Divergence Grid Expert Advisor with Risk Manager in MQL5

A simple grid trading strategy becomes a resilient system thanks to three components: an entry filter based on RSI divergence, a strict limit on the number of grid levels, and an independent risk manager that monitors equity on every tick and blocks trading when the daily limit or maximum drawdown is reached. The article examines the mathematics behind the classic martingale trap, the implementation of pivot point and RSI divergence detection in MQL5, the complete code for the CRiskManager class with protection against floating losses, and the architecture of the grid itself, with TP based on the weighted average entry price.

More than 800 new charts published:

Chart EURCAD, M30, 2026.11.04 06:44 UTC, AMarkets LLC, MetaTrader 5, Demo
EURCAD, M30
Chart EURUSD, M15, 2026.11.04 06:56 UTC, Tradexfin Limited, MetaTrader 4, Real
EURUSD, M15
Chart GOLD, W1, 2026.11.04 06:52 UTC, Tradexfin Limited, MetaTrader 4, Real
GOLD, W1

15 new products are now available on the Market:

and 10 more...
There are more than 66,760 products available in Market

New publications in CodeBase

10 new signals now available for subscription:

Indojaya200
10% 17 trades
Growth:10.36%
Equity:204.69USD
Balance:204.69USD
LTAF USDJPY
9% 1010 trades
Growth:9.20%
Equity:5,089,401.00JPY
Balance:5,089,401.00JPY
and 8 more...

Published article "Self-Optimizing Expert Advisors in MQL5 (Part 20): Causality Regularization With Time-Lagged Independent Components Analysis (3)".

Self-Optimizing Expert Advisors in MQL5 (Part 20): Causality Regularization With Time-Lagged Independent Components Analysis (3)

The article presents a piecewise workflow that forecasts growth in ICA components as surrogate targets and then reconstructs smoothed returns from these forecasts. We analyze dominant-component effects and apply Shapley Additive Explanations to assess feature importance. The approach is implemented end to end, from data preparation to ONNX export and MQL5 integration, providing a practical pipeline for noise reduction and model interpretability.

Published article "Markowitz Mean-Variance Optimization for MQL5: A Native Efficient-Frontier Portfolio Builder".

Markowitz Mean-Variance Optimization for MQL5: A Native Efficient-Frontier Portfolio Builder

This article shows how to implement a native MQL5 portfolio optimizer for multi-symbol baskets. It derives a covariance matrix from bar log-returns, inverts it via Gauss–Jordan, and solves the global minimum-variance, tangency, and target-return portfolios without external libraries. You will build an EA that rebalances positions long-only with clip-and-renormalize and a read‑only dashboard that tracks drift versus targets, plus learn Strategy Tester setup and common pitfalls.

Published article "Neural Networks in Trading: Recurrent Modeling of Market Micromovements (Encoder)".

Neural Networks in Trading: Recurrent Modeling of Market Micromovements (Encoder)

The article takes readers deep into the heart of the EV-MGRFlowNet framework, showing how its architecture is applied in a practical implementation for financial forecasting tasks. Step by step, we build a carefully designed combination of modules capable of detecting subtle temporal patterns and translating them into meaningful market signals.

2 new topics on forum:

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

From Basic to Intermediate: Subwindows (II)

This article examines the use of subwindows in MetaTrader 5 in detail and shows how the calculation direction in OnCalculate affects indicator buffers and the plotting of averages. Practical examples explain how indicators are linked using FIRST INDICATOR’S DATA and PREVIOUS INDICATOR’S DATA, the effect of cascading removal of dependent indicators, and how indicator_separate_window behaves. Readers will learn how to diagnose display issues and create indicators that work correctly in subwindows.

Published article "Testing Random Walk vs Mean Reversion in MQL5: Implementing the Lo-MacKinlay Variance Ratio Test".

Testing Random Walk vs Mean Reversion in MQL5: Implementing the Lo-MacKinlay Variance Ratio Test

Implements the Lo–MacKinlay Variance Ratio Test in MQL5 to assess serial dependence via random‑walk variance scaling. Provides a reusable CVarianceRatio class with classical (homoskedasticity) and heteroskedasticity‑robust statistics, plus a script that scans multiple horizons and logs VR and Z‑values. Shows how to embed the test in an Expert Advisor as a statistical gate for mean‑reversion logic.

Published article "From Polling to Events: Building a Reactive MQL5 Trading System with Python and Redis Streams".

From Polling to Events: Building a Reactive MQL5 Trading System with Python and Redis Streams

An Expert Advisor that takes signals from an external process must know which messages were delivered, which were acknowledged, and which orders reached the broker. This article builds that confirmation protocol on Redis Streams: MQL5 publishes market events, Python suggests trades, and MQL5 alone decides what is executed. Live tests on a demo account show duplicate detection, guard refusals, and dead-lettering; crash recovery is verified with unit tests.

Published article "From Evidence to Execution (Part 1): How to Log, Measure, and Decode a Trading Strategy Inside MetaTrader 5 AI".

From Evidence to Execution (Part 1): How to Log, Measure, and Decode a Trading Strategy Inside MetaTrader 5 AI

An evidence-first workflow for Range Breakout in MQL5: a non-trading logger captures session/time windows and records 61 fields per breakout to CSV, with a strict split between entry features and hindsight labels. The MT5 AI Assistant processes the dataset in nine phases, helping validate data, quantify baselines, and locate stable, entry-usable thresholds for subsequent EA coding.

11 new products are now available on the Market:

and 6 more...

Bestsellers in the Market:

Published article "Archimedes Optimization Algorithm (AOA)".

Archimedes Optimization Algorithm (AOA)

The article examines the Archimedes Optimization Algorithm — a metaheuristic in which an agent is represented as a physical object with density, volume, and acceleration, and the search itself is reinterpreted as the tendency of bodies submerged in a fluid to reach equilibrium. The balance between exploration and exploitation is not dictated by an external schedule here, but rather stems from the physics of decaying turbulence. We will implement the algorithm in MQL5, test it on a standard test bench, and analyze where this approach works.

1...121314151617181920212223242526...719