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.

There are more than 61,560 products available in Market

Bestsellers in the Market:

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.
  • WaveMaster Pro EA Signal-Driven Automation for WaveMaster Oscilloscope. Automated execution engine for WaveMaster Oscilloscope. Reads signal buffers in real time. Full risk management, trailing, and break-even built in.
  • MD Scalper HFT – 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...

18 new signals now available for subscription:

Youhave
629% 4358 trades
Growth:628.51%
Equity:45,910.59USD
Balance:55,644.47USD
Newstrader28
68% 127 trades
Growth:67.54%
Equity:93.46USD
Balance:94.48USD
GOLD SCALPING 07
38% 66 trades
Growth:37.80%
Equity:739.91USD
Balance:739.91USD
and 15 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 700 new charts published:

Chart Volatility 25 (1s) Index, H4, 2026.10.01 12:32 UTC, Deriv.com Limited, MetaTrader 5, Demo
Volatility 25 (1s) Index, H4
차트 XAUUSD, M5, 2026.10.01 02:16 UTC, Five Percent Online Ltd, MetaTrader 5, Demo
XAUUSD, M5
チャート EURUSD, D1, 2026.10.01 00:27 UTC, Raw Trading Ltd, MetaTrader 5, Demo
EURUSD, D1
There are more than 61,450 products available in Market

Bestsellers in the Market:

5 new topics on forum:

and 2 more...

21 new signals now available for subscription:

VSA
1,159% 159 trades
Growth:1,158.60%
Equity:577.93USD
Balance:568.79USD
Legend Gold
43% 54 trades
Growth:42.94%
Equity:836.02USD
Balance:836.02USD
Action Trader
37% 62 trades
Growth:36.78%
Equity:4,137.59USD
Balance:4,137.59USD
and 18 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 1000 new charts published:

Gráfico EURUSD, H4, 2026.09.30 14:14 UTC, FundedNext Ltd, MetaTrader 5, Real
EURUSD, H4
チャート XAUUSD, M15, 2026.09.30 13:54 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, M15
차트 USDJPY, H1, 2026.09.30 11:16 UTC, Black Bull Group Limited, MetaTrader 4, Demo
USDJPY, H1
There are more than 61,330 products available in Market

The most downloaded free products:

Bestsellers in the Market:

The most popular forum topics:

24 new signals now available for subscription:

Vanvan
2,660% 528 trades
Growth:2,659.76%
Equity:1,000.57USD
Balance:1,000.57USD
QImpulse_FPT
389% 810 trades
Growth:389.10%
Equity:410.66USD
Balance:410.66USD
KAFUMAN
161% 412 trades
Growth:161.18%
Equity:52,236.52USD
Balance:52,236.52USD
and 21 more...

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 700 new charts published:

Graphique XAUUSD, M1, 2026.09.29 02:30 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, M1
Chart XAUUSD., M5, 2026.09.29 11:56 UTC, Orbex Global Ltd, MetaTrader 4, Demo
XAUUSD., M5
チャート EURUSD, H4, 2026.09.29 22:00 UTC, Gerchik and Co Limited, MetaTrader 4, Demo
EURUSD, H4

The most downloaded free products:

Bestsellers in the Market:

There are more than 61,210 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.

There are more than 155,200 topics available on forum

6 new topics on forum:

and 3 more...

20 new signals now available for subscription:

Xingli 5108
694% 66534 trades
Growth:693.67%
Equity:142,114.81USD
Balance:142,114.81USD
GrattMarMic
243% 3152 trades
Growth:242.96%
Equity:6,517.19EUR
Balance:6,870.81EUR
BlueWave BreakZone
60% 117 trades
Growth:59.64%
Equity:29,125.36USD
Balance:29,403.18USD
and 17 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
1...121314151617181920212223242526...708