The most popular forum topics:
- ChatGPT can create awesome EA? 37 new comments
- MT4 Trade is disabled. 10 new comments
- Pair trading and multicurrency arbitrage. The showdown. 9 new comments
Published article "N-BEATS Network-Based Forex EA".

Implementation of the N-BEATS architecture for Forex trading in MetaTrader 5 with quantile forecasting and adaptive risk management. The architecture is adapted through bilinear normalization and specialized loss functions for financial data. Backtesting on 2025 data shows inability to generate profits, confirming the gap between theoretical achievements and practical trading performance.
Published article "From Option Chain to 3D Volatility Surface in MetaTrader 5".

This article walks through creating an MT5 indicator that ingests option chains from native symbols or CSV, inverts prices to implied volatility via a hybrid Newton–Raphson/bisection method, and assembles a clean strike–expiry grid. It then renders a shaded, rotatable 3D surface with the platform's DirectX layer, enabling clear, in-terminal analysis of skew and term structure using live or file-based data.
Published article "Interactive Supply and Demand Zone Manager in MQL5 (Part III): Zone Analysis, Stateful Interaction, and Pending Event Management".

We extend the stateful supply and demand framework for MetaTrader 5 with a quantitative admission model and a dedicated interaction engine. Candidate zones are scored by structural symmetry, volume participation, and ATR‑normalized displacement, then classified into objective tiers. Admitted zones follow a deterministic lifecycle that tracks first touch, validates bounces, or confirms breakouts, with full telemetry for analysis and reproducibility.
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- AIS Smoothed Linear Trend This indicator displays the smoothed value of the linear trend
- MA Gauge Pro - AKM Dynamic approach vastly outperforms relying on a single MA.
- Aegis Quantum Lite Educational MT5 Expert Advisor using completed-candle EMA 9/21 alignment and RSI 14 filtering, with fixed-lot execution and a compact black-and-gold dashboard.
- Alpha Beta Channel - AKM 1. The Core Tracking Engine (Alpha-Beta Filter)At its core, the indicator utilizes an Alpha-Beta filter—a lightweight, steady-state version of a Kalman filter designed to track position and velocity.Predictive Calculation: Instead of simply averaging past prices like an SMA or EMA, the engine calculates a predicted price based on current velocity ($v$).Error Correction:
- Alpha Beta Trend + Dashboard - AKM Variable Configurations to TestScalper Setup: Try an $\alpha$ of 0.45 and a $\beta$ of 0.12. The dashboard cells will flash changes rapidly, reacting instantly to short-term pullbacks.Swing Configuration: Lower the values to an $\alpha$ of 0.15 and a $\beta$ of 0.02. The matrix cells will stabilize, ignoring intraday market noise and preserving a clear view of macroscopic trends.
- External Range Liquidity ERL Market Structure External Range Liquidity ERL is a custom indicator for MetaTrader 4 designed specifically for traders utilizing Price Action and Smart Money Concepts. This indicator automatically maps the Market Structure and identifies areas where liquidity has been taken, known as a Liquidity Sweep.
Published article "Persistence Entropy as a Market Regime Indicator in MQL5".

This article turns the verified TDA pipeline into a live MQL5 indicator. It reduces each price window to two persistence-entropy lines (H0 and H1), computes a normalized loop-strength metric with an adaptive percentile band, and places fade marks only when loop strength is high and price hits a window extreme. You can attach the indicator, read six buffers from an Expert Advisor, and tune key window, ranking, and performance parameters.
Published article "Building an Object-Oriented Order Block Engine in MQL5".

The article presents a production-oriented Order Block engine for MQL5 packaged as an include class, it validates zones via displacement and market structure break, maintains mitigation state only on closed bars, and avoids heavy copies by passing data by reference. A diagnostic indicator plots zones, and an EA gates logic to new bars for stable performance and reproducible tests.
Published article "Encoding Candlestick Patterns (Part 4): Frequency Analysis for Double-Candlestick Structures".

This article extends single-candlestick analysis to ordered double-candlestick patterns using an MQL5 script. The script encodes candles into symbols, extracts every consecutive two-symbol sequence (treating Aa and aA as different), counts occurrences and percentages, and writes sorted frequency tables to a text file. Readers can quickly identify the most recurrent transitions by symbol, timeframe, and lookback for further statistical testing.
Published article "Neural network trading EA based on PatchTST".

The article presents the revolutionary architecture of PatchTST, a tailored transformer for financial time series analysis that breaks market data into 16-bar patches for efficient processing. We will discuss the full implementation of a trading robot in MQL5 covering everything from mathematical fundamentals and data structures to a ready-made EA with risk management and continuous learning systems.
The most downloaded free products:
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.
- KSQ CommandCenter Remote Google Sheets Trade Manager KSQ Command Centre is a production-ready, two-way bridge between MetaTrader 5 and Google Sheets. It was originally designed to help fund managers and quantitative traders remotely monitor and manage large, funded accounts (e.g., Darwinex Zero, Prop Firms, PAM, MAM) directly from a mobile browser, without needing to log in to a VPS. This Expert Advisor not only exports data—it actively listens for commands typed into your Google Sheet and executes them in MT5 in near real-time.
Most read articles this month

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.

Building a Viewport SnR Volume Profile Indicator in MQL5
We build a Support and Resistance Volume Profile indicator that adapts to the current viewport in MetaTrader 5. You will learn viewport detection, dynamic SnR identification, zoom‑driven bin sizing, min‑max volume scaling, and fast on‑chart rendering controlled by OnChartEvent. This approach expresses the relative strength of SnR levels with volume, keeping the chart focused on actionable reaction zones.
Bestsellers in the Market:
Published article "Analyzing the Hourly Movement of Trading Symbols and Their Spreads in MetaTrader 5".

