Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

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 "Beyond the Clock (Part 4): Efficacy of Bars on Trending and Mean-Reversion Strategies".

Beyond the Clock (Part 4): Efficacy of Bars on Trending and Mean-Reversion Strategies

Does better return conditioning buy strategy performance? We hold bar count fixed across time, tick, tick-imbalance, and tick-runs on 60.5 million EURUSD ticks, then meta-label RSI, Bollinger, and ADX/DI entries and score with purged cross-validation. No family delivers a consistent edge; efficacy varies narrowly and the best case fails a permutation test. Readers learn how to control overlap, leakage, and multiple testing in bar studies.

Published article "Market Simulation: Position View (IV)".

Market Simulation: Position View (IV)

Here we will start bringing together different components or applications that were previously completely isolated from each other. Chart Trade, the mouse indicator, and the Expert Advisor had already been linked to one another, but there was still no way to directly display on the chart the positions open on the trading server, which are often managed using a cross-order system. From this point on, this becomes possible, opening the way for various ideas and future implementations. Although we are only beginning to put these components into operation, we already have a direction for further development.

Published article "From Basic to Intermediate: FileSave and FileLoad".

From Basic to Intermediate: FileSave and FileLoad

In today’s article, we will look at several ways to work with the FileSave and FileLoad library functions. Although many people consider them of limited use because of certain limitations or difficulties they create in specific scenarios, properly understanding how these two functions work can save us a great deal of effort at certain points. They are also an excellent way to work with log files.

Published article "Trading Robot Based on a GPT Language Model".

Trading Robot Based on a GPT Language Model

The article presents a complete implementation of TimeGPT, a specialized Transformer-based architecture for forecasting financial time series on the MetaTrader 5 platform. Adaptation of the attention mechanism to financial data, selective tokenization of price changes, hardware-aware optimizations, and advanced learning techniques are discussed. Included are practical testing results showing 87% forecast accuracy over a 24-bar horizon with a training time of 15 minutes on the CPU. We also present a ready-made trading EA with automatic retraining.

Published article "Custom Indicator Workshop (Part 4) : Automating UT Bot Alerts into a Trading Expert Advisor".

Custom Indicator Workshop (Part 4) : Automating UT Bot Alerts into a Trading Expert Advisor

This article shows how to build an MQL5 Expert Advisor around the UT Bot Alerts indicator. The EA reads custom indicator signals via iCustom() and CopyBuffer(), evaluates entries only on new bars, using the last closed candle at index 1, and enforces a one-direction-at-a-time model by closing opposite positions before taking new entries. It also adds optional ATR-based stop-losses, reward-to-risk take-profits, dedicated buy/sell execution functions, magic-number tracking, and basic backtesting for repeatable evaluation.

Published article "Creating an Interactive Portfolio Analyzer Dashboard with CCanvas in MQL5".

Creating an Interactive Portfolio Analyzer Dashboard with CCanvas in MQL5

This article presents a standalone Portfolio Analyzer dashboard implemented as an Expert Advisor for MetaTrader 5. It reads account deal history, reconstructs closed positions, and attributes results by magic number or normalized comment to deliver clear per-strategy metrics. The interface provides a vector equity curve, date filters, and strategy selectors, plus a Pearson correlation matrix to reveal strategy redundancy. You can attach it to a separate chart without modifying existing trading EAs.

Published article "Exponentially Weighted Covariance Matrix in MQL5: Building an Adaptive Correlation Monitor for Multi-Symbol EAs".

Exponentially Weighted Covariance Matrix in MQL5: Building an Adaptive Correlation Monitor for Multi-Symbol EAs

This article builds a constant-memory EW covariance engine and a chart heatmap for monitoring cross-symbol correlations in MQL5. CEWCovariance updates in O(N²) time per bar and exposes covariance/correlation accessors; CHeatmapRenderer shows a five‑symbol matrix with values and colors. You will learn λ-to‑window mapping, how to set a meaningful min_obs warm‑up, and how to size the variance guard epsilon for real FX M1 data.

The most downloaded free products:

More than 1200 new charts published:

