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.

New publications in CodeBase

  • Arixis Market Regime Map - Trend, Range and Volatility Classifier Arixis Market Regime Map is a non-repainting MT5 indicator that classifies market conditions as Trend Up, Trend Down, Range or Transition using price efficiency, normalized slope, volatility, market structure and multi-horizon agreement.
  • Edge or Luck: bootstrap test of your average trade Resamples your closed trades 10,000 times to show whether your average trade is an edge or could still be luck: the 95% range of the average and the chance it is below zero.
  • Prop Firm Daily Loss Tracker - Daily Loss Limit Monitor Shows the day's result against the daily and max loss limits of a prop firm account, with a warning alert, in a panel on the chart.
  • Market Behavior Analyzer: Swing Structure and Market Context The Market Behavior Analyzer is a practical indicator designed to make market structure easier to read directly from the chart. It identifies significant swing points, classifies them as Higher Highs, Higher Lows, Lower Highs, and Lower Lows, and tracks the movement between them in pips. It also provides a Market Story panel and an interactive Swing Inspector for examining impulses, pullbacks, retracements, swing duration, and the developing market structure.
  • History Integrity Auditor Audits the bar history your terminal actually holds, which is the history every backtest and every indicator reads. Six checks per symbol: impossible OHLC values, broken bar times, bars missing while the broker's own session table says it was quoting, empty and flat bars, bars that disagree with the broker's own M1 series, and spread sanity. The headline figure is session coverage, not a grid percentage that mostly measures how many weekends you audited. Every finding goes to CSV with its bar time, and the audited bars plus the session table can be dumped so the whole report can be recounted by something other than this tool.
  • MD Scalper – Trend / Reversal pending-stop scalper with trailing stop Scalping Expert Advisor that reads a 3-period smoothed MA channel (High/Low), places pending stop orders either with the move (Trend) or behind it (Reversal), and trails the stop loss tick by tick. It includes broker-safe order handling for stop level, freeze level, retries and latency.(Inspired by Waygrow Ea)

7 new topics on forum:

and 4 more...

16 new signals now available for subscription:

Youhave
558% 3926 trades
Growth:558.29%
Equity:54,400.75USD
Balance:54,867.38USD
PearLee
75% 76 trades
Growth:74.62%
Equity:66.13USD
Balance:66.13USD
Multi Asset Algo Portfolio
39% 10 trades
Growth:38.95%
Equity:34,748.13USD
Balance:34,748.13USD
and 13 more...

Published article "Symbolic Fourier Approximation in MQL5: Benchmarking SFA Against SAX".

Symbolic Fourier Approximation in MQL5: Benchmarking SFA Against SAX

We implement Symbolic Fourier Approximation in MQL5 and compare it to SAX under a shared harness on identical price windows. SFA keeps low‑frequency Fourier coefficients and learns per‑position bins (MCB), with a proven, sound lower bound. The measurements show how the same bit budget behaves under different splits of word length and alphabet, and give a practical rule for choosing settings for your symbol.

Published article "Uncertainty as a Model (Part 2): Dependence Among Random Variables — From Correlation to Copulas".

Uncertainty as a Model (Part 2): Dependence Among Random Variables — From Correlation to Copulas

The second part of the series examines the mathematical framework for multivariate random variables, which is necessary for analyzing the dependence and joint behavior of market assets. This section describes joint distribution functions, the concepts of marginal and conditional distributions, and the conditions for dependence and independence of variables. The theoretical material is based on extending the analogy between probability and mass to multidimensional space. Particular attention is given to measures of association: from classical linear covariance and correlation to modern tools such as copulas and Shannon mutual information.

Published article "Building Volatility Models in MQL5: Implementing the APARCH Volatility Process".

Building Volatility Models in MQL5: Implementing the APARCH Volatility Process

The article introduces the APARCH volatility process to the MQL5 library via the CAparchProcess class, estimating the power exponent (delta) jointly with other parameters. It details the recursion, parameter bounds, stationarity constraints, and starting values and reports SLSQP solver updates that streamline optimization. Implementation correctness is partially validated by reproducing approximations of GARCH and GJR-GARCH conditional volatility under parameter restrictions. A companion APARCH indicator visualizes conditional volatility, standardized residuals, and delta to track volatility dynamics and parameter drift.

Published article "Trade Duration vs Profitability Scatter Plot Indicator in MQL5".

Trade Duration vs Profitability Scatter Plot Indicator in MQL5

The article presents a compact dashboard that relates trade duration to net profit using MQL5 and CCanvas. It pulls closed deals, derives duration in minutes, and renders a log‑scaled scatter by symbol, with an overlaid least‑squares line and R². A bucketed duration view identifies which hold‑time range produced the highest average result, helping assess exit timing.

