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 "Generating a Per-Symbol Trade Analytics PDF Report from MQL5".

Generating a Per-Symbol Trade Analytics PDF Report from MQL5

This article shows how to generate a dependency-free, single-page PDF report in MQL5 using only string assembly and the FILE_BIN API. The script computes per-symbol trade statistics, then renders a labeled table and an equity curve with explicit PDF color and drawing operators. Statistics are calculated in a standalone module, so every value can be verified against synthetic data without relying on a live trading account.

Published article "Path Signatures for Lead-Lag Detection".

Path Signatures for Lead-Lag Detection

Build a level-2 path-signature engine in pure MQL5 to read the lead-lag ordering between two data streams without choosing a lag and without a linear model. The article delivers a reusable library, an indicator that plots the Levy‑area oscillator, and a simple rule‑based Expert Advisor. Code is cross‑checked against closed‑form cases, and the components are ready to plug into your projects.

Published article "Measuring broker execution quality in MQL5: Why your live account doesn't match the backtest".

Measuring broker execution quality in MQL5: Why your live account doesn't match the backtest

Live performance often drifts from backtests because of execution friction. We introduce an MQL5 diagnostic EA that records entry and exit slippage, asymmetry, observed spread, requotes, and per-leg latency, using a precise probe mode and an approximate passive mode, and writes every sample to CSV. Use the results to distinguish strategy issues from execution effects across your terminal, network, broker, and liquidity.

Published article "MCMC Sampling Methods: The Slice Sampling Algorithm".

MCMC Sampling Methods: The Slice Sampling Algorithm

The article examines slice sampling — an adaptive MCMC algorithm that automatically adjusts its sampling parameters. Its effectiveness is demonstrated using Bayesian linear and logistic regression models, and the results are compared with classical frequentist methods.

The most downloaded free products:

There are more than 57,050 products available in Market

More than 500 new charts published:

График GBPUSD, M5, 2026.08.08 12:58 UTC, FundedNext Ltd, MetaTrader 5, Real
GBPUSD, M5
Chart XRPUSD, H4, 2026.08.09 10:23 UTC, Deriv.com Limited, MetaTrader 5, Demo
XRPUSD, H4
Chart GBPUSD, M5, 2026.08.08 12:41 UTC, FundedNext Ltd, MetaTrader 5, Real
GBPUSD, M5

Bestsellers in the Market:

The most popular forum topics:

27 new signals now available for subscription:

Gold ruch
133% 957 trades
Growth:133.17%
Equity:9,307.36USD
Balance:9,307.36USD
LongTermTrading
76% 427 trades
Growth:76.15%
Equity:5,983.21USD
Balance:6,150.94USD
BISHOP
32% 255 trades
Growth:32.30%
Equity:5,400.20USD
Balance:5,400.20USD
and 24 more...

New publications in CodeBase

  • XAUUSD MTF Liquidity OB Reversal Breakout XAUUSD MTF Liquidity & Order Block Reversal Strategy A professional Smart Money Concepts (SMC) based MT5 indicator designed primarily for **XAUUSD (Gold)**. The strategy combines multi-timeframe liquidity, order blocks, liquidity sweeps, breakout/reversal confirmation, and M1 swing-based risk management to identify high-probability BUY and SELL opportunities. Strategy Features Multi-Timeframe Liquidity Detection The indicator identifies important liquidity and order-block levels from: * Best Day-wise Liquidity * H4 Liquidity & Order Blocks * M30 Liquidity & Order Blocks * M15 Liquidity & Order Blocks * M5 Liquidity & Order Blocks The strongest day-wise liquidity replaces simple Previous Day High/Low logic and searches historical daily candles for significant liquidity concentrations.
  • Swing Trading Dashboard Swing Trading Dashboard is a visual indicator for MetaTrader 5 (it does not generate automatic trade signals — it only displays information on the chart). Essentially it's a "dashboard" panel that calculates the recent swing trading range and shows where the current price sits relative to it — mid-range, near a boundary, or already broken out.
  • Scalping Dashboard This indicator is a professional Scalping Dashboard utility designed specifically for MetaTrader 5 (MT5). It displays real-time vital market status information and scalping strategy conditions (based on Exponential Moving Arrows/EMAs), automatically computing spreads, momentum, and moving averages to output instant BUY/SELL SETUP visual signals.
  • Previous Week High Low Indicator Plots the previous trading week's High and Low as horizontal reference levels across the current week, with optional multi-week history for context. No repainting, no discretion — the levels are read directly from the completed Weekly bar.
  • Daily Zone Recovery EA mt5 for GOLD Daily Zone Recovery is a multi-strategy trading expert advisor for MetaTrader 5 that operates based on the previous trading day’s high and low levels. The expert advisor monitors price behavior near daily extremes, uses three independent entry strategies, and can manage positions using a fixed-volume grid.
  • Magic Number Inventory, Trade Logging and Classifying by Magic Number A read-only audit script for accounts running several EAs (or manual trades alongside them). It groups the closed-trade history by magic number and prints one line per magic: closed round turns, net P/L including swap and commission from BOTH sides of the trade, win rate, profit factor, average win/loss, currently open positions and pendings, activity dates and symbols - sorted by net result, with a CSV export for spreadsheets.
  • Structure Range Sell Arrow SL Box: Extends UPWARDS from the Sell Arrow. Buy Arrow SL Box: Extends DOWNWARDS from the Buy Arrow.
  • Smart Session Breakout MT4 Asian Range with ATR Body-Quality Filter Dashboard and Non-Repainting Alerts Asian session range breakout indicator for MetaTrader 4. Signals are confirmed on bar close and never repaint. Unlike simple session breakout tools, it also measures the strength of the breakout candle: the candle body must reach a configurable multiple of ATR, so marginal breaks are filtered out. Includes range size filters, an on-chart dashboard with session phase, spread, ATR in pips and a bar close countdown, plus pop-up, sound, email and push alerts.