График EURUSD, H1, 2026.07.16 16:18 UTC, XM (SC) Limited, MetaTrader 5, Real
EURUSD, H1
图表 US500.cash, M5, 2026.07.16 16:06 UTC, FTMO Global Markets Ltd, MetaTrader 4, Real
US500.cash, M5
Chart GOLD, M15, 2026.07.16 17:35 UTC, XM Global Limited, MetaTrader 5, Demo
GOLD, M15

Bestsellers in the Market:

There are more than 55,740 products available in Market

The most popular forum topics:

34 new signals now available for subscription:

FXS1
2,319% 221 trades
Growth:2,318.89%
Equity:806.36USD
Balance:806.36USD
Anson Account 3
1,319% 1093 trades
Growth:1,319.37%
Equity:32,375.92USD
Balance:32,375.92USD
VisionAir
96% 190 trades
Growth:95.79%
Equity:349.80USD
Balance:412.53USD
and 31 more...

4 new topics on forum:

and 1 more...

Published article "N-BEATS Network-Based Forex EA".

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

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

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.

There are more than 55,630 products available in Market

The most downloaded free products:

More than 1100 new charts published:

Graphique XAUUSD, H1, 2026.07.15 16:35 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, H1
Chart AUDUSD, H1, 2026.07.15 06:54 UTC, Cosmo Markets Ltd., MetaTrader 5, Real
AUDUSD, H1
График XAUUSD, H4, 2026.07.15 14:26 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
XAUUSD, H4

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.

25 new signals now available for subscription:

MaxproCC
141% 5095 trades
Growth:141.42%
Equity:70,370.07USD
Balance:70,370.07USD
DT SWING
61% 153 trades
Growth:61.04%
Equity:161.32EUR
Balance:161.32EUR
GoldMax EA ProECN
49% 1279 trades
Growth:49.18%
Equity:8,308.37USD
Balance:8,984.86USD
and 22 more...

Published article "Persistence Entropy as a Market Regime Indicator in MQL5".

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

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

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.

4 new topics on forum:

and 1 more...

Published article "Neural network trading EA based on PatchTST".

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.

More than 1300 new charts published:

图表 US100Cash, D1, 2026.07.14 00:05 UTC, Tradexfin Limited, MetaTrader 5, Demo
US100Cash, D1
Chart NAS100, M1, 2026.07.14 15:32 UTC, AquaFunded Ltd., MetaTrader 5, Real
NAS100, M1
图表 USDIDX, M12, 2026.07.14 17:00 UTC, IFC Markets Ltd, MetaTrader 5, Demo
USDIDX, M12
There are more than 55,520 products available in Market

The most downloaded free products:

24 new signals now available for subscription:

DTC EMA
1,302% 1386 trades
Growth:1,302.10%
Equity:2,472.04EUR
Balance:2,472.04EUR
Fathir
793% 281 trades
Growth:792.91%
Equity:122.12USD
Balance:142.81USD
Trade Gold
294% 46 trades
Growth:294.01%
Equity:302.49USD
Balance:315.21USD
and 21 more...

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?

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

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:

5 new topics on forum:

and 2 more...
There are more than 3,100 articles published on site

Published article "Analyzing the Hourly Movement of Trading Symbols and Their Spreads in MetaTrader 5".

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:

Published article "MQL5 Trading Tools (Part 40): Adding SQLite Persistence and Per-Timeframe Visibility to the Canvas Drawing Layer".

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

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

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)".

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

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:

More than 1300 new charts published:

Gráfico EURJPY, H1, 2026.07.13 21:12 UTC, Tradexfin Limited, MetaTrader 5, Real
EURJPY, H1
图表 GBPUSD, H1, 2026.07.13 10:58 UTC, Coinexx Limited, MetaTrader 5, Real
GBPUSD, H1
Grafik XAUUSD, M15, 2026.07.13 10:43 UTC, IC Markets (EU) Ltd, MetaTrader 5, Demo
XAUUSD, M15

25 new signals now available for subscription:

GoldenCrown
780% 561 trades
Growth:780.28%
Equity:213.70USD
Balance:213.70USD
Super Makers
262% 31656 trades
Growth:261.57%
Equity:85,332.54USD
Balance:85,332.54USD
GoldenCrown2
220% 119 trades
Growth:220.41%
Equity:399.07USD
Balance:399.07USD
and 22 more...
There are more than 154,170 topics available on forum

6 new topics on forum:

and 3 more...

Bestsellers in the Market:

123456789101112131415...681