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.

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.

More than 800 new charts published:

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

The most downloaded free products:

Bestsellers in the Market:

There are more than 58,120 products available in Market

36 new signals now available for subscription:

The Gold Reaper 100DD
252% 218 trades
Growth:251.97%
Equity:3,519.68USD
Balance:3,519.68USD
EURO 2026
249% 91 trades
Growth:249.37%
Equity:1,997.05EUR
Balance:1,970.86EUR
EAtradingsinyal
183% 90 trades
Growth:183.02%
Equity:0.00USD
Balance:0.00USD
and 33 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:

30 new signals now available for subscription:

Nasdaq manual
470% 3349 trades
Growth:470.03%
Equity:52,819.04USD
Balance:52,819.04USD
Osloma Gold FM
382% 303 trades
Growth:382.20%
Equity:1,165.82USD
Balance:1,165.82USD
ZneeLBO
338% 193 trades
Growth:338.19%
Equity:1,000.12USD
Balance:1,000.12USD
and 27 more...
There are more than 58,020 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...

The most popular forum topics:

Published article "Building a Basket Order Manager in MQL5 for Correlated Position Groups".

Building a Basket Order Manager in MQL5 for Correlated Position Groups

The article's system introduces CBasketManager: positions are grouped by a comment‑based basket ID, analyzed as a single snapshot, and controlled with a unified equity stop. CBasketScanner computes aggregate P&L and volume‑weighted pip performance; CBasketStopRegistry triggers coordinated closure on threshold breach; CBasketExecutor adapts to the broker's filling mode. A lightweight dashboard shows live legs, volumes, stops, and distances for faster basket decisions.

Published article "Foundation Models for Trading (Part II): Decoding, Autoregression, and an Exact KV-Cache".

Foundation Models for Trading (Part II): Decoding, Autoregression, and an Exact KV-Cache

We complete the native MQL5 port of Kronos: the decoder, the predictor's decode_s1 and decode_s2 stages with their cross-attention traps, and the autoregressive loop that produces a multi-bar forecast. Then we profile and make it roughly 4.5x faster with an exact KV-cache and pre-transposed weights, verifying every stage against PyTorch.

Published article "Making Custom Indicators for Beginners (Part 1): SuperTrend Indicator".

Making Custom Indicators for Beginners (Part 1): SuperTrend Indicator

This article builds a robust SuperTrend indicator in MQL5 using ATR-based bands, a ratchet mechanism, and strict series indexing to avoid silent recursion errors and repainting on closed bars. We walk through buffer binding, ATR handle management, seeding, and arrow confirmation logic. A companion EA demonstrates practical integration

Published article "Developing a Terminal Manager (Part 3): Getting Account Information and Adding Configuration".

Developing a Terminal Manager (Part 3): Getting Account Information and Adding Configuration

We are adding to our web application the ability to retrieve and display information about the terminal instances’ trading accounts, including balance, profit, connection status, and other important details. We will also implement a flexible configuration system that lets you manage application settings via an external JSON file, and improve the user interface of the main page.

Published article "Feature Engineering for ML (Part 13): Trend-Scanning Features in Python".

Feature Engineering for ML (Part 13): Trend-Scanning Features in Python

Trend-scanning supports both forward and backward windows, and the labeling default is unsafe for features: it looks ahead and boosts next-bar agreement well above chance on random walks. We provide a dedicated wrapper, get trend scanning features, that forces computational causal and returns only window, slope, t value, and rsquared. A second analysis quantifies errors introduced by the default log transform on signed series.

Published article "Neural Networks in Trading: Adaptive Periodic Segmentation (Conclusion)".

Neural Networks in Trading: Adaptive Periodic Segmentation (Conclusion)

We invite you to dive into the exciting world of LightGTS — a lightweight yet powerful framework for time-series forecasting, where adaptive convolution and RoPE encoding are combined with innovative attention mechanisms. In our article, you will find a detailed description of all components — from creating patches to the complex mixture of experts in the decoder — ready for integration into MQL5 projects. Discover how LightGTS takes automated trading to a whole new level!

Published article "Bonobo Optimizer (BO)".

Bonobo Optimizer (BO)

The article presents the implementation and analysis of the Bonobo Optimizer algorithm, which is based on the unique behavioral characteristics of bonobos — their dynamic fission-fusion social structure and three mating strategies. What interesting features does this method have?

Published article "Low-Frequency Quantitative Strategies in MetaTrader 5 (Part 5): Pre-Backtest Evaluation of Machine-Learning-Generated Signals Through Formulaic Alphas".

Low-Frequency Quantitative Strategies in MetaTrader 5 (Part 5): Pre-Backtest Evaluation of Machine-Learning-Generated Signals Through Formulaic Alphas

The article shows how to evaluate machine-learning alphas before a full backtest by expressing them as formulaic alphas. We compute Information Coefficient (IC), Rank IC, Information Ratio (ICIR), and t-statistics to quantify forecasting strength and stability. A MetaTrader 5 backtest illustrates differences versus execution-dependent tests, and a Python parser facilitates reproducible calculations and bulk screening.

Published article "Building a Crosshair Volume Profile Indicator in MQL5".

Building a Crosshair Volume Profile Indicator in MQL5