Published article "Neural Networks in Trading: Robust Trading Signals in Any Market Regime (ST-Expert)".

Neural Networks in Trading: Robust Trading Signals in Any Market Regime (ST-Expert)

In this article, we will explore the ST-Expert framework, which ensures the robustness of forecasts under market uncertainty by taking local and global dependencies in time series into account. Its flexible architecture promotes model adaptability and improves the accuracy of predictions.

The most downloaded free products:

More than 1200 new charts published:

图表 XAUUSD.p, D1, 2026.10.01 21:26 UTC, Pepperstone EU Limited, MetaTrader 5, Real
XAUUSD.p, D1
График GER40, H1, 2026.10.01 05:25 UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
GER40, H1
Gráfico XAUUSD, M5, 2026.10.01 02:16 UTC, Five Percent Online Ltd, MetaTrader 5, Demo
XAUUSD, M5
There are more than 62,460 products available in Market

37 new signals now available for subscription:

VSA
1,183% 137 trades
Growth:1,183.17%
Equity:584.24USD
Balance:579.89USD
HAN INVEST SISTEM
454% 168 trades
Growth:453.85%
Equity:209.71USD
Balance:209.71USD
Long k4
103% 97 trades
Growth:103.47%
Equity:216.23USD
Balance:216.23USD
and 34 more...

Bestsellers in the Market:

5 new topics on forum:

and 2 more...

New publications in CodeBase

There are more than 3,470 articles published on site

Published article "Building a Market Behavior Analyzer in MQL5".

Building a Market Behavior Analyzer in MQL5

We outline a modular analyzer for MetaTrader 5 that separates detection, interpretation, and visualization. The engine identifies swing highs and lows, assigns structural labels, evaluates impulses and pullbacks, and stores results in a market state object. An on‑chart dashboard and interactive inspection tools make the latest structure and measurements immediately accessible.

Published article "From Novice to Expert: Trading Multi-Symbol Basket".

From Novice to Expert: Trading Multi-Symbol Basket

The article develops a multi-symbol basket EA that standardizes prices, derives PCA weights with native MQL5 matrices, forms a synthetic spread, and trades z-score deviations from a rolling mean. It validates symbols and synchronized history, stabilizes component orientation, maps signed weights to leg directions, and applies broker-aware volumes, stops, and netting rules. Basket entries run with rollback protection and chart status, with a reproducible testing procedure.

Published article "Market Microstructure in MQL5 (Part 9): Pullback Quality".

Market Microstructure in MQL5 (Part 9): Pullback Quality

Part 9 adds a second measurement layer to Part 8's micro‑trend signal: pullback quality. It maps Fibonacci retracement depth to a six‑level PULLBACK QUALITY label, adds an H1 range position from a 60‑bar rolling proxy, and uses lag‑1 momentum autocorrelation. These inputs form a single composite entry‑quality score in [0,1] for filtering setups and sizing trades within MicroStructure_Foundation.mqh.

Published article "Intrinsic Time: From the Directional-Change Scaling Laws to the Alpha Engine".

Intrinsic Time: From the Directional-Change Scaling Laws to the Alpha Engine

The article implements intrinsic-time analysis in MQL5: an event-based directional-change operator that splits ticks into directional-change and overshoot sections. We reproduce the core scaling laws on 17.8 million live EUR/USD ticks and compare them to a random-walk baseline. Finally, we build a hedging-account Expert Advisor that trades the Alpha Engine with limit orders, detailing thresholds, inventory skew, and liquidity control for practical reuse.

Published article "Implementing and Comparing Five Historical Volatility Estimators in MQL5".

Implementing and Comparing Five Historical Volatility Estimators in MQL5

The study implements five historical-variance estimators in MQL5 and evaluates their one-session-ahead persistence forecasts for EURUSD D1 sessions using an M1 realized-variance proxy. Deterministic tests cover formulas, chronological order, and target construction. A configurable indicator, comparison scripts, and CSV outputs provide reproducible losses, calibration diagnostics, a common‑target mask, and sensitivity to the estimation window.

Published article "Money Management in MQL5 (Part 1): Kelly Position Sizing from the Strategy's Own Edge".

Money Management in MQL5 (Part 1): Kelly Position Sizing from the Strategy's Own Edge

This article applies the Kelly criterion to position sizing in native MQL5. It presents a reusable CKelly class that estimates win rate and payoff from closed deals, derives the Kelly fraction, and sizes lots from a stop distance. A Monte Carlo sweep of the Kelly multiplier shows growth peaking at full Kelly while drawdown and ruin increase, motivating fractional Kelly such as half Kelly that preserves most growth with materially lower drawdown.

Published article "Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 5): Fill Rules, Holes and Borders".

Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 5): Fill Rules, Holes and Borders

