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.

Bestsellers in the Market:

New publications in CodeBase

  • RegimeRouter — trend/range classifier with a per-regime win rate ledger Classifies the market with ADX, the Hurst exponent and lag-1 autocorrelation, routes each bar to a breakout module or a mean-reversion module, and keeps a separate win rate ledger for each regime with a Wilson 95% lower bound, so you can see which half of it is actually working.
  • CSetupLedger: a per-setup win rate ledger for Expert Advisors Scores every setup type in your EA on its own record instead of lumping them into one equity curve. Rebuilds itself from the account's deal history on init so a restart cannot wipe the record. Prints a Wilson score lower bound next to the raw win rate so a three trade hot streak stops looking like an edge.

17 new signals now available for subscription:

CSM Strategic
40% 30 trades
Growth:40.22%
Equity:103.42USD
Balance:106.27USD
BTC THANOS
32% 274 trades
Growth:31.90%
Equity:167.94USD
Balance:167.94USD
MEGA BT BULLS MT4
22% 173 trades
Growth:22.03%
Equity:8,175.54CAD
Balance:8,175.54CAD
and 14 more...

The most downloaded free products:

There are more than 60,910 products available in Market

Bestsellers in the Market:

5 new topics on forum:

and 2 more...

13 new signals now available for subscription:

Jefe De Oro
286% 913 trades
Growth:285.71%
Equity:5,241.23USD
Balance:5,241.23USD
GH Knight Compound
145% 350 trades
Growth:144.91%
Equity:460.27USD
Balance:460.27USD
Mahmoudsarhan
97% 232 trades
Growth:97.11%
Equity:1,069.49USD
Balance:1,094.28USD
and 10 more...

New publications in CodeBase

  • Position sizing from risk, using the broker's own tick value and volume step Position size from a risk amount, computed from the symbol's real tick value, tick size and volume step rather than an assumed pip value. It always rounds volume down, and when your risk is smaller than the minimum lot it says so and reports what that lot actually costs. No terminal state, so the sizing logic is testable offline - a 41-assertion test script is included.
  • Heiken Ashi ATR Blend Heiken Ashi ATR Blend combines smoothed Heiken Ashi candles, ATR-based volatility filtering, and fast/slow EMA trend confirmation to identify potential trend-change signals.

The most popular forum topics:

The most downloaded free products:

More than 1000 new charts published:

Chart XAUUSD, D1, 2026.09.18 13:40 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
XAUUSD, D1
Grafico EURUSD, M1, 2026.09.18 14:44 UTC, Raw Trading Ltd, MetaTrader 4, Demo
EURUSD, M1
Grafik GBPUSD, M30, 2026.09.18 13:02 UTC, InstaFinance Ltd, MetaTrader 4, Demo
GBPUSD, M30
There are more than 60,810 products available in Market

24 new signals now available for subscription:

JDBegaw4n
95% 4048 trades
Growth:95.35%
Equity:725,432,650.43IDR
Balance:725,432,650.43IDR
MY ELEV
49% 87 trades
Growth:48.87%
Equity:4,142.72USD
Balance:4,142.72USD
EliasBarao
42% 7010 trades
Growth:41.80%
Equity:1,663,692.49USD
Balance:1,701,605.79USD
and 21 more...

Bestsellers in the Market:

5 new topics on forum:

and 2 more...

Published article "Neural Networks in Trading: Heterogeneity-Informed Meta-Parameter Learning (HimNet)".

Neural Networks in Trading: Heterogeneity-Informed Meta-Parameter Learning (HimNet)

We invite you to explore the HimNet framework, which combines the flexibility of spatio-temporal adaptation with high computational efficiency, enabling accurate and stable forecasts for financial time series. The article explains in detail how its key components interact with one another, transforming complex algorithms into a manageable architecture.

Published article "Beetle Swarm Optimization (BSO)".

Beetle Swarm Optimization (BSO)

We consider a BAS+PSO (BSO) hybrid, where BAS provides a local direction signal and PSO facilitates the exchange of best solutions within the swarm. The article presents a mathematical model, pseudocode, an implementation of the class in MQL5, and test results from a standard test bench. This material allows reproducing the algorithm, configuring its parameters, and understanding how three objective-function evaluations per iteration affect efficiency.

Published article "Machine Learning in Pure MQL5 (Part 1): Logistic Regression from Scratch with SGD".

Machine Learning in Pure MQL5 (Part 1): Logistic Regression from Scratch with SGD

The series develops machine learning in 100% native MQL5 with no external dependencies. Part 1 delivers logistic regression from first principles: a CLogReg class with standardization, a stable sigmoid, SGD training, and model persistence, plus a script that builds ATR-normalized features, labels the next bar, and tests out-of-sample against a baseline. Readers get a compact include file and a clear template for leakage-free evaluation.

Published article "Automating Classic Market Methods in MQL5 (Part 7): The Nicolas Darvas Box System".

Automating Classic Market Methods in MQL5 (Part 7): The Nicolas Darvas Box System

