Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

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 "Engineering a Self-Healing Expert Advisor in MQL5 (Part 3): Restart-Aware Breakeven and Trailing Systems".

Engineering a Self-Healing Expert Advisor in MQL5 (Part 3): Restart-Aware Breakeven and Trailing Systems

Building on Part 2, the implementation introduces restart-aware breakeven and trailing-stop systems for MetaTrader 5. The EA persists the state, such as breakeven activation, last trailing price, and virtual SL in SQLite, then restores them on startup. This preserves dynamic protection flow and prevents lost progress after terminal interruptions.

Published article "Building an Object-Oriented Session VWAP Engine in MQL5".

Building an Object-Oriented Session VWAP Engine in MQL5

This article shows how to implement a session vwap in MQL5 as a reusable include class with a strict daily reset at broker midnight. The engine computes VWAP and volume‑weighted deviation bands only on closed bars and anchors accumulation with MqlDateTime to avoid distortions from missing candles. A companion indicator plots the baseline and bands, while an Expert Advisor reads signals once per bar for consistent, CPU‑efficient execution and reliable testing.

Published article "Feature Engineering for ML (Part 7): Entropy Features in Python".

Feature Engineering for ML (Part 7): Entropy Features in Python

The article provides production-ready entropy estimators (Shannon, plug-in, Lempel–Ziv, Kontoyiannis) operating on tick-rule–encoded sequences. It resolves three correctness and performance issues in the original code, verifies outputs against chapter references, and extends encoding with quantile and sigma options. Users gain reproducible results and markedly improved computation speed for large bar sets.

Published article "Forecasting in Trading Using Grey Models".

Forecasting in Trading Using Grey Models

The article discusses the application of Grey models to forecasting financial time series. We will consider the operating principles of Grey models and the specifics of their application to financial series. We will also discuss the advantages and limitations of using these models in trading.

4 new topics on forum:

and 1 more...

More than 900 new charts published:

Graphique GOLD, M15, 2026.06.27 01:05 UTC, XM Global Limited, MetaTrader 5, Real
GOLD, M15
Grafik XAUUSD, H1, 2026.06.28 12:39 UTC, Tickmill Ltd, MetaTrader 5, Demo
XAUUSD, H1
Chart XAUUSD, H1, 2026.06.28 01:45 UTC, Alpari, MetaTrader 4, Demo
XAUUSD, H1

The most downloaded free products:

There are more than 54,070 products available in Market

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

14 new signals now available for subscription:

Quantamental
284% 413 trades
Growth:283.52%
Equity:456.69USD
Balance:456.69USD
VIP_STRATEGY_GOLDFX
72% 127 trades
Growth:72.02%
Equity:1,933.75USD
Balance:1,933.75USD
Derek
45% 155 trades
Growth:45.46%
Equity:3,026.43USD
Balance:2,947.86USD
and 11 more...

Bestsellers in the Market:

The most downloaded free products:

5 new topics on forum:

and 2 more...
There are more than 54,000 products available in Market

Bestsellers in the Market:

12 new signals now available for subscription:

EURUSD Algo Trading
242% 1735 trades
Growth:242.26%
Equity:1,686.55USD
Balance:1,707.88USD
MiloBot PRO
84% 164 trades
Growth:84.28%
Equity:5,701.70USD
Balance:5,907.71USD
VampireGold LowRisk
63% 426 trades
Growth:63.28%
Equity:853.59USD
Balance:853.59USD
and 9 more...

16 new signals now available for subscription:

LDNews9919
105% 188 trades
Growth:105.05%
Equity:3,654.62USD
Balance:3,654.62USD
Goldman
101% 470 trades
Growth:100.55%
Equity:6,159.57USD
Balance:6,159.57USD
Moondancing
54% 672 trades
Growth:53.94%
Equity:3,719.34EUR
Balance:3,781.36EUR
and 13 more...

The most downloaded free products:

More than 1000 new charts published:

Grafico EURUSD, H1, 2026.06.26 19:37 UTC, Agile Global Ltd., MetaTrader 5, Contest
EURUSD, H1
图表 XAUUSD, M1, 2026.06.26 05:34 UTC, Raw Trading Ltd, MetaTrader 5, Real
XAUUSD, M1
Chart EURJPY, M15, 2026.06.26 05:50 UTC, Ava Trade Ltd., MetaTrader 5, Demo
EURJPY, M15
There are more than 153,990 topics available on forum

5 new topics on forum:

and 2 more...
There are more than 53,930 products available in Market

Bestsellers in the Market:

Published article "Gaussian Processes in Machine Learning (Part 2): Implementing and Testing a Classification Model in MQL5".

Gaussian Processes in Machine Learning (Part 2): Implementing and Testing a Classification Model in MQL5

In this section, we will look at the implementation of the key interfaces of the library of Gaussian processes in MQL5: IKernel, ILikelihood, and IInference. We will also demonstrate its operation on synthetic data and implement indicators for classification and regression, demonstrating its operation in online mode - with retraining of the model on each new bar.

New publications in CodeBase

  • Spread Calculator Spread calculator is created to display the current spread on any currency pair on the chart.
  • OnChart Candle Countdown Clock On-Chart Candle Countdown Clock is a simple indicator created to display the countdown timing of the last candle on any time frame.
  • Premium Discount Range Mapper A lightweight educational MetaTrader 5 indicator that maps Premium, Equilibrium and Discount areas from a selected market range.

The most popular forum topics:

Published article "Linear Regression Prediction Channels in MQL5: Constructing Statistically Grounded Confidence and Prediction Bands".

Linear Regression Prediction Channels in MQL5: Constructing Statistically Grounded Confidence and Prediction Bands

The article implements rolling OLS regression channels in MQL5 and computes confidence and prediction bands with Student's t critical values instead of a fixed standard-deviation multiplier. It explains the leverage-driven widening at window edges, contrasts the result with Bollinger and Donchian channels, and reviews OLS assumptions on price data. A five-line rendering is documented to ensure reliable display in MetaTrader 5.

Published article "The MQL5 Standard Library Explorer (Part 13): Implementing the Math Solvers Library in Trading".

The MQL5 Standard Library Explorer (Part 13): Implementing the Math Solvers Library in Trading

We present a complete workflow for adaptive filtering in MQL5 using the CNlEq Levenberg–Marquardt–like solver. The EA fits a VAMAC model—two EWMAs with an ATR‑based scaling—by supplying residuals and a Jacobian through CNlEq's reverse‑communication loop, with optional numerical or analytical derivatives. Code, setup instructions, and GBPUSD H1 tests show how to replace static thresholds with on‑bar re‑estimation.

Published article "Meta-Labeling the Classics (Part 2): Filtering and Sizing ADX Trades".

Meta-Labeling the Classics (Part 2): Filtering and Sizing ADX Trades

The DI crossover often triggers in ranges where +DI and -DI oscillate without persistence. We build a two-layer hybrid: Optuna's TPE optimizes a regime gate over ADXR threshold, DI lookback, and minimum DI separation to maximize signal precision on a held-out window, then a Random Forest uses eleven ADX-derived features to accept or scale entries via afml.bet_sizing. The result filters ranging-market bursts and calibrates position size on EURUSD H1.

More than 1000 new charts published:

График AMD, M2, 2026.06.25 14:37 UTC, FMGP Trading Group Pty Ltd, MetaTrader 5, Demo
AMD, M2
Grafico MSFT, MN1, 2026.06.25 21:32 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
MSFT, MN1
Grafico EURUSD, M30, 2026.06.25 20:16 UTC, FTMO Global Markets Ltd, MetaTrader 5, Demo
EURUSD, M30

The most downloaded free products:

Bestsellers in the Market:

There are more than 53,840 products available in Market

5 new topics on forum:

and 2 more...

29 new signals now available for subscription:

Dynamic liquidity intelligence Robo50
184% 49 trades
Growth:184.00%
Equity:122.81USD
Balance:142.00USD
Dynamic liquidity intelligence Vale50
158% 48 trades
Growth:158.08%
Equity:108.41USD
Balance:129.04USD
ROBOTRADER CLASSIC
157% 1782 trades
Growth:157.04%
Equity:1,527.52USD
Balance:1,538.14USD
and 26 more...

Published article "Designing a Strategy State Machine in MQL5: Replacing Nested If-Else Logic with Formal States".

Designing a Strategy State Machine in MQL5: Replacing Nested If-Else Logic with Formal States

Nested if-else logic inside OnTick() creates implicit states that are hard to isolate, debug, and extend without regressions. A formal finite state machine in MQL5 uses an IState interface, a CStrategyContext mediator, and four concrete states to separate detection from behavior. A three-file include structure resolves circular dependencies and keeps declarations, definitions, and instantiation clean, making changes safer and debugging faster.

