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 "Using Renko-bar Regression with Error Correction".

Using Renko-bar Regression with Error Correction

The article presents a regression-based approach to forecasting Renko bars using CatBoost: the model estimates the logarithmic return of the next bar and the uncertainty of the forecast. We will examine a cascade of residual models with OOF validation using TimeSeriesSplit, shrinkage, and overall early stopping, as well as conditional bias correction. On EURUSD D1, a reduction in OOF-MAE was achieved, along with approximately 65% directional accuracy. A working script for MetaTrader 5 is provided that generates a signal, position size, SL, and TP in brick units.

Published article "Engineering Trading Discipline into Code (Part 9): Building a Trade Activity Audit Trail in MQL5".

Engineering Trading Discipline into Code (Part 9): Building a Trade Activity Audit Trail in MQL5

Trade authorization controls what a cooperating Expert Advisor is permitted to send, but not every account action passes through that code. A trade may originate from the desktop terminal, a mobile device, the web terminal, or another Expert Advisor. This installment develops an independent auditor that records live transaction stages through OnTradeTransaction(), reconciles available historical orders and deals within a configured recovery window, and writes an account-bound CSV journal. An on-chart panel summarizes the selected period and provides refresh, detail, and export controls without modifying trades.

Published article "Integrating News Sentiment to Avoid Strategy Disruption in MQL5".

Integrating News Sentiment to Avoid Strategy Disruption in MQL5

We present a dynamic news‑sentiment filter for MQL5 Expert Advisors. It uses WebRequest to query a REST API, parses JSON sentiment and confidence, and gates entries and exits alongside Moving Average and RSI signals. You get an example EA, integration steps, timer‑based updates, and Strategy Tester workarounds. The outcome is fewer trades against dominant news flow and earlier risk reduction when sentiment flips.

Published article "Neural Networks in Trading: Adaptive Perception of Market Dynamics (Encoder)".

Neural Networks in Trading: Adaptive Perception of Market Dynamics (Encoder)

The article presents the comprehensive architecture of the STE-FlowNet encoder, which combines stack memory, recurrent processing, and a correlation mechanism to extract hidden market dependencies. The article demonstrates how these modules are sequentially integrated into a single computational chain capable of performing comprehensive time-series analysis.

Published article "Real-Time Polynomial Regression: A Causal Savitzky-Golay Implementation for MQL5".

Real-Time Polynomial Regression: A Causal Savitzky-Golay Implementation for MQL5

We adapt the Savitzky–Golay filter to a strictly causal, real-time form for MQL5 and derive the fixed coefficients for end-point evaluation. The article provides a full indicator and an Expert Advisor, explains the edge-evaluation noise sensitivity, and implements a multi-bar confirmation safeguard. Backtests on several symbols are shown without cherry-picking. You get ready-to-compile code, parameter guidance, and a reduced-lag alternative to moving averages.

Published article "Machine Learning Under Constraint (Part 4): The Stop-Loss Ceiling Meets the Optimal Trading Rule Search".

Machine Learning Under Constraint (Part 4): The Stop-Loss Ceiling Meets the Optimal Trading Rule Search

The article constrains the optimal trading rule by a prop-firm stop-loss ceiling and corrects OU fitting by pooling within-trade pairs per AFML eq. 13.6. We apply the ceiling as a feasibility mask on a shared PT–SL mesh, ensuring the constrained set is a subset of the baseline. Practical guidance covers when the ceiling binds, the Sharpe cost, and how exposure and live budget state affect the bound.

Published article "Population-Based Optimization Algorithms: Building a Defense Against Cheaters".

Population-Based Optimization Algorithms: Building a Defense Against Cheaters

The algorithms were rerun on the updated functions, and a method was proposed for quickly verifying their "honesty". The composite test combines five different landscapes and eliminates the possibility of gaining an advantage based on the geometry of individual problems, allowing for a quick assessment of the algorithm's actual search capability. A script is provided for preliminary validation of algorithms before they are applied to the optimization of trading strategies.

The most downloaded free products:

More than 1000 new charts published:

Gráfico EURUSD, M20, 2026.10.20 15:27 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, M20
Chart EURUSD, M15, 2026.10.20 15:25 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, M15
Gráfico GBPJPY, H1, 2026.10.20 20:07 UTC, Combat Capital Markets Ltd., MetaTrader 5, Demo
GBPJPY, H1
There are more than 64,250 products available in Market

21 new signals now available for subscription:

Oil GF
329% 319 trades
Growth:329.37%
Equity:20,321.85USD
Balance:20,321.85USD
US30 Price Action
55% 299 trades
Growth:54.90%
Equity:2,069.93USD
Balance:2,069.93USD
Mega Trend Matrix
53% 524 trades
Growth:53.13%
Equity:612.21USD
Balance:614.83USD
and 18 more...

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

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.

How to Order a Trading Robot in MQL5 and MQL4

How to Order a Trading Robot in MQL5 and MQL4

"Freelance" is the largest freelance service for ordering MQL4/MQL5 trading robots and technical indicators. Hundreds of professional developers are ready to develop a custom trading application for the MetaTrader 4/5 terminal.

Bestsellers in the Market:

New publications in CodeBase

  • GM Matrix Monitor — read-only risk dashboard for your EA matrix Read-only panel showing per-magic net P/L, account drawdown, daily-loss breaker progress and freeze/liquidate thresholds. Does NOT trade.
  • Non-Repainting Fair Value Gap Detector Non-repainting three-bar Fair Value Gap detector for MetaTrader 5. Closed-bar detection, the 50% Consequent Encroachment level, mitigation as an explicit state machine, incremental scanning, and a built-in self-audit that re-checks the stored gap levels against the closed-bar series on attach. Pure native MQL5, no DLLs, no external dependencies.
  • Session Range Breakout: Asia, London and New York high/low levels Session Range Breakout draws the high and low of up to three intraday sessions (Asia, London and New York by default) and extends each level to the right with optional H/L labels and a range rectangle. Session hours, names and colours are configurable in server time. Optional popup, sound and push alerts fire when a bar closes outside a session range. The levels are fixed once the session closes, so the drawing does not repaint. The indicator draws chart objects only and never opens trades.
  • TSCombo5 Geminis, Mistral, Claude & Perplexity UNITED!!
  • Copilot Adaptive Regime Candles by Copilot AI

6 new topics on forum:

and 3 more...

Published article "Benchmark Champions vs. Real-World Optimization Problems".

Benchmark Champions vs. Real-World Optimization Problems

We analyze why ratings may be inflated due to the alignment of algorithm trajectories with benchmark diagonals, and we supplement the testing methodology with a requirement to keep the global extremum away from the diagonals. We update Forest and Megacity, and perform RAW verification and calibration using VerifyExtremes.mq5. A drop in HHO and DOAm performance serves as a practical indicator of false leaders.

Published article "Hyperdimensional Computing: Learning in One Integer Add, and the Nulls That Judge It".

Hyperdimensional Computing: Learning in One Integer Add, and the Nulls That Judge It

A complete Hyperdimensional Computing library for MQL5 implements bind, bundle and permute over 4096‑bit hypervectors, graded level ladders for quantities, an encoder for bars and sequences, and a classifier trained by integer addition. It includes a purged, ordered validation split, online updates without refitting, a market scan with two nulls, and a Python reference that reproduces the MQL5 model bit for bit, so you can validate results and deploy a reproducible indicator and test suite.

Published article "Diebold-Mariano Testing in MQL5: Validating Predictive Edge Across Instruments and Models".

Diebold-Mariano Testing in MQL5: Validating Predictive Edge Across Instruments and Models

The article shows how to compare two trading forecasters in MQL5 using the Diebold–Mariano test with HAC‑corrected variance and the Harvey–Leybourne–Newbold adjustment. It explains implementation details, including loss choices, horizon‑dependent lag windows, rolling computation, verdict handling, and a manifest‑driven configuration, plus a Student‑t implementation without external libraries. An EA and an indicator provide a live dashboard and significance bands for practical, defensible model selection.

Published article "Neural Networks in Trading: Adaptive Perception of Market Dynamics (STE-FlowNet)".

Neural Networks in Trading: Adaptive Perception of Market Dynamics (STE-FlowNet)

The STE-FlowNet framework offers a new perspective on financial data analysis by responding to actual market events rather than fixed timeframes. Its architecture preserves local and temporal dependencies, making it possible to track even small impulses in price dynamics.

Published article "Native Gaussian Process Regression in MQL5: Short-Horizon Price Forecasting with Uncertainty Bands".

Native Gaussian Process Regression in MQL5: Short-Horizon Price Forecasting with Uncertainty Bands

The article rebuilds a Gaussian Process forecaster in native MQL5 around market-state inputs and direct horizon log-return targets. It employs a Matern 3/2 kernel, symmetric Cholesky with adaptive jitter, standardized targets, and a log‑space grid search that avoids state side effects. The EA trades only when az‑score over observed variance clears a threshold and the edge beats the live spread. Calibration is verified in Strategy Tester.