Part 5 adds a fill rule to the rasterizer and a stroke helper to the path. The engine now supports both non-zero and even-odd fills via a single enum parameter, enabling rings, true borders that do not repaint interiors, and glyph counters. AddThickLine() builds strokes from fills in one path and one pass, preserving uniform opacity at joints and showing why strokes require the non-zero rule.

More than 1300 new charts published:

Chart NAS100, D1, 2026.09.30 13:05 UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
NAS100, D1
Gráfico US30, H1, 2026.09.30 13:00 UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
US30, H1
Graphique XAUUSDr, D1, 2026.09.30 06:28 UTC, HF Markets (SV) Ltd., MetaTrader 5, Real
XAUUSDr, D1
There are more than 62,340 products available in Market

The most downloaded free products:

Bestsellers in the Market:

37 new signals now available for subscription:

Vanvan
2,439% 500 trades
Growth:2,439.30%
Equity:1,322.79USD
Balance:1,322.79USD
QImpulse_FPT
415% 801 trades
Growth:414.70%
Equity:432.16USD
Balance:432.16USD
KAFUMAN
164% 354 trades
Growth:164.01%
Equity:52,802.86USD
Balance:52,802.86USD
and 34 more...

The most popular forum topics:

5 new topics on forum:

and 2 more...

Published article "How to Implement Competition Among LLM Agents in MetaTrader 5".

How to Implement Competition Among LLM Agents in MetaTrader 5

The article describes a competitive architecture for MetaTrader 5 in which ten LLM agents, each with different trading rules, manage their own capital and open independent positions using unique magic numbers. The system prompt and the agent's trading aggressiveness are adjusted based on PnL results and the trade streak. A reproducible framework with operating modes and monitored metrics is presented, suitable for testing and further optimization.

New publications in CodeBase

  • Mirror Hedge EA (Same terminal and account only) Mirrors trades opened, modified, and closed by another EA on the same hedging account, selected by magic number. By default it inverts direction (Buy↔Sell, SL↔TP), so you can forward-test the reverse of a strategy with real spreads, slippage, and execution.
  • Arixis Backtest Robustness Analyzer A free open-source MT5 utility for analyzing historical trading performance beyond Profit Factor.
  • ATS Liquidity City - liquidity pools and sweeps, drawn as a neon city Shows where stops are likely resting and which ones were just taken. Liquidity pools = confirmed swing highs and lows that price has not traded through yet, equal highs/lows (a bigger pool) and yesterday's high and low. When a bar trades beyond a pool it is marked as swept, and as "grabbed & rejected" if the same bar closes back inside. Non-repainting: a swing is used only after N closed bars on each side. The panel is a neon city drawn on a CCanvas: the price is a flying car, sell stops are towers below it, buy stops floating platforms above it, yesterday's levels golden billboards, a searchlight sweeps the sky and a ticker runs today's catch. Two buffers give the nearest active pool above and below for use in an Expert Advisor. Indicator only: it never trades.
  • Repaint Inspector Measures whether an indicator repaints instead of trusting the claim. It re-reads the buffers of any custom indicator on bars that have already closed and counts every value that changes, appears or disappears, with the furthest shift back at which that still happens. Verdict per buffer on a chart panel, every event written to CSV.
  • Edge Drift Detector Tests whether live closing deals still match the backtest of an Expert Advisor. A bootstrap-calibrated CUSUM detector raises an alarm and estimates when the drift began, a two-window check separates a short dip from a lasting decline, and an expectancy decomposition shows whether the win rate or the trade sizes changed. The script generates demonstration data on the first run and is written in pure MQL5.

Published article "Neural Networks in Trading: A Unified View of Space and Time (Conclusion)".

Neural Networks in Trading: A Unified View of Space and Time (Conclusion)

The Extralonger framework demonstrates a unique ability to integrate spatial and temporal factors into a single model, ensuring high forecast accuracy. Its architecture allows it to adapt to different planning horizons and financial instruments while maintaining the system's transparency and manageability.

Published article "Profit Factor Stability Chart Across Rolling Windows in MQL5".

Profit Factor Stability Chart Across Rolling Windows in MQL5

A modular MQL5 toolkit computes and visualizes rolling Profit Factor over fixed trade-count windows. It presents the statistical motivation, an incremental algorithm that avoids recomputation, and a dedicated CCanvas rendering pipeline. The dashboard adds reference lines, shading for weak periods, and summary metrics, while a separate test suite validates the math, giving a practical way to monitor stability and detect deterioration in strategy behavior.

Published article "Beyond REST and ZeroMQ: Building a gRPC/Protocol Buffers Bridge for Real-Time MetaTrader 5–Python Inference".

Beyond REST and ZeroMQ: Building a gRPC/Protocol Buffers Bridge for Real-Time MetaTrader 5–Python Inference