There are more than 3,200 articles published on site

Published article "A Reinforcement Learning System for Algorithmic Trading in MQL5".

A Reinforcement Learning System for Algorithmic Trading in MQL5

The article describes the development of a multi-agent machine learning system for algorithmic trading on MetaTrader 5 based on reinforcement learning. The system has a three-tier architecture: memory neurons store experience, agents make independent decisions, and the collective mind combines them through weighted voting. The system is continuously improved through Q-learning, pruning of ineffective neurons, and evolutionary reduction of exploration.

Published article "How We Built the Most Powerful Machine Learning-Powered Trading Platform: The Evolution of MQL and MetaTrader Through Archives, Forums, and Releases".

How We Built the Most Powerful Machine Learning-Powered Trading Platform: The Evolution of MQL and MetaTrader Through Archives, Forums, and Releases

A technical history of MQL evolution: from the limited MQL and MQL II languages, through procedural MQL4, to object-oriented MQL5 with native compilation, rich APIs, and a full-fledged engineering environment. We show here the key capabilities of the language and its integrations with Python, OpenCL, ONNX, OpenBLAS, databases, DirectX, the agentic AI Assistant, and the Model Context Protocol (MCP), which connects AI systems with the terminal, MetaEditor, market data, trading operations, and development tools. This article examines archival materials on the origins of MetaQuotes and MetaTrader, the launch of MQL4.COM and MQL5.COM, the championships, Algo Forge, and their impact on the ecosystem.

Published article "Neural Networks in Trading: A Cross-Domain Time Series Forecasting Framework (TimeFound)".

Neural Networks in Trading: A Cross-Domain Time Series Forecasting Framework (TimeFound)

In this article, we build the core of the TimeFound intelligent model step by step, adapting it to real-world time series forecasting tasks. If you are interested in the practical implementation of neural network patching algorithms in MQL5, you have come to the right place.

Published article "Exporting Custom Indicator Buffers to CSV for Python Backtesting Pipelines".

Exporting Custom Indicator Buffers to CSV for Python Backtesting Pipelines

We build a CSV exporter for MQL5 custom indicators that preserves the exact values seen on the chart. The script creates the indicator handle with iCustom, waits for BarsCalculated, aligns buffers to CopyRates, and writes a locale-safe CSV that pandas loads with parsed dates and NaN for warm-up bars. It addresses compile-time argument limits, jagged-array workarounds, and EMPTY_VALUE handling, enabling reliable Python backtests without re-coding the indicator.

Published article "Building a Volume-Based Liquidity Heatmap Indicator in MQL5".

Building a Volume-Based Liquidity Heatmap Indicator in MQL5

This article implements an MQL5 Liquidity Heatmap that infers likely liquidation zones from price and volume. It qualifies bars with a rolling volume SMA, computes leverage-based liquidation levels from candle extremes, ranks signals across two volume modes, and manages chart objects (lines and bubbles) that extend until price crosses them, allowing you to highlight potential stop-hunt areas and strengthen structural analysis.