Published article "The Kalman Filter for Price Smoothing: An Exact Implementation in MQL5".

The Kalman Filter for Price Smoothing: An Exact Implementation in MQL5

This article implements the scalar Kalman Filter for price smoothing in MQL5 using the standard local-level model and the exact prediction–update equations. It explains how process and measurement noise (Q, R) shape the Kalman gain, builds two independently configured filters into a fast/slow crossover, and provides a complete indicator and Expert Advisor that trade a stability-confirmed signal via iCustom, giving a reproducible baseline for testing and tuning.

Published article "Building a Position Lifecycle Manager in MQL5 (Part 2): Managing Manual and Multi-Symbol Positions".

Building a Position Lifecycle Manager in MQL5 (Part 2): Managing Manual and Multi-Symbol Positions

This update adds manual position adoption and multi-symbol lifecycle management. The manager detects and tracks positions regardless of the chart, applies initial protection, transitions to break-even under fixed or ATR triggers, and validates broker constraints per symbol. Using the MACD sample for context, it demonstrates reusable management across instruments and manually opened trades.

Published article "Uncertainty as a Model (Part 5): The Basics of Regression".

Uncertainty as a Model (Part 5): The Basics of Regression

A practical introduction to time series regression models: regression on a constant and simple regression with deterministic, exogenous, and endogenous regressors. It describes the key steps in the diagnostic process, including residual analysis and hypothesis testing, that are necessary for making informed trading decisions. MQL5 scripts for MetaTrader 5 are included; they implement tests and plots using real data.

The most downloaded free products:

More than 1100 new charts published:

Gráfico Volatility 25 (1s) Index, M30, 2026.10.19 03:02 UTC, Deriv.com Limited, MetaTrader 5, Demo
Volatility 25 (1s) Index, M30
График EURUSD, M15, 2026.10.19 05:53 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, M15
График XAUUSD, H12, 2026.10.19 09:25 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, H12

35 new signals now available for subscription:

Nasdaq Level Scalper
194% 992 trades
Growth:194.43%
Equity:133.04USD
Balance:133.04USD
Shadow Monarch
59% 354 trades
Growth:59.19%
Equity:3,183.79USD
Balance:3,183.79USD
Stable Neural EA
43% 12 trades
Growth:43.25%
Equity:429.99USD
Balance:429.99USD
and 32 more...

Bestsellers in the Market:

There are more than 64,020 products available in Market

New publications in CodeBase

There are more than 155,560 topics available on forum
There are more than 12,610 codes published in Codebase

5 new topics on forum:

and 2 more...

The most popular forum topics:

There are more than 3,560 articles published on site

Published article "How to Set Up an AI Hedge Fund in MetaTrader 5".

How to Set Up an AI Hedge Fund in MetaTrader 5

The article examines the architecture of a committee consisting of 15 AI agents: ten analysts and four risk officers vote in three parallel phases, and the Chair records the final result. Isolated pair contexts with separate reputations are used for eight currency pairs. The dynamic vote threshold depends on the daily PnL targets. The Expert Advisor uses only the signal, SL and TP, which allows for evaluation pf the quality of its decisions without any additional mechanics.

Published article "Chart Synchronization in MQL5 (Part 1): From a Simple Script to an Interactive Indicator".

Chart Synchronization in MQL5 (Part 1): From a Simple Script to an Interactive Indicator

The article develops a practical MetaTrader 5 tool that synchronizes charts of the same symbol across timeframes, starting from a script and moving to an interactive indicator. It uses time as a common reference, converts it to bar indices with iBarShift(), and navigates charts with ChartNavigate(). The result is a synchronized workspace for efficient MTF analysis. This is Part 1 of a three-part development series.

Published article "Where your backtest stops being real: Measuring the depth of your broker's tick history".

Where your backtest stops being real: Measuring the depth of your broker's tick history

In the "Every tick based on real ticks" mode, the Strategy Tester's journal reports the minutes for which real ticks were absent or discarded and says that every tick generation was used for them. We show where the journal records this, measure how far back usable tick history goes on two demo servers, and check the ticks from inside an Expert Advisor, so a test range can be chosen by its real-tick share.

Published article "Building a PDF Creation Library in MQL5 (Part 2): Why PDFs Break".

Building a PDF Creation Library in MQL5 (Part 2): Why PDFs Break

