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 "Online Machine Learning for Trade Signal Filtering in MQL5 (Part 1)".

Online Machine Learning for Trade Signal Filtering in MQL5 (Part 1)

This article implements an online logistic‑regression trade filter in native MQL5 and integrates it into an EMA‑crossover EA with a closed‑trade feedback loop. It details the shared class, features, SGD update, persistence, and a read‑only probability view. Synthetic experiments cover multi‑seed separation, calibration, feature ablation, regime‑shift baselines, and hyperparameter sweeps. You get reproducible scripts and a walk‑forward protocol to validate the filter on your own instrument.

Published article "Designing a Partial Close Engine in MQL5 with Configurable Profit Ladders".

Designing a Partial Close Engine in MQL5 with Configurable Profit Ladders

This MQL5 engine applies configurable profit ladders in R‑multiples to manage partial closes reliably. It prevents stranded remainders by rounding to lot step, computes close percentages from the original entry volume, and moves the stop to breakeven when configured. A supported filling mode is chosen automatically, and the download includes seven include files, a demo EA, and a verification script.

Published article "How To Debug MQL5 Code in MetaEditor".

How To Debug MQL5 Code in MetaEditor

This article is a practical walk-through of the MetaEditor debugger using a rolling z‑score indicator with two planted bugs: an off‑by‑one array access and a silent wrong‑denominator variance. We show how to set breakpoints, step through code, read the call stack, and inspect values in the Watch window. You will learn a repeatable method to catch both crashing index errors and tiny numerical biases that charts cannot reveal.

The most popular forum topics:

3 new topics on forum:

The most downloaded free products:

Bestsellers in the Market:

Most downloaded source codes this week

  • 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.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.

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.

There are more than 56,980 products available in Market

7 new signals now available for subscription:

Quant stategy
404% 268 trades
Growth:404.12%
Equity:2,121.41USD
Balance:2,121.41USD
Abu Jaber
42% 269 trades
Growth:42.29%
Equity:1,232.85USD
Balance:1,234.43USD
GRAVION EA VANTAGE
25% 85 trades
Growth:25.17%
Equity:1,300.37USD
Balance:1,300.37USD
and 4 more...

2 new topics on forum:

The most downloaded free products:

There are more than 56,890 products available in Market

More than 300 new charts published:

Grafik Volatility 75 Index, M15, 2026.08.22 00:20 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
Volatility 75 Index, M15
チャート PainX 400, H4, 2026.08.21 22:45 UTC, Weltrade Ltd., MetaTrader 5, Real
PainX 400, H4
Grafik XAUUSD, M5, 2026.08.21 03:33 UTC, Infinox Limited, MetaTrader 5, Real
XAUUSD, M5

5 new topics on forum:

and 2 more...

Bestsellers in the Market:

12 new signals now available for subscription:

Vex Fury Ultima Markets
96% 642 trades
Growth:96.25%
Equity:196.25USD
Balance:196.25USD
JIA
87% 1810 trades
Growth:86.78%
Equity:2,418.75USD
Balance:2,418.75USD
XM GOLD STOP 200
80% 74 trades
Growth:79.90%
Equity:539.71USD
Balance:539.71USD
and 9 more...

The most downloaded free products:

16 new signals now available for subscription:

SCA
111% 156 trades
Growth:110.53%
Equity:421.06UST
Balance:421.06UST
Quant Portfolio MT5
60% 68 trades
Growth:60.37%
Equity:4,098.78USD
Balance:4,076.57USD
Cepheus Discipline High Risk
49% 85 trades
Growth:49.17%
Equity:179.01USD
Balance:179.01USD
and 13 more...
There are more than 56,790 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • Hurst Exponent Regime Switch Indicator Estimates the rolling Hurst exponent of price via rescaled-range (R/S) analysis and plots it as a color-coded oscillator that flags whether the market is currently trending, mean-reverting, or moving like a random walk.
  • Multi Timeframe Trend Dashboard Indicator A compact on-chart panel showing the current symbol's trend across several timeframes at once, each evaluated independently with its own Fast/Slow moving-average cross. No switching charts to check "what's H4 doing" — it's all in one place, color-coded.
  • Fisher Transform Indicator A Fisher Transform oscillator built from statistical first principles — normalizing price into a bounded range, then applying a logarithmic transform to produce sharp, well-defined reversal signals instead of the gradual turns typical of conventional oscillators. Internal recursive state is handled through proper calculation buffers for reliable, correct behavior across backtests. From the article series "Making Custom Indicators for Beginners."
  • SuperTrend Indicator A custom SuperTrend indicator built from first principles, combining an ATR-based volatility band with a ratchet mechanism to produce a clean, non-repainting trend line. Internal recursive state is managed through properly registered calculation buffers, avoiding the state-loss bugs common in manually-managed array implementations. From the article series "Making Custom Indicators for Beginners."
  • Wolfe Wave Dashboard Professional MQL5 indicator (separate window) that automatically scans multiple symbols and timeframes, detects the most recent valid Wolfe Wave patterns (bullish/bearish), displays them in an interactive dashboard, and allows one-click chart opening with full pattern drawing.

