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 "From Basic to Intermediate: Random Access (II)".

From Basic to Intermediate: Random Access (II)

In this article, we will examine how two slightly different approaches can significantly affect the overall implementation strategy, both in performance and in disk I/O design, while helping to prevent compatibility issues between applications.

Published article "MetaTrader 5 Machine Learning Blueprint (Part 19): Bagging Regimes".

MetaTrader 5 Machine Learning Blueprint (Part 19): Bagging Regimes

We test AFML's claim that the sequential bootstrap decorrelates bagged trees on overlapping triple‑barrier labels by isolating two levers: draw count and draw rule. One decision identical tree is bagged under four row‑sampling regimes and evaluated on EURUSD 2022–2023 for draw uniqueness, between‑tree correlation, AUC, and calibration. Decorrelation comes almost entirely from throttling max_samples to average uniqueness; the sequential draw adds little. Out-of-bag inflation is largest under full-count sequential sampling.

Published article "Building an Interactive AnchorFlow Volume Profile Indicator (MTF) in MQL5".

Building an Interactive AnchorFlow Volume Profile Indicator (MTF) in MQL5

We implement an interactive, anchored multi-timeframe volume profile in MQL5 for MetaTrader 5. The indicator draws the current-timeframe profile on the main chart and a higher timeframe profile in a subwindow, both aligned by a draggable anchor and the visible range. You will learn keyboard-driven bin editing (E/S double-click), robust timeframe validation, viewport-aware updates, and object restoration to build a reliable, synchronized volume workflow.

Published article "Algorithmic Arbitrage Trading Using Graph Theory".

Algorithmic Arbitrage Trading Using Graph Theory

In this article, triangular arbitrage is presented as a problem of finding cycles in a directed graph, where the vertices are currencies and the edges are currency pairs with weight rates. Profitable cycle: product of weights >1. Our Floyd-Warshall and DFS algorithms find optimal currency exchange paths that return to the starting point with a profit.

Published article "Monochronic Trading (Part 1): How to Detect Broker Timezone and DST in MQL5".

Monochronic Trading (Part 1): How to Detect Broker Timezone and DST in MQL5

We describe an MQL5 framework that aligns entries with session rhythms and scheduled clock events. A script identifies the broker's time zone and DST by detecting NFP spikes on EURUSD and matching them to EU/US/AU transition dates, producing EA‑ready settings. Session-to-broker time conversion and 15-minute marks constrain execution. A multi‑timeframe AMA signal aggregates trends for strategy selection and optimization.

More than 1000 new charts published:

图表 EURUSD, H1, 2026.07.18 09:41 UTC, FBS Markets Inc., MetaTrader 5, Demo
EURUSD, H1
Chart !STD_XAUUSD, M1, 2026.07.18 21:18 UTC, AMarkets LLC, MetaTrader 4, Demo
!STD_XAUUSD, M1
Chart !STD_XAUUSD, M1, 2026.07.18 21:16 UTC, AMarkets LLC, MetaTrader 4, Demo
!STD_XAUUSD, M1

The most downloaded free products:

There are more than 56,050 products available in Market

Bestsellers in the Market:

14 new signals now available for subscription:

Autopilot Vibranium Akun Ke 3062
361% 352 trades
Growth:361.15%
Equity:895.47USD
Balance:902.46USD
Simple Hedge Replace Fibonacci EA
40% 63 trades
Growth:40.29%
Equity:140.29USD
Balance:140.29USD
CARRO CAPITAL GOLD TRADING
36% 152 trades
Growth:36.00%
Equity:5,029.60USD
Balance:5,029.60USD
and 11 more...

Most downloaded source codes this week

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

Training a nonlinear U-Transformer on the residuals of a linear autoregressive model

Training a nonlinear U-Transformer on the residuals of a linear autoregressive model

The article presents an innovative hybrid system for forecasting exchange rates that combines a linear autoregressive model with a U-Transformer architecture for residual analysis. The system automatically switches between signal sources depending on their quality and includes complete trading logic with averaging/pyramiding strategies. The key advantage of this approach is that the neural network is trained on the residuals of the linear model, which simplifies the task and reduces the risk of overfitting. The implementation is done entirely in MQL5 and is ready for use in real trading with automatic adaptation to changing market conditions.

5 new topics on forum:

and 2 more...

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

Market Simulation: Position View (V)

Despite what was shown in the previous article, all of this may seem simple at first. In reality, several problems remain, along with many tasks that still need to be completed. You, dear reader, may imagine that everything is easy and straightforward. Out of inexperience, you may simply accept whatever is presented to you. And that is a mistake you should try to avoid. Even worse is trying to use something without truly understanding what exactly you are using. Beginners often pass through a copy-and-paste stage. If you do not want to remain stuck at that stage forever, you should learn how to use certain tools. One of the tools most often used by programmers is documentation. The second is testing, supported by log files. Here we will see how to do this.

Published article "From Basic to Intermediate: Random Access to Files (I)".

From Basic to Intermediate: Random Access to Files (I)

In today's article, we will explore random access to file contents for the first time. This applies to both writing and reading information stored in a file. However, since the topic is too broad to cover in a single article, we will limit ourselves here to an introduction to random access.

