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 155,070 topics available on forum

4 new topics on forum:

and 1 more...
There are more than 3,400 articles published on site

Published article "How to Obtain Synchronized Arrays for Use in Portfolio Trading Algorithms".

How to Obtain Synchronized Arrays for Use in Portfolio Trading Algorithms

The article describes a practical approach to synchronizing bars between instruments in a portfolio in MQL5. Classes are provided for loading, storing, and aligning OHLCV data, with options to use an empty bar or carry over values from the previous bar, select a synchronization symbol, and process new bars asynchronously. Examples of use in multi-chart and basket indicators are shown. Readers receive a ready-to-use API for reliable portfolio calculations.

Published article "From Option Chain to Risk-Neutral Density: The Market's Own Probability Distribution".

From Option Chain to Risk-Neutral Density: The Market's Own Probability Distribution

The article builds an MQL5 indicator that recovers the risk-neutral density from an option chain via the Breeden–Litzenberger identity. Quotes are inverted to implied volatilities, the smile is smoothed and priced back to arbitrage‑free calls, and the second derivative yields the density. The tool reports probabilities above any level, the expected move, skew and kurtosis, and overlays the realized-return distribution for comparison.

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

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

In this article, we take a detailed look at the algorithms used to implement the key components of the HimNet framework. We demonstrate how, with a minimal number of trainable components, a high degree of consistency and controllability can be achieved throughout the entire system. The presented implementation is compact and transparent, which makes it easier to adapt to real-world market tasks.

Published article "Building a News Filter Engine in MQL5 Using a Local Economic Calendar File".

Building a News Filter Engine in MQL5 Using a Local Economic Calendar File

A file-based news filter for MQL5 reads a pre-downloaded Forex Factory CSV from MQL5/Files, avoiding fragile web scraping and paid APIs. It provides a modular CNewsFilter with a quote-aware CSV parser, suffix-robust currency extraction, an inclusive time-window checker with clear block reasons, and chart zones for today's events. A demo EA and assertion tests help you integrate and verify offline filtering around scheduled releases.

Published article "Automating Classic Market Methods in MQL5 (Part 8): Ed Seykota's Trend Following System".

Automating Classic Market Methods in MQL5 (Part 8): Ed Seykota's Trend Following System

The article presents a full MQL5 implementation of a multi-symbol trend system: dual EMA crossovers for entries, ADX to avoid ranges, ATR to normalize position size, and a heat monitor to cap total portfolio risk. We explain the architecture, calculation details, and entry/exit logic on daily bars. The result is a practical EA template for systematic, risk-aware portfolio trading.

Published article "Developing a Multi-Currency Expert Advisor (Part 31): Secrets of the Optimization Project Creation Step (I)".

Developing a Multi-Currency Expert Advisor (Part 31): Secrets of the Optimization Project Creation Step (I)

The article examines two practical aspects of the Adwizard-based optimization pipeline: diagnostics and recovery after failures when generating the final Expert Advisor database, as well as preliminary selection of strategy parameter ranges before project creation. It is shown how analyzing the stages/jobs/tasks tables in SQLite and restarting stages based on their statuses help restore the process, while trial optimization narrows the search space, eliminates redundant parameters, and reduces the risk of getting stuck at local maxima.

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

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

In this article, we will examine how to implement a tree balancing algorithm. Here, I will present my own version of an implementation of this algorithm. There are many other algorithms that serve the same purpose. Nevertheless, each of them has its own advantages and disadvantages. You, my dear reader, will need to explore them and find the one that best suits your needs.

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

Market Simulation: Position View (XVIII)

In this article, I have shown—in the clearest possible way—how to modify and improve code capable of handling specific tasks while making as few changes as possible to the existing code. We will add a volume display and, at the same time, ensure that users or traders cannot effectively remove objects created by the position indicator.

There are more than 60,140 products available in Market

The most downloaded free products:

Most downloaded source codes this week

  • 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.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

Most read articles this week

Building a Bar Replay Tool in MQL5

Building a Bar Replay Tool in MQL5

This article shows how to build an interactive bar replay tool in MQL5 for MetaTrader 5 that reveals historical candles one by one without exposing future data. You will implement custom candles with DRAW COLOR CANDLES, an event-driven engine with OnChartEvent and OnTimer, a dashboard with Play/Pause, a draggable replay anchor, and Buy/Sell paper trading with SL/TP lines, while keeping the active bar in view to practice discretionary analysis and execution.

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.

2 new topics on forum:

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.

15 new signals now available for subscription:

Tmgm Trumma
265% 89 trades
Growth:264.64%
Equity:503.21EUR
Balance:503.21EUR
BTC THANOS
62% 375 trades
Growth:62.20%
Equity:139.97USD
Balance:139.97USD
Vantage_Scalper
58% 59 trades
Growth:57.88%
Equity:1,105.15EUR
Balance:1,105.15EUR
and 12 more...

More than 800 new charts published:

Grafik NZDUSD, W1, 2026.09.19 00:22 UTC, Tradehall Limited, MetaTrader 5, Demo
NZDUSD, W1
Chart EURUSD, M1, 2026.09.18 14:44 UTC, Raw Trading Ltd, MetaTrader 4, Demo
EURUSD, M1
Chart XAUUSD, D1, 2026.09.18 13:40 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
XAUUSD, D1

The most downloaded free products:

There are more than 60,010 products available in Market

Bestsellers in the Market:

5 new topics on forum:

and 2 more...

5 new signals now available for subscription:

Fast Portfolio
841% 12450 trades
Growth:840.79%
Equity:11,026.11USD
Balance:12,000.22USD
Jefe De Oro
233% 1199 trades
Growth:232.63%
Equity:4,413.01USD
Balance:4,413.01USD
Mahmoudsarhan
142% 295 trades
Growth:142.49%
Equity:1,084.27USD
Balance:1,346.20USD
and 2 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:

There are more than 59,910 products available in Market

20 new signals now available for subscription:

WYNNERS YL TMGM
208% 313 trades
Growth:208.01%
Equity:306.30USD
Balance:306.30USD
Buster BTC Fake Breakout Filter
118% 341 trades
Growth:118.16%
Equity:983.13USD
Balance:983.13USD
GOLD AS 689
100% 64 trades
Growth:99.86%
Equity:999.30USD
Balance:999.30USD
and 17 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:

图表 XAUUSD, H1, 2026.09.16 23:27 UTC, FXTM, MetaTrader 5, Demo
XAUUSD, H1
Grafik EURUSD, MN1, 2026.09.17 21:29 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, MN1
チャート JP225, M5, 2026.09.16 23:45 UTC, Raw Trading Ltd, MetaTrader 5, Real
JP225, M5

The most downloaded free products:

There are more than 59,830 products available in Market

Bestsellers in the Market:

20 new signals now available for subscription:

WYNNERS YL ULTIMA
175% 289 trades
Growth:174.58%
Equity:303.31USD
Balance:303.31USD
CyberFox
156% 83 trades
Growth:155.80%
Equity:221.75USD
Balance:230.22USD
Gold Scalp AS
110% 55 trades
Growth:109.70%
Equity:464.34USD
Balance:464.34USD
and 17 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.

1...121314151617181920212223242526...704