Learn how a viewer opens a PDF backwards, why xref entries must be exactly 20 bytes, and how a two-character change falsifies multiple offsets. We reproduce three typical failures, compare results in PDFium and pypdf, and extract four strict checks a generator must pass. The included PdfValidate.mqh class for MQL5 applies these checks and returns actionable offsets and object numbers for reliable testing beyond “it opens”.

Published article "Controlling MetaTrader 5 from Telegram with Hermes and MCP".

Controlling MetaTrader 5 from Telegram with Hermes and MCP

Hermes Agent links a private Telegram bot to the MetaTrader 5 MCP interface, so natural-language requests call terminal tools under controlled permissions. The article shows how to install Hermes on Windows, configure an AI service and the Telegram gateway, authorize users, and add the MCP settings generated by the terminal. Readers learn to run read‑only checks, perform bounded MQL5 edits and compilation, launch Strategy Tester runs, inspect market and account data, and enable trading tools deliberately.

Published article "The MQL5 Standard Library Explorer (Part 18): Building a Multi-Symbol Indicator Cache".

The MQL5 Standard Library Explorer (Part 18): Building a Multi-Symbol Indicator Cache

The article introduces a centralized cache that serves indicators to multiple strategy nodes. It encodes full indicator identity in keys, stores Standard Library objects in CArrayObj entries, reuses matching instances, verifies readiness, refreshes data, and deletes each indicator on final release. Readers gain a predictable resource lifecycle and reduced duplication in multi‑symbol Expert Advisors.

Published article "Neural Networks in Trading: A Spike-Semantic Approach to Spatiotemporal Identification (Conclusion)".

Neural Networks in Trading: A Spike-Semantic Approach to Spatiotemporal Identification (Conclusion)

In our interpretation, S3CE-Net skillfully translates the market into the language of events and captures early impulses that traditional indicators simply average out. STFS ensures robust training — the model sees the data from different perspectives and does not overfit to local anomalies. SSAM blocks and the OpenCL implementation deliver practical speed and accuracy, while the separation between training and deployment modes saves resources in production.

Published article "The Hypothesis of Randomness: Searching for Hidden Patterns in Price Series".

The Hypothesis of Randomness: Searching for Hidden Patterns in Price Series

The article describes a test of the hypothesis of randomness for quotes based on a chi-square statistic derived from the frequencies of overlapping s-chains. The article shows how to define discrete states and compare observed and expected frequencies in order to detect Markov memory in price increments. This approach helps distinguish structural dependence from noise and formalize the testing of trading hypotheses.

More than 1100 new charts published:

チャート EURUSD, D1, 2026.10.17 16:54 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, D1
График EURUSD, H1, 2026.10.17 20:26 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, H1
Graphique EURUSD, H1, 2026.10.17 19:10 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, H1

The most downloaded free products:

17 new signals now available for subscription:

VG 610023647 qiangshangshiqu
612% 2222 trades
Growth:612.05%
Equity:24,134.62HKD
Balance:24,134.62HKD
HOPE ATM 145
24% 110 trades
Growth:24.18%
Equity:620.90USD
Balance:620.90USD
Forex
22% 256 trades
Growth:22.06%
Equity:5,162.08ZAR
Balance:6,102.88ZAR
and 14 more...
There are more than 63,780 products available in Market

Bestsellers in the Market:

Most downloaded source codes this week

  • APEX VELOCITY ApexVelocity is a professional-grade Expert Advisor designed to capture explosive momentum in high-volatility instruments like XAUUSD (Gold). Moving away from rigid, hard-coded parameters, v1.0 introduces a robust, fully dynamic architecture that adapts to market conditions and broker specifications in real-time.
  • Gold MT5 Fractal Breakout EA A MetaTrader 5 (MT5) Expert Advisor based on breakouts of prior swing highs and lows. The EA places pending orders around confirmed fractal structures and manages each trade with defined stop-loss, take-profit, and optional position-management rules.
  • EMA Cross Scalper M15 (XAUUSD, WIB session filter) EMA(10) x EMA(30) scalper for XAUUSD on the M15 timeframe with a Jakarta session filter. Educational example: fixed lot size, SL/TP in points, maximum of 1 position, spread filter. Tested on 100% real ticks.

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.

How to Order a Trading Robot in MQL5 and MQL4

How to Order a Trading Robot in MQL5 and MQL4

"Freelance" is the largest freelance service for ordering MQL4/MQL5 trading robots and technical indicators. Hundreds of professional developers are ready to develop a custom trading application for the MetaTrader 4/5 terminal.

1...121314151617181920212223242526...713