4 new topics on forum:

and 1 more...

Published article "Developing Smart Chart Objects in MQL5 (Part 1): Building a Stateful Trendline Management Framework".

Developing Smart Chart Objects in MQL5 (Part 1): Building a Stateful Trendline Management Framework

This article details a practical framework for converting MetaTrader 5 trendlines from static drawings into managed runtime entities. It covers object discovery, event-driven synchronization of user edits, and confirmation logic based on ATR multipliers and closed candles. A central manager coordinates multiple lines and updates their visual state. Readers can implement consistent, extensible rules for detecting proximity, validating bounces, and confirming breakouts.

Published article "Building a Hidden Risk of Ruin Auditor in MQL5".

Building a Hidden Risk of Ruin Auditor in MQL5

Aggregate metrics alone do not reveal how a trade sequence manages risk. This MQL5 tool analyzes closed positions to flag four structural patterns: post-loss volume escalation, overlapping same-direction entries, asymmetric payoffs, and a classical risk-of-ruin figure. The results are merged into a configurable A-F grade with concise recommendations to guide further review.

Published article "Institutional-Grade Multi-Currency Portfolio Engine in MQL5 (Part 1): Architecture of a Multi-Currency EA Framework".

Institutional-Grade Multi-Currency Portfolio Engine in MQL5 (Part 1): Architecture of a Multi-Currency EA Framework

The article details a master–agent MQL5 framework that mitigates cross-symbol risk concentration. A single Portfolio Controller publishes risk limits and halt flags to Instrument Agents through shared channels and a readiness flag, while agents size orders only within the published budget. It contrasts global variables, named pipes, and files, and clarifies timer intervals and latency so data allocation may be up to one cycle stale without breaking coordination.

Published article "Beyond the Mean and Standard Deviation: A Robust Statistics Library for MQL5 Indicators".

Beyond the Mean and Standard Deviation: A Robust Statistics Library for MQL5 Indicators

Price outliers distort indicators based on the mean and standard deviation. This article delivers a robust MQL5 library (RobustStats.mqh) implementing the median, 1.4826-scaled MAD, and Theil–Sen slope, plus three drop‑in indicators that replace Bollinger Bands, the linear regression channel, and the z‑score oscillator. A comparison overlay and a breakdown‑point measurement on EURUSD show how the robust instruments hold their shape when a single spike moves the classical ones.

Published article "Python + LLM API + MetaTrader 5: Real-World Experience Building an Autonomous Trading Bot".

Python + LLM API + MetaTrader 5: Real-World Experience Building an Autonomous Trading Bot

The article describes the development of an MVP prototype for an autonomous trading bot for MetaTrader 5 that uses large language models (LLMs) via the OpenRouter API to analyze the market and make trading decisions. A Python script retrieves historical OHLCV data, sends it to an LLM for technical analysis based on support/resistance levels and Price Action patterns, and then automatically places orders with specified stop loss and take profit levels.

Published article "Neural Networks in Trading: Probabilistic Time Series Forecasting (Encoder)".

Neural Networks in Trading: Probabilistic Time Series Forecasting (Encoder)

We invite you to explore a new approach that combines classical methods and modern neural networks for time series analysis. The article provides a detailed explanation of the architecture and operating principles of the K²VAE model.

Published article "Fast Integration of a Large Language Model with MetaTrader 5 (Part II): Fine-Tuning on Real Data, Backtesting, and Live Trading by the Model".

Fast Integration of a Large Language Model with MetaTrader 5 (Part II): Fine-Tuning on Real Data, Backtesting, and Live Trading by the Model

The article describes the process of fine-tuning a language model for trading based on real historical data from MetaTrader 5. The base model, which has only theoretical knowledge of technical analysis, is trained on a thousand examples of the real behavior of currency pairs (EURUSD, GBPUSD, USDCHF, USDCAD) over 180 days. After being trained using Ollama, the model begins to understand the specific characteristics of each instrument.

The most downloaded free products:

More than 600 new charts published:

Grafik EURUSDm, H1, 2026.08.20 10:23 UTC, Exness Technologies Ltd, MetaTrader 4, Demo
EURUSDm, H1
Chart GBPUSDm, H1, 2026.08.19 02:38 UTC, Exness Technologies Ltd, MetaTrader 5, Demo
GBPUSDm, H1
Chart XAUUSD, M30, 2026.08.19 20:55 UTC, Top One Trader Ltd, MetaTrader 5, Demo
XAUUSD, M30