Published article "Implementing and Benchmarking Bag-of-SFA-Symbols (BOSS) Against Dynamic Time Warping (DTW)".

Implementing and Benchmarking Bag-of-SFA-Symbols (BOSS) Against Dynamic Time Warping (DTW)

This article implements BOSS from scratch in MQL5 and applies it to regime classification: SFA turns windows into words, bags record word frequencies, and an ensemble over window lengths votes on labels. We cover the encoding steps, the BOSS distance, training with auto-generated regime labels, and practical parameters. A BTCUSD benchmark versus DTW shows higher macro accuracy on clean data and markedly faster inference.

Published article "Crystal Structure Algorithm (CryStAl)".

Crystal Structure Algorithm (CryStAl)

This article presents two versions of the Crystal Structure Algorithm: the original and the modified version. The Crystal Structure Algorithm (CryStAl), published in 2021 and inspired by the physics of crystal structures, was positioned as a parameter-free metaheuristic for global optimization. However, testing revealed a critical problem with the algorithm. A modified version, CryStAlm, is also presented; it addresses the original's key shortcomings.

There are more than 154,510 topics available on forum

8 new topics on forum:

and 5 more...
There are more than 56,950 products available in Market

The most downloaded free products:

Bestsellers in the Market:

20 new signals now available for subscription:

Zlodej Zlata 1
167% 920 trades
Growth:166.92%
Equity:1,101.18USD
Balance:1,101.18USD
The Golden Rocket
147% 73 trades
Growth:146.55%
Equity:1,310.19USD
Balance:1,310.19USD
UBS Christmas
131% 449 trades
Growth:130.56%
Equity:8,648.62USD
Balance:8,648.42USD
and 17 more...

Most downloaded source codes this week

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

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.

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.

New publications in CodeBase

  • Scale Out Value Analyzer A native MQL5 tool that reconstructs closed positions from deal-level history, flags the ones closed through more than one exit, and reprices each one at its own first, last, and best exit rates to measure whether scaling out actually added value. Reports a Value-Add Ratio, a Scale Out Win Rate, an Efficiency figure, and a single-trade dependence check, combined into an A+ to F score with recommendations. Runs out of the box against a built-in demonstration data set; a companion script exports the real input file from your own account history. Pure MQL5, no external libraries.
  • Smart Trade Manager for MT5 Automatic structure-based SL, breakeven, ATR trailing, and dollar-based profit protection for manual MT5 trades and pending orders on Gold and selected FX pairs.
  • Swing High Low - Non-Repainting Pivots with Push/Email Alerts Marks non-repainting swing highs and lows using configurable LeftBars / RightBars pivots. Sends push and email alerts on each new confirmed swing.
  • Risk Based Position Size Calculator Draggable Entry, Stop-Loss and Take-Profit lines with a live on-chart panel that calculates the exact lot size for a chosen account risk. No manual math, no guessing — drag the lines, read the size.
  • Trend Execution Planner - Regime and Risk Panel Free open-source MT5 read-only chart utility that scores current trend conditions and builds broker-normalized long and short risk plans. It uses moving-average direction and slope, ADX, Efficiency Ratio, ATR, spread, account currency and symbol specifications. It never opens, modifies or closes trades.

The most downloaded free products:

14 new signals now available for subscription:

CcrsxTraders
408% 279 trades
Growth:408.22%
Equity:1,320.57USD
Balance:1,320.57USD
Meridian Extreme Risk Mode
216% 373 trades
Growth:215.96%
Equity:480.52USD
Balance:512.70USD
Guardian FX Pro
206% 300 trades
Growth:205.69%
Equity:414.89USD
Balance:414.76USD
and 11 more...
There are more than 56,860 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • Risk Position Size Calculator Set your risk %, drag the stop, and get the exact lot size priced in your account currency — margin and target included. Calculates only, never trades.
  • MT5 Order Preflight - Read-Only Validation Checks a hypothetical MT5 market or pending order against current symbol, volume, tick-size, stop-distance and filling rules without sending a trade.
  • MT5 Broker Environment Report Prints a privacy-conscious snapshot of the current MT5 broker, account, symbol and terminal environment to the Experts log for diagnostics and support.
  • Trend Regime Inspector for MetaTrader 5 Open-source indicator combining moving-average direction, ADX and Kaufman's Efficiency Ratio into a transparent trend-condition score. Informational only; no trade execution.
  • Stochastic Reversal Signal A non-repainting Stochastic-based indicator that generates buy and sell signals based on extreme zone crossovers, featuring an alternating signal filter and bar-close alerts.