Published article "MQL5 Trading Tools (Part 38): Adding a Tabbed Settings Window for Editing Object Properties".

MQL5 Trading Tools (Part 38): Adding a Tabbed Settings Window for Editing Object Properties

We add a tabbed settings window opened from the ribbon and bound to the selected object. The tabs — Style, Text, Coordinates, and Visibility — are built from the same descriptor system, with scrolling, per-level rows, and shared color/width/style popovers. The article covers layout, rendering, interaction, and inline price/time and numeric editing. You get one place to edit every property with live preview and commit-or-discard on close.

Published article "From Cloud to Complex: The Vietoris-Rips Filtration in MQL5".

From Cloud to Complex: The Vietoris-Rips Filtration in MQL5

We turn a price-embedded point cloud into a Vietoris–Rips filtration and its boundary matrix. The article enumerates vertices, edges, and triangles with filtration values, sorts them in entry order, and builds O(1) vertex/edge lookups. You get MQL5 classes CTDARips and CTDABoundary and a sparse Z/2 boundary suitable for the next-step persistence reduction.

Published article "Interactive Supply and Demand Zone Manager in MQL5 (Part II): Event-Driven Architecture and Persistent Lifecycle Logging".

Interactive Supply and Demand Zone Manager in MQL5 (Part II): Event-Driven Architecture and Persistent Lifecycle Logging

This article advances the stateful supply and demand zone framework for MetaTrader 5 by replacing polling with an event-driven model based on OnChartEvent(). We split synchronization into dedicated handlers for creation, modification, and deletion, and separate market logic in OnTick() from user interactions in OnChartEvent(). A persistent, append-only CSV logger records all lifecycle events, improving responsiveness, state consistency, and recoverable history for downstream analysis.

Published article "Artificial Atom Algorithm (A3)".

Artificial Atom Algorithm (A3)

The article describes implementation of the A3 algorithm - a metaheuristic optimization method inspired by chemical processes - in MQL5. Only two adjustable parameters, compactness and a small population, ensure high operating speed with sufficient quality of solutions.

The most downloaded free products:

More than 900 new charts published:

图表 GER40, H1, 2026.06.24 04:38 UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
GER40, H1
图表 EURUSD, H1, 2026.06.24 22:56 UTC, Neotech Financial Services (Pty) Ltd, MetaTrader 5, Real
EURUSD, H1
チャート US30.U26, M5, 2026.06.24 13:51 UTC, WM Markets Ltd, MetaTrader 4, Real
US30.U26, M5

7 new topics on forum:

and 4 more...

Bestsellers in the Market:

32 new signals now available for subscription:

World PEACE Multi FX Algo
2,332% 3924 trades
Growth:2,332.01%
Equity:205,139.00JPY
Balance:214,741.00JPY
Trendpilot006
256% 418 trades
Growth:256.08%
Equity:339,466.97USD
Balance:339,466.97USD
Trendpilot005
256% 416 trades
Growth:255.74%
Equity:424,393.89USD
Balance:424,393.89USD
and 29 more...
There are more than 53,750 products available in Market
There are more than 3,020 articles published on site

Published article "Quantum Neural Network in MQL5 (Part III): A Virtual Quantum Processor Based on Qubits".

Quantum Neural Network in MQL5 (Part III): A Virtual Quantum Processor Based on Qubits

The article focuses on creating a trading system with a real quantum simulator instead of mathematical analogies. The system uses 3 virtual qubits, quantum gates and superposition principles to analyze markets. It is implemented as a trading EA for MetaTrader 5 in MQL5. The main achievement is the transition from simulation to real quantum principles of financial information processing.

Published article "MQL5 Wizard Techniques you should know (Part 98): Using an Unscented Kalman Filter and a Capsule Network in a Custom Signal Class".

MQL5 Wizard Techniques you should know (Part 98): Using an Unscented Kalman Filter and a Capsule Network in a Custom Signal Class

This article presents 'CSignalUKFCapsNet', as a custom class coded in MQL5. This class is meant to be used with the MQL5 Wizard when assembling an Expert Advisor and when selected in the Wizard it defines the Expert Advisor's entry signals. In building this custom class, we brought together the algorithm Unscented Kalman Filter and the Capsule Neural Network. Our algorithm is showcased with four operation modes, and the coding of this as a custom class for the MQL5 Wizard, allows testing with various Trailing Stop methods and Money Management systems.

1...131415161718192021222324252627...689