This article implements the Darvas Box method as a complete MQL5 Expert Advisor. We code box detection with a three-session hold, volume contraction during consolidation, and volume-confirmed breakouts, plus a staircase pyramid with a shared, rolling stop at the latest box floor. The EA uses a state machine to run box scanning and trade management in parallel, providing a ready-to-compile system with configurable inputs and clear on-chart diagnostics.

Published article "From Basic to Intermediate: Queues, Lists, and Trees (VII)".

From Basic to Intermediate: Queues, Lists, and Trees (VII)

In this article, we will clearly and simply demonstrate and explain how to remove a node from a tree. This process usually confuses beginners rather than helping them understand how it's done and why it needs to be done that way.

Published article "Market Simulation: Position View (XVII)".

Market Simulation: Position View (XVII)

In the previous article, we configured the indicator to display the financial result. However, not everyone likes using this display mode. The reasons differ from one trader to another, although in some cases they seem quite reasonable and justified to me. Adapting the code to provide this capability is by no means one of the most difficult tasks. It's actually pretty simple. In this article, we'll look at how to do this.

More than 1000 new charts published:

Gráfico EURUSD, MN1, 2026.09.17 21:29 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, MN1
График XAUUSDc, M5, 2026.09.17 21:10 UTC, Exness Technologies Ltd, MetaTrader 5, Real
XAUUSDc, M5
Chart XAUUSDc, M15, 2026.09.17 21:01 UTC, Exness Technologies Ltd, MetaTrader 5, Real
XAUUSDc, M15

The most downloaded free products:

There are more than 60,720 products available in Market

Bestsellers in the Market:

31 new signals now available for subscription:

WINGS WIDE OPEN
208% 909 trades
Growth:208.17%
Equity:4,154.48USD
Balance:4,154.48USD
DT INTRADAY
151% 619 trades
Growth:150.80%
Equity:106.78EUR
Balance:252.11EUR
Emprice 02
45% 189 trades
Growth:44.52%
Equity:459.37USD
Balance:459.37USD
and 28 more...

9 new topics on forum:

and 6 more...
There are more than 3,390 articles published on site

Published article "Designing a Multi-EA Communication Bus Using Named Pipes in MQL5".

Designing a Multi-EA Communication Bus Using Named Pipes in MQL5

This article implements a typed message bus over Windows named pipes to replace MetaTrader's untyped GlobalVariables for inter‑EA communication. A broker EA manages the server and registry, serves multiple slave EAs, and responds with a live, per‑symbol‑attributed portfolio risk measure. It also explains the non-blocking accept pattern that preserves terminal responsiveness, and includes a dashboard and a test script.

Published article "Defining your Edge (Part 5): Using GARCH Variance and Volatility-Scaled LSTM in an Expert Advisor".

Defining your Edge (Part 5): Using GARCH Variance and Volatility-Scaled LSTM in an Expert Advisor

We merge GARCH(1,1) variance projections with ATR plus Bollinger-Bands patterns to form an algorithm that could optionally be used with volatility-scaled LSTM within LSTM Wizard-ready signal class. We cover feature scaling, mode scoring, thresholds, and safety checks. Readers can replicate backtest/forward test results to verify if the recurrent layer gives incremental discrimination over our deterministic baseline.

Published article "Neural Networks in Trading: The Temporal Query Model (Conclusion)".

Neural Networks in Trading: The Temporal Query Model (Conclusion)

We are pleased to present the final stage of the TQNet framework’s development and testing, where theory meets real-world trading practice. We will move from historical training to a stress test using recent market data, evaluating the model's robustness and accuracy. The final results are not just dry statistics, but also a clear demonstration of the practical value of the proposed approach.

Published article "The ZeroMQ Message Transfer Protocol in MQL5: Implementing the REQ/REP pattern".

The ZeroMQ Message Transfer Protocol in MQL5: Implementing the REQ/REP pattern

This article presents a native MQL5 implementation of the ZeroMQ Message Transfer Protocol (ZMTP) built on raw MQL5 sockets. It explains the REQ/REP pattern via the CZmqReqSocket class, including framing, handshake, and strict send/receive alternation. A practical pipeline shows an MQL5 script streaming returns to a Python/R server running MS‑GARCH and receiving regime probabilities, enabling integration without DLLs.

Published article "Native Isolation Forest for Execution-Quality Anomaly Detection in MQL5".

Native Isolation Forest for Execution-Quality Anomaly Detection in MQL5

A step-by-step guide to a native Isolation Forest in MQL5 focused on execution metrics rather than price. It details five features, tree construction and path‑length scoring, rolling‑window training, CSV logging, and FILE_COMMON persistence, all integrated into OnTradeTransaction(). The resulting circuit breaker flags unusual fills in real time and applies controlled responses to stabilize live trading under changing execution conditions.

Published article "The MQL5 Standard Library Explorer (Part 16): Building a Regime-Adaptive Expert Advisor".

The MQL5 Standard Library Explorer (Part 16): Building a Regime-Adaptive Expert Advisor