The ProSpread seasonality index indicator with a Moving Average is a technical analysis tool that identifies seasonal patterns in price movements, analyzes price behavior during specific trading hours and is able to work with either a single instrument or a spread between two assets. It also visualizes the statistical probability of directional movements.
The most popular forum topics:
- Features of the mql5 language, subtleties and tricks 27 new comments
- What is your favorite scalping instrument? 11 new comments
- Indicators: Market Structure SMC: Swings, BOS/CHoCH, Order Blocks, FVG, QML 8 new comments
Published article "MQL5 Trading Tools (Part 40): Adding SQLite Persistence and Per-Timeframe Visibility to the Canvas Drawing Layer".

We add SQLite persistence to the canvas tools, saving every drawing and the entire UI session per symbol, then restoring them on startup so the workspace resumes exactly where you left it. The article builds versioned object serialization, a load/save lifecycle with dirty writes, and a timeframe-visibility editor that drives render-time filtering. The toolkit also runs as an indicator, so it can sit alongside other indicators or an Expert Advisor.
Published article "Measuring What Matters (Part 2): Building the Covariance Matrix: Eigenvalue Decomposition and Risk Factor Analysis in MQL5".

In Part 2, we introduce a reusable CCovarianceMatrix class that computes and stores a covariance matrix from raw return series using MQL5's native Cov() method. We verify symmetry, print a labeled matrix grid, and call Eig() to obtain eigenvalues and eigenvectors. Readers see how symbols co-move and which factors drive variance, enabling clearer portfolio diagnostics and reuse in scripts or EAs.
Published article "Building a Traditional Daily Pivot Point Indicator in MQL5".

This article develops a rule-based daily pivot point indicator in MQL5 that uses the previous trading day's high, low, and close values to generate pivot, support, and resistance levels. It details historical data retrieval, pivot computation, chart object management, configurable label rendering, and automatic level updates as new trading days begin. The completed indicator displays multiple historical pivot sessions on the main chart for technical analysis on daily and lower timeframes.
Published article "Market Simulation: Position View (III)".

In previous articles, we mentioned that sometimes we need to set a value for the ZOrder property. But why? The reason is that many pieces of code that add objects to a chart simply do not use, or more precisely do not define, a value for this property. The point is that I am not here to say what every programmer should or should not do, or how they should or should not write their code. I am here to show you, dear reader, and everyone who truly wants to understand how these processes work internally, what actually happens behind the scenes.
Published article "From Basic to Intermediate: Working with Files in the MetaTrader 5 Sandbox".

Do you know what a sandbox is? Do you know how to work with it? If the answer to either of these questions is “no”, read this article to understand the basic operating principle of a sandbox. You will also understand why MetaTrader 5 uses a sandbox to protect the integrity of some of its internal data. The material presented here is purely instructional. Under no circumstances should you treat the application as a final product whose purpose is anything other than studying the concepts presented.
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- Trend Flasher -AKM A multi currency multi symbols super trend dashboard
- CKS Position Risk Dashboard A read-only MT5 dashboard for risk-based lot sizing, account health, broker volume limits and current symbol exposure.
Published article "Strategy Configuration via External JSON Files in MQL5: Replacing Input Parameters with a Runtime Config Loader".

The article presents CJsonConfigLoader and a typed SStrategyConfig that move EA inputs to a shared JSON file. A hand-written, quote-aware tokenizer parses a flat object without any DLLs. A hotkey triggers reload so all instances can pick up new lot size, SL/TP, and spread limits without reattaching the EA. On malformed input, the loader falls back to safe defaults and keeps the previous configuration.
Published article "OrderSend retries and circuit breaker in MQL5".

Volatile-market failures such as requotes, connection drops, and partial fills expose a common weakness in EAs: unclassified retries and no cumulative failure control. This article introduces CRetryExecutor with exponential backoff and explicit error classification, plus a three-state CCircuitBreaker with cooldown and half-open probes, unified in CExecutionGateway. You can plug it into an EA to stop futile retries, prevent duplicate submissions, and improve diagnostics.
Published article "Beyond GARCH (Part VIII): The MMAR Library And Putting it to Work in an Expert Advisor".

This article finalizes the MMAR project with a CMMAR facade class and a demo Expert Advisor for MetaTrader 5. The facade exposes a compact API—configure, Fit(), Forecast()—that wraps partition analysis, spectrum fitting and Monte Carlo simulation. You will learn how to load data, fit the model and obtain a volatility forecast, with diagnostics and status handling for robust use in EAs.
Published article "Market Simulation (Part 24): Position View (II)".

In this article, I will show how to use an indicator to track open positions on the trading server in the simplest and most practical way possible. I am doing this step by step to show that you do not necessarily have to move all of this into an Expert Advisor. Many of you have probably become used to doing that for one reason or another. In fact, that is not really justified, because as this implementation evolves, it will become clear that you can create or implement different types of indicators for this purpose.
Published article "From Basic to Intermediate: Object Events (IV)".

In this article, we will complete what was started in the previous one: a fully interactive way to resize objects directly on the chart. Although many people imagine that creating something like this would require much deeper knowledge of MQL5, you will see that, using simple concepts and basic knowledge, we can implement a way to work with objects directly on the chart. This leads to a very interesting and quite compelling result.




