New publications in CodeBase

  • Volume Strength Compass / BhanuCodeLab Volume Strength Compass is a volume-analysis indicator for MetaTrader 5 that evaluates market activity using Relative Volume, candle body strength, close position, and volume intensity. The indicator classifies each candle into different volume conditions such as normal volume, low volume, high volume,climax volume, bullish effort, bearish effort, and absorption. The results are displayed using colored volume columns, background highlights, signal labels, an average-volume line, and a real-time dashboard. The indicator can use tick volume, real volume, or automatically select real volume when available. It also supports alerts on either the current live candle or after candle closure.
  • SMMA Levels MTF / BhanuCodeLab SMMA Levels MTF is a multi-timeframe Smoothed Moving Average indicator for MetaTrader 5. The indicator calculates SMMA values from several selectable timeframes and displays them together on the current chart.
  • Pivot SuperTrend / BhanuCodeLab Pivot SuperTrend BhanuCodeLab is a trend-following indicator that combines confirmed pivot points with an ATR-based trailing trend line to identify market direction, trend reversals, and potential BUY or SELL signals.
  • Trading Performance journal An institutional-grade trading journal and behavioral analytics suite designed to run entirely inside MetaTrader 5. The application is built as a single-file, zero-dependency dashboard that replaces standard terminal objects with a high-performance, double-buffered vector graphics pipeline (CCanvas). It provides real-time quantitative analysis, behavioral risk auditing, a vertical scrollable monthly calendar, and interactive log cards with inline note editing directly on the chart.

The most downloaded free products:

Bestsellers in the Market:

There are more than 55,930 products available in Market

5 new signals now available for subscription:

BTCUSD EURUSD 10k
4% 21 trades
Growth:4.11%
Equity:10,147.97USD
Balance:10,411.43USD
Zoo2 Sharpe
4% 61 trades
Growth:3.99%
Equity:3,099.39USD
Balance:3,119.43USD
PIPFACTS BIMODAL COMMAND
-4% 14 trades
Growth:-4.00%
Equity:708.09USD
Balance:708.09USD
and 2 more...
There are more than 154,220 topics available on forum

4 new topics on forum:

and 1 more...

Bestsellers in the Market:

The most downloaded free products:

There are more than 55,820 products available in Market

More than 1100 new charts published:

Gráfico AUDUSD, D1, 2026.07.17 09:59 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
AUDUSD, D1
チャート XAUUSD.s, M15, 2026.07.17 09:55 UTC, PU Prime Ltd, MetaTrader 5, Demo
XAUUSD.s, M15
Gráfico XAUUSD, M1, 2026.07.17 10:05 UTC, HF Markets (SV) Ltd., MetaTrader 4, Real
XAUUSD, M1

27 new signals now available for subscription:

Solyra
519% 289 trades
Growth:518.81%
Equity:1,186.10USD
Balance:1,186.10USD
Sss112233
285% 3873 trades
Growth:285.36%
Equity:152,428.39USD
Balance:152,428.39USD
Jibran Gz
275% 188 trades
Growth:274.63%
Equity:59,610.00USD
Balance:59,610.00USD
and 24 more...

6 new topics on forum:

and 3 more...

New publications in CodeBase

  • Rainbow Ranga - AKM This indicator is essentially a GPS based on envelope as channel gauging and weather radar for the market wrapped into one. Instead of just giving you a bunch of lines to guess at, it calculates the mathematical "stretch" of the market and combines it with a multi-timeframe trend analysis to tell you exactly where you are. if price is outside band it is some fundamental shift in momentum happening if you are on wrong side then quit and stay away or go with trend on pull backs
  • MACD TradingView Style for MT5 MACD indicator replicating TradingView’s visual style for MT5. 4-colour histogram, SMA-based signal line — values match TradingView bar-for-bar.
There are more than 3,120 articles published on site

Published article "Foundation Models for Trading (Part I): Porting Kronos to Native MQL5".

Foundation Models for Trading (Part I): Porting Kronos to Native MQL5

Kronos is a pretrained transformer that models OHLCV bars the way a language model predicts words. We reimplement its tokenizer/encoder and transformer block in native MQL5, export weights to flat .bin files, and remove Python from runtime entirely. Part 1 delivers preprocessing and BSQ tokenization plus a bit-for-bit verification harness against PyTorch, so you can run the encoder inside MetaTrader 5 with confidence.

Published article "Entropy-Based Market Efficiency Indicator in MQL5: Measuring Randomness in Price Returns Using Approximate Entropy".

Entropy-Based Market Efficiency Indicator in MQL5: Measuring Randomness in Price Returns Using Approximate Entropy

A rolling-window Approximate Entropy oscillator for MQL5, built without external dependencies. Covers the full mathematics of template matching, Chebyshev distance, and the Phi-function derivation before presenting a reusable CApEnCalculator class and a color-zoned subwindow indicator. Includes a synthetic-data verification script and an honest discussion of bias, parameter sensitivity, and computational cost.

Published article "Building a Synthetic Custom Symbol in MQL5 Using Multi-Symbol Price Averaging".

Building a Synthetic Custom Symbol in MQL5 Using Multi-Symbol Price Averaging

This article shows how to build a synthetic custom symbol in MQL5 by averaging OHLC data from multiple instruments into a single derived price series. It covers symbol collection and validation, custom symbol creation and configuration, timestamp alignment, historical reconstruction, and lightweight live updates. The result is a reusable method for creating synthetic instruments suitable for correlation analysis, index-style modeling, indicator development, and strategy testing.

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.

1...121314151617181920212223242526...693