We convert the Part 15 decision‑forest classifier into a regime‑adaptive Expert Advisor that decouples statistical inference from trading authority. The EA trains on completed bars, scores each new completed bar, and confirms stable bullish, neutral, or bearish regimes before acting. It then applies spread, ownership, risk, and execution checks to authorize opening, holding, closing, or blocking a position.

Published article "MetaTrader 5 as a Kafka Producer: Event-Bus Architecture for Multi-Terminal Signal Fan-Out".

MetaTrader 5 as a Kafka Producer: Event-Bus Architecture for Multi-Terminal Signal Fan-Out

The article details a native MQL5 Kafka producer that speaks the wire protocol over raw TCP. It implements RecordBatch v2 encoding, varints, and CRC32C, and adds batching, acks, and retry logic, all without a sidecar or DLL. Use it to publish JSON-structured trading signals from a single terminal to Kafka, where dashboards and other services subscribe independently.

Published article "Monte Carlo Simulation and Analysis for MetaTrader 5 Backtest Reports".

Monte Carlo Simulation and Analysis for MetaTrader 5 Backtest Reports

This article explains Monte Carlo simulation and analysis for trading and guides you through a Python tool that ingests MetaTrader 5 HTML reports. It generates many randomized equity paths, then summarizes them with max drawdown, bust/profit rates, and percentile envelopes around the mean curve. The workflow helps you assess uncertainty, separate normal behavior from outliers, and size positions accordingly.

Published article "Development and Forward Testing of an Autonomous LLM Agent for Trading with SEAL".

Development and Forward Testing of an Autonomous LLM Agent for Trading with SEAL

A hybrid architecture based on Llama 3.2 and SEAL is being tested on eight currency pairs (M15), with forward-period data isolation and information leakage control. The methodology combines adversarial self-play, curriculum learning, and class balancing to ensure stable training. The experiments confirm the gap between forecast accuracy and actual returns, providing readers with practical guidelines for testing strategies and accurately assessing their generalizability.

The most downloaded free products:

More than 1000 new charts published:

Graphique XAUUSD, H1, 2026.09.16 23:27 UTC, FXTM, MetaTrader 5, Demo
XAUUSD, H1
Grafico JP225, M5, 2026.09.16 23:45 UTC, Raw Trading Ltd, MetaTrader 5, Real
JP225, M5
Graphique EURUSD, M1, 2026.09.16 14:22 UTC, Ava Trade Markets Ltd., MetaTrader 4, Real
EURUSD, M1
There are more than 60,570 products available in Market

Bestsellers in the Market:

33 new signals now available for subscription:

Golden Turtle XAU
1,041% 50 trades
Growth:1,040.94%
Equity:313.81USD
Balance:313.81USD
Pivot Breakout
220% 164 trades
Growth:219.91%
Equity:1,599.53USD
Balance:1,599.53USD
Van PM
173% 1904 trades
Growth:173.00%
Equity:80,283.66USD
Balance:81,979.05USD
and 30 more...

The most popular forum topics:

There are more than 155,020 topics available on forum

5 new topics on forum:

and 2 more...

Published article "Butterfly Optimization Algorithm (BOA)".

Butterfly Optimization Algorithm (BOA)

The article discusses the Butterfly Optimization Algorithm, which is based on modeling foraging using the sense of smell. We will analyze the original formulas, identify and correct errors in motion equations, add a mechanism for maintaining population diversity, and present the test results.

Published article "Neural Networks in Trading: The Temporal Query Model (TQNet)".

Neural Networks in Trading: The Temporal Query Model (TQNet)

The TQNet framework opens up new possibilities for modeling and forecasting financial time series by combining modularity, flexibility, and high performance. The article explores the possibility of implementing complex mechanisms for handling global correlations, including advanced parameter initialization methods.

Published article "Developing a Multi-Currency Expert Advisor (Part 30): From Trading Strategy to Launching a Multi-Currency Expert Advisor".

Developing a Multi-Currency Expert Advisor (Part 30): From Trading Strategy to Launching a Multi-Currency Expert Advisor

The article outlines the complete process of creating a multi-currency Expert Advisor using the Adwizard library for MetaTrader 5: from setting up the environment for creating optimization projects to obtaining the final multi-currency Expert Advisors, which combine multiple instances of a simple trading strategy. We will walk through setting up the necessary input parameters, conventions for convenient file names, and launching three instances of the final Expert Advisors on different trading accounts with different parameters.

Published article "Measuring What Matters (Part 4): Reading the Spectrum — What Eigenvalues Tell You About Risk".

Measuring What Matters (Part 4): Reading the Spectrum — What Eigenvalues Tell You About Risk

We turn eigenvalues from a covariance matrix into a normalized spectral‑entropy score that measures how evenly variance is spread across factors. SpectralEntropyCalculator.mq5 compares two portfolios in one run, using native vector summation, ArraySort()-based ordering, element‑wise division, and the Shannon entropy formula. The report makes dominant factors visible and enables quick, repeatable checks of diversification quality.

1...121314151617181920212223242526...704