1 new topic on forum:

The most popular forum topics:

The most downloaded free products:

More than 500 new charts published:

Gráfico PainX 400, M2, 2026.08.07 16:03 UTC, Weltrade Ltd., MetaTrader 5, Real
PainX 400, M2
Chart USDCHF, H1, 2026.08.06 20:30 UTC, Ava Trade Ltd., MetaTrader 5, Demo
USDCHF, H1
Gráfico XAUUSD, M1, 2026.08.06 19:38 UTC, Gracex International Ltd., MetaTrader 5, Real
XAUUSD, M1
There are more than 56,780 products available in Market

Bestsellers in the Market:

4 new topics on forum:

and 1 more...

23 new signals now available for subscription:

Letme strategy
120% 1983 trades
Growth:119.74%
Equity:36,430.59USD
Balance:36,430.59USD
EU Zone Arsenal
119% 921 trades
Growth:119.45%
Equity:28,178.46EUR
Balance:28,528.30EUR
Nasdaq Investor
83% 609 trades
Growth:83.25%
Equity:93,050.39EUR
Balance:93,050.39EUR
and 20 more...

New publications in CodeBase

There are more than 12,260 codes published in Codebase

Published article "Building a Divergence System (Part III): The Adaptive SuperTrend EA".

Building a Divergence System (Part III): The Adaptive SuperTrend EA

The article implements a self-sufficient Adaptive SuperTrend EA with internal calculations on a selectable timeframe, avoiding external buffers and indicator files. It includes risk-based lot sizing, ATR stops, stepwise RR trailing, optional anti-repainting confirmation, and session control. Practitioners can reuse the structure for consistent new‑bar signal handling and broker‑compliant order validation.

Published article "Streaming MetaTrader 5 Trade Events to a Local HTTP Server Using WinINet in MQL5".

Streaming MetaTrader 5 Trade Events to a Local HTTP Server Using WinINet in MQL5

An MQL5 implementation sends trade lifecycle events to a local HTTP service through WinINet with a reusable session and per-request handles. The trade callback only enqueues JSON and returns, while a 500 ms timer drains the queue and retries failed posts, preserving order. A three-stage log policy keeps the Experts tab clear during downtime and summarizes recovery.

Published article "Mathematical Models in Grid Strategies".

Mathematical Models in Grid Strategies

In this article, we will examine the application of mathematics to grid strategies. We will consider the basic principles of the strategy, as well as its advantages and disadvantages. You will learn how to build a trading grid, set optimal parameters, and manage risks effectively.

Published article "Building a Modular Fair Value Gap (FVG) Detection Engine in MQL5".

Building a Modular Fair Value Gap (FVG) Detection Engine in MQL5

This article introduces a modular Fair Value Gap (FVG) detection engine for MQL5 packaged as a reusable include class, it evaluates imbalance zones on closed bars, applies a Simple True Range average filter to eliminate low-volatility noise, and supports wick-touch and close-through mitigation. A companion diagnostic indicator plots active gaps, and an Expert Advisor template demonstrates automated pullback entries with new-bar execution controls.

Published article "Automating Trading Strategies in MQL5 (Part 51): The Bread and Butter Judas Swing Model with Premium and Discount".

Automating Trading Strategies in MQL5 (Part 51): The Bread and Butter Judas Swing Model with Premium and Discount

We build a session-based reversal program in MQL5 using the Bread and Butter Judas Swing model. It derives a higher-timeframe daily bias, defines New York kill zones, maps each session's premium and discount from the live range, and requires a sweep before a market structure shift confirms entry. Readers get a ready approach to arm setups only during active sessions and execute in the bias direction with clear, testable rules.

Published article "MCMC Sampling Methods — The Metropolis-Hastings Algorithm".

MCMC Sampling Methods — The Metropolis-Hastings Algorithm

The Metropolis-Hastings algorithm is a fundamental Markov chain Monte Carlo (MCMC) method that is widely used to approximate posterior distributions in Bayesian inference. This article describes the theoretical foundations of the algorithm, the implementation of the MHSampler class in MQL5, and examples of its application, including an analysis of the resulting samples.

Published article "Neural Networks in Trading: Effective Feature Extraction for Accurate Classification (Final Part)".

Neural Networks in Trading: Effective Feature Extraction for Accurate Classification (Final Part)

The Mantis framework transforms complex time series into informative tokens and serves as a reliable foundation for an intelligent trading agent capable of operating in real time.

1...121314151617181920212223242526...692