Bestsellers in the Market:

There are more than 56,680 products available in Market

20 new signals now available for subscription:

EURO 2026
744% 359 trades
Growth:743.74%
Equity:3,066.69EUR
Balance:3,896.45EUR
BTC 500
151% 548 trades
Growth:150.76%
Equity:1,255.94USD
Balance:1,253.81USD
TRG Gold
147% 184 trades
Growth:146.93%
Equity:246.93USD
Balance:246.93USD
and 17 more...
There are more than 154,670 topics available on forum

6 new topics on forum:

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

Published article "MQL5 Bootstrap (III): Simplified Functions for Working with News".

MQL5 Bootstrap (III): Simplified Functions for Working with News

This article presents a unified news model and a set of reusable MQL5 classes for working with the MetaTrader 5 Economic Calendar. You will retrieve, filter, and cache events by time, currency, country, and importance using a single interface across three providers: built-in calendar, CSV, and SQLite. The framework supports export/import, next/previous event lookup, and reliable strategy‑tester backtesting without changing trading logic.

Published article "Self Optimizing Expert Advisors in MQL5 (Part 18): Time Lagged Independent Components Analysis".

Self Optimizing Expert Advisors in MQL5 (Part 18): Time Lagged Independent Components Analysis

We evaluate blind source separation for market noise control using FastICA applied to SMA-filtered, time-lagged OHLC features. The study compares classical and surrogate targets, measures accuracy across lags, tunes KNN models, and inspects residual structure with clustering. Models are exported to ONNX and integrated into an MQL5 Expert Advisor for testing. The result is a reproducible pipeline from data extraction to deployment.

Published article "Differential Search Algorithm (DSA)".

Differential Search Algorithm (DSA)

The article discusses the Differential Search Algorithm (DSA), which simulates the migration of a superorganism in search of optimal living conditions. The algorithm uses a Gamma distribution to generate a pseudo-stable random walk and offers four strategies for selecting the direction of movement, along with three coordinate mutation mechanisms. How will this method perform?

Published article "Neural Networks in Trading: Probabilistic Time Series Forecasting (K2VAE)".

Neural Networks in Trading: Probabilistic Time Series Forecasting (K2VAE)

We invite you to explore the original implementation of the K²VAE framework — a flexible model capable of linearly approximating complex dynamics in latent space. This article demonstrates how to implement key components in MQL5, including parameterized matrices and how to manage them outside standard neural network layers. This material will be useful for anyone looking for a practical approach to building interpretable time-series models.

Published article "Training Neural Networks on Oscillators Without Look-Ahead Bias".

Training Neural Networks on Oscillators Without Look-Ahead Bias

The article describes an approach to trade labeling using oscillators for machine learning models. This eliminates look-ahead bias. It has been shown that this type of labeling does not lead to model overfitting, and the strategies continue to perform well over the long term.

The most downloaded free products:

Bestsellers in the Market:

15 new signals now available for subscription:

Nasdaq manual
496% 3594 trades
Growth:495.94%
Equity:50,930.43USD
Balance:54,484.44USD
Osloma Gold FM
321% 391 trades
Growth:321.03%
Equity:1,017.94USD
Balance:1,017.94USD
Dynamic Liquidity Intelligence CMC300
93% 94 trades
Growth:93.31%
Equity:292.02USD
Balance:292.02USD
and 12 more...
There are more than 56,580 products available in Market

New publications in CodeBase

  • HybridMicrostructure EA The Hybrid Microstructure EA is an advanced, high-frequency scalping Expert Advisor designed specifically for XAUUSD (Gold) on the M1 timeframe. Unlike traditional indicators that rely on lagging OHLC mathematics, this EA operates on Tick-Level Microstructure Dynamics—tracking tick velocity, volume-weighted average price (VWAP) deviations, and liquidity sweep rejections (stop hunts) executed by institutions.
  • AAPL cfd - ORB strategy Using ORB strategy on AAPL cfd
  • EdgeMeter - does your entry signal beat the spread? Measures whether an entry signal actually beats transaction costs, before you spend weeks building an EA around it. Reports net result after cost, an honest t-statistic on non-overlapping samples, and a random control. Places no orders.
  • Dynamic Session Range Sweep Detector with Liquidity Zone Marking Tracks the Asian, London, and New York session ranges, locks each one at session close, and flags true liquidity sweeps — a wick that pierces a locked high or low and closes back inside it — with an arrow signal and a shaded reaction zone. Non-repainting, works on any symbol and timeframe.

7 new topics on forum:

and 4 more...
1...242526272829303132333435363738...709