This article defines a Protocol Buffers contract for the MetaTrader 5-Python boundary and implements a length-prefixed Protobuf-over-TCP client in MQL5, since MQL5 cannot speak real gRPC natively. A small Python shim relays those frames to a genuine grpc.aio server, unary today, with streaming already live on the backend. You get schema-enforced, strongly-typed messages, explicit errors, retry/backoff, and a Strategy Tester cache for reproducible backtests where sockets don't run.

Published article "Self-Exciting Markets: Building a Hawkes Process from Scratch".

Self-Exciting Markets: Building a Hawkes Process from Scratch

Volatility arrives in clusters: one large move makes the next large move more likely, and quiet spells stay quiet. This article builds a Hawkes self-exciting point process in pure MQL5 to measure that effect directly, ending in a single number, the branching ratio, that says how reflexive a market currently is. You get a small, tested library, an indicator that plots the fitted intensity live, and a demonstration Expert Advisor, along with the honest limits of all three.

Published article "Architecture for Collective Trading Decisions by AI Agents".

Architecture for Collective Trading Decisions by AI Agents

The article describes the architecture of a multi-agent trading system based on the grok-4-fast language model, in which, instead of a single system prompt, four independent analysts with fundamentally different roles operate: a bull, a bear, a risk manager, and an arbiter. Three analysts run in parallel using a ThreadPoolExecutor and, within 3–5 seconds, formulate well-reasoned positions based on the same market data; after that, a deterministic judge renders a final verdict according to strict rules.

More than 1200 new charts published:

チャート NAS100, M15, 2026.09.29 22:41 UTC, Fusion Markets Pty Ltd, MetaTrader 4, Real
NAS100, M15
Grafik NAS100, M15, 2026.09.29 22:41 UTC, Fusion Markets Pty Ltd, MetaTrader 4, Real
NAS100, M15
차트 XAUUSD., M5, 2026.09.29 11:56 UTC, Orbex Global Ltd, MetaTrader 4, Demo
XAUUSD., M5

The most downloaded free products:

Bestsellers in the Market:

There are more than 62,200 products available in Market

Most downloaded source codes this month

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

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.

30 new signals now available for subscription:

Xingli 5108
743% 59106 trades
Growth:743.33%
Equity:151,013.88USD
Balance:151,013.88USD
GrattMarMic
237% 3032 trades
Growth:236.53%
Equity:6,202.07EUR
Balance:6,730.57EUR
VTMarkets7588459
79% 3443 trades
Growth:79.25%
Equity:7,442.27USD
Balance:9,619.11USD
and 27 more...
There are more than 155,200 topics available on forum

6 new topics on forum:

and 3 more...

New publications in CodeBase

  • Buy GBPJPY Every Monday. That's the Whole Strategy. A free, fully open EA: buy GBPJPY every Monday at 11:00 server time (04:00 New York), close at 23:00. Stays profitable in backtest with the entry anywhere from 09:00 to 13:00. Attach to GBPJPY M1.
  • Market session indicator lines for scalpers Quickly view each and every individual market's open and close times. Very important for short term scalping. I own the copyright, if anyone modifies or uses this it must stay free. Comments and feedback welcome.
  • Spread Profile by Hour Shows the real spread for each server hour, measured from your broker's own tick history: median and 90th percentile per hour, optional cost as a share of your stop and per lot, and CSV export.
  • Symbol Spec Auditor A chart panel that shows the contract specification details that decide position size and trading cost (point value, spread cost, margin, swap, execution rules) in the account currency, warns about broker settings that silently break lot-size code, and exports the audit of every Market Watch symbol to CSV.
  • Sensible Guide Confluence H1 indicator that combines support/resistance confluence from H4, D1 and W1 with EMA trend alignment and candlestick confirmation. Shows non-repainting BUY/SELL arrows with ATR-based stop and reward/risk filtering.
  • Global Variable Inspector: list, export, delete and restore terminal global variables with filters Script that lists the global variables of the terminal with value, last access time and age, filtered by prefix, substring and age. It exports them to CSV, deletes the matching ones after a confirmation and a backup, and restores them from a CSV file.
There are more than 12,470 codes published in Codebase
There are more than 3,450 articles published on site

Published article "From Deal History to Hazard Curves: Survival Analysis Applied To Strategies".

From Deal History to Hazard Curves: Survival Analysis Applied To Strategies

This article reframes performance from unconditional win rate to conditional probability given survival time. It introduces an MQL5 library, an on‑chart indicator, and a demo Expert Advisor that read deal history, fit Kaplan–Meier and Aalen–Johansen curves with competing risks, and report forward probabilities over a bar‑based horizon. Readers gain a reproducible way to quantify the chance that the current position reaches its target or stop, and to see the bias of the naive censoring approach.

123456789...690