We implement an interactive Crosshair Volume Profile indicator in MQL5 for MetaTrader 5. Using a right-click-and-drag crosshair, you select a chart region; the indicator then builds adaptive price bins, accumulates tick or real volume, detects the POC, and renders the profile on the chart. You will practice OnChartEvent()-driven interaction, cursor-to-time/price mapping, and price-source models (Close, Median, Typical, Weighted, OHLC4) for on-demand volume analysis.

Published article "Building a Dynamic ATR-Based Trend Channel Indicator in MQL5".

Building a Dynamic ATR-Based Trend Channel Indicator in MQL5

This article develops a dynamic ATR-based trend channel indicator in MQL5 that responds to current market volatility. It derives True Range, applies a two-step ATR smoothing, and constructs adaptive upper and lower boundaries to track trend shifts. The tool also renders a trailing trend line, trend-colored candles, and reversal arrows, offering a usable code base for volatility-aware analysis and further indicator design.

The most downloaded free products:

More than 400 new charts published:

Chart UT100Roll, M1, 2026.08.17 21:00 UTC, EGM Securities Limited, MetaTrader 5, Real
UT100Roll, M1
Chart EURUSD, M5, 2026.08.18 01:48 UTC, FBS Markets Inc., MetaTrader 5, Real
EURUSD, M5
Gráfico USDCAD, H4, 2026.08.18 21:11 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
USDCAD, H4
There are more than 57,920 products available in Market

New publications in CodeBase

  • Liquidity Void Decay Oscillator. A subwindow oscillator that flags thin-participation displacement bars as "liquidity voids" and scores 0–100 how quickly price re-fills each one, distinguishing fast-absorbed noise from levels still acting as real support or resistance.
  • Server Clock and Daily Reset Hour A free, read-only MetaTrader 5 panel that converts your prop firm's daily reset rule (written in whatever time zone the firm uses) into your broker's actual server time, shows a live countdown to the next reset, and warns you before a daylight-saving shift moves the boundary by an hour. Sends no orders, reads no account data, display only.
  • Currency Strength Meter Ranks the 8 major currencies by relative strength on a live on-chart panel, calculated from the average percentage change of every available cross pair — not just USD pairs — so weak/strong currencies are visible at a glance, independent of whichever chart you have open.
  • Candle Body-to-Wick Pressure Oscillator Converts the body-to-wick makeup of every candle into a bounded conviction reading, then smooths it into an oscillator that flags buyer/seller pressure and automatically marks divergence against price.
  • Multi-Symbol Correlation Divergence Meter Tracks the rolling correlation between the current chart symbol and a chosen reference symbol, and flags the moment they decouple while their price spread is statistically stretched.
  • Adaptive Volume Profile Node Tracker Builds a rolling, volatility-adaptive volume profile over a configurable lookback window and plots the Point of Control (POC), Value Area High/Low, and statistically significant High/Low Volume Nodes (HVN/LVN) directly on the chart.
  • Volume-Weighted Delta Divergence Oscillator A normalized order-flow oscillator that estimates buy/sell volume pressure per bar, accumulates it into a rolling delta, and automatically flags regular bullish and bearish divergence against price swings.

Bestsellers in the Market:

Most downloaded source codes this month

  • 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.
  • 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.

Most read articles this month

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.

MetaTrader 4 on Linux

MetaTrader 4 on Linux

In this article, we demonstrate an easy way to install MetaTrader 4 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.

6 new topics on forum:

and 3 more...

22 new signals now available for subscription:

Komodo Dragon
97% 63 trades
Growth:97.25%
Equity:463.88USD
Balance:463.88USD
Account 388
55% 273 trades
Growth:54.59%
Equity:389.63USD
Balance:389.67USD
SomaGold SomaOil Portfolio
51% 232 trades
Growth:50.74%
Equity:24,816.00USD
Balance:24,816.00USD
and 19 more...
There are more than 3,240 articles published on site

Published article "Enhancing the MQL5 Portfolio Analyzer Dashboard: Active Mitigation, Data Exports, and AI Integration".

Enhancing the MQL5 Portfolio Analyzer Dashboard: Active Mitigation, Data Exports, and AI Integration

This article delivers active drawdown monitoring, automated mitigation rules, Excel XML data export, and AI-assisted review for the Portfolio Analyzer dashboard. It visualizes strategy-level drawdowns over time, enforces limits by closing positions and optionally disabling AutoTrading, and generates structured spreadsheets from trade records. A hybrid MQL5-Python approach runs the external review script directly from the terminal, supporting practical risk control and transparent reporting.

Published article "CSV Data Analysis (Part 8): Building an SQLite Strategy Registry from Accumulated CSV Exports".

CSV Data Analysis (Part 8): Building an SQLite Strategy Registry from Accumulated CSV Exports

Flat files work well at the start of an MQL5 research pipeline, but they hinder cross-run queries and provenance once the archive grows. We build a Python-based SQLite registry that ingests CSV exports with SHA-1 deduplication, records EA version and run timestamps, applies forward-only schema migrations, and indexes common filters. You get a structured query layer for fast lookups, robustness checks, and version comparisons across all campaigns.

1...121314151617181920212223242526...695