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 "Analysis of the Impact of Solar and Lunar Cycles on Currency Exchange Rates".

Analysis of the Impact of Solar and Lunar Cycles on Currency Exchange Rates

What if lunar cycles and seasonal patterns influence the foreign exchange markets? This article shows how to translate astrological concepts into the language of mathematics and machine learning. I built a Python system with 88 features based on astronomical cycles, trained CatBoost on 15 years of EURUSD data, and obtained some intriguing results. The code is open-source, the methods are verifiable, and the conclusions are unexpected — ancient wisdom meets gradient boosting.

More than 600 new charts published:

Chart AUDUSD, M30, 2026.08.04 04:53 UTC, HF Markets (SV) Ltd., MetaTrader 4, Demo
AUDUSD, M30
График GER40, D1, 2026.08.04 04:57 UTC, Pepperstone Markets Kenya Limited, MetaTrader 4, Real
GER40, D1
Chart XAUUSDm, M30, 2026.08.04 21:18 UTC, Exness Technologies Ltd, MetaTrader 5, Real
XAUUSDm, M30

The most downloaded free products:

Bestsellers in the Market:

There are more than 56,580 products available in Market

24 new signals now available for subscription:

WolvesVN EU
260% 2317 trades
Growth:260.22%
Equity:70,306.72USD
Balance:70,364.76USD
Golden Viper
168% 124 trades
Growth:167.50%
Equity:875.00EUR
Balance:907.15EUR
XV Prime
130% 133 trades
Growth:129.90%
Equity:2,263.12USD
Balance:2,299.01USD
and 21 more...

The most popular forum topics:

5 new topics on forum:

and 2 more...

Published article "Porting the Canonical Catch22 Time-Series Feature Set and Testing It on Volatility Regimes".

Porting the Canonical Catch22 Time-Series Feature Set and Testing It on Volatility Regimes

We present a native MQL5 implementation of the catch22 feature set: all 22 canonical time-series characteristics in a reusable class validated against pycatch22. Using a leak-free pipeline (chronological split, purging, embargo), we run a three-arm ablation—classic indicators, catch22, and combined—for volatility-regime classification. Finally, we deploy the combined model as a Strategy Tester regime filter to quantify its impact on a simple baseline strategy.

Published article "Real-Time Trade Event Logger to SQLite via MQL5 DLL Bridge".

Real-Time Trade Event Logger to SQLite via MQL5 DLL Bridge

The article shows how to build an MQL5 EA that writes every deal to an SQLite database the moment it appears, using the built-in Database API as the SQLite bridge. It implements an event data model, a prepared INSERT workflow reused across calls, session-safe recovery after restarts, and deal detection via OnTrade(). You can open the resulting file with any SQLite client to run queries for analysis and reporting.

Published article "Neural Networks in Trading: Effective Feature Extraction for Accurate Classification (Mantis)".

Neural Networks in Trading: Effective Feature Extraction for Accurate Classification (Mantis)

Meet Mantis — a lightweight foundation model for time series classification based on a Transformer architecture, featuring contrastive pre-training and hybrid attention that deliver record-breaking accuracy and scalability.

Published article "From One Price to Four: Range-Based Volatility Estimators for MetaTrader 5".

From One Price to Four: Range-Based Volatility Estimators for MetaTrader 5

Close-to-close volatility ignores the high, the low, and overnight gaps. We build a reusable MQL5 library implementing four range-based estimators from Parkinson to the gap-robust Yang-Zhang, and put it to work in a comparison indicator and a set of adaptive volatility bands.

Published article "Neural Networks in Trading: Generalizing Time Series Without Data-Specific Dependence (Core Model Modules)".

Neural Networks in Trading: Generalizing Time Series Without Data-Specific Dependence (Core Model Modules)

We continue our acquaintance with the Mamba4Cast framework. Today, we will delve into the practical implementation of the proposed approaches. Mamba4Cast was designed not for lengthy warm-up on every new time series, but for immediate deployment. Thanks to the concept of Zero-Shot Forecasting, the model can produce high-quality forecasts on real-world data without additional training or hyperparameter tuning.

Published article "Developing a Terminal Manager (Part 2): Running Multiple Terminal Instances".

Developing a Terminal Manager (Part 2): Running Multiple Terminal Instances

Let's move on to using multiple terminal instances on the server by setting up a simple control panel for starting and stopping them. Now it is time to expand the functionality and move on to the next stages — implementing more complex features, such as managing multiple terminal instances, state persistence, integration with the MetaTrader 5 API, and a web interface with comprehensive information about the terminals.

Published article "Developing a Terminal Manager (Part 1): Problem Statement".

Developing a Terminal Manager (Part 1): Problem Statement

How can we conveniently monitor multiple terminals running Expert Advisors, especially when they are on different computers? Let's try to create a web interface for managing the launch of MetaTrader 5 trading terminals and viewing detailed information about the operation of each instance.

Published article "The Blue Monkey (BM) Algorithm".

The Blue Monkey (BM) Algorithm

The article presents an implementation of the Blue Monkey metaheuristic algorithm, which is based on a model of the social behavior of blue monkeys. The article examines the key mechanisms of the algorithm — the group structure of the population, following local leaders, and generational renewal through the replacement of the worst adults with the best offspring — and analyzes the test results.

New publications in CodeBase

The most downloaded free products:

Bestsellers in the Market:

There are more than 56,470 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.

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.

31 new signals now available for subscription:

Signalium
1,133% 364 trades
Growth:1,132.72%
Equity:1,126.42USD
Balance:1,126.42USD
Vatikan
149% 339 trades
Growth:148.90%
Equity:2,060.40USD
Balance:2,105.65USD
Diver
136% 117 trades
Growth:135.81%
Equity:1,366.54USD
Balance:1,366.54USD
and 28 more...

New publications in CodeBase

  • Bands StochRSI Extreme Reversal Bands StochRSI Extreme Reversal — spots mean-reversion signals where price closes back inside the Bollinger Band after Stochastic RSI hit an extreme zone, with an on-chart status panel.
  • SMC Order Block Detector with Alert for MT5 The SMC Order Block Detector indicator features an Advanced Smart Money Concepts (SMC) Order Block (OB) Engine inspired by the TradingHub 3.0 methodology. It is specifically engineered to automatically detect, track, and manage institutional Order Blocks with high precision on MetaTrader 5. A key highlight of this indicator is its Smart Overlap Management: when new Order Blocks form and overlap with existing active zones, the algorithm intelligently evaluates their Fair Value Gap (FVG) sizes. It automatically filters out and deactivates weaker or redundant zones, ensuring that only the highest-probability institutional levels remain on your chart.

6 new topics on forum:

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

Published article "Building Your Personal Expert Advisor (Part 1): From Fragile Script to Working EA".

Building Your Personal Expert Advisor (Part 1): From Fragile Script to Working EA

This article focuses on EA architecture rather than signal design. Starting with a flawed Moving Average crossover EA, we add new‑bar detection to prevent duplicate entries, Magic Number and position awareness, ATR‑based risk levels, and data and trade result validation, along with basic safeguards. You obtain a practical base to build and test advanced systems.

Published article "Automated Trade Statement Exporter to Excel-Compatible XLSX in MQL5".

Automated Trade Statement Exporter to Excel-Compatible XLSX in MQL5

An MQL5 script reconstructs closed trades from deal history using a two-pass SL/TP lookup and exports them to an Excel-compatible XLSX file without third-party libraries. Four cooperating classes handle trade data, history reconstruction, SpreadsheetML XML generation, and ZIP assembly via .NET's ZipFile class through a direct ShellExecuteW call with marker-file polling. The output opens in Excel and Google Sheets with correct numeric types, formatted date columns, and a bold header row.

Published article "Bayesian Online Change-Point Detection (BOCPD) in MQL5: One Regime-Break Signal, Three Ways to Use It".

Bayesian Online Change-Point Detection (BOCPD) in MQL5: One Regime-Break Signal, Three Ways to Use It

This article delivers Bayesian Online Change-Point Detection as a single, dependency-free MQL5 class that maintains a per-bar, causal probability of a regime break. We use it three ways: a live monitor, a moving average that flushes on breaks, and a risk overlay with a matched-frequency random control. Readers get a reusable primitive to watch structural change, adapt indicators, and gate exposure after detected shifts.

Published article "Creating a Probabilistic Market-Neutral Trading Robot Based on a Return Distribution".

Creating a Probabilistic Market-Neutral Trading Robot Based on a Return Distribution

A market-neutral trading strategy based on the empirical return distribution offers an alternative to traditional technical analysis methods, replacing price direction forecasting with the statistical placement of orders at levels the price is likely to reach. This article provides a detailed analysis of the mathematical framework for calculating percentiles, algorithms for weighting position sizes based on the probability of an order being triggered, and mechanisms for adapting to changing market conditions through grid expiration. A complete implementation in MQL5 is provided.

Published article "Crow Search Algorithm (CSA)".

Crow Search Algorithm (CSA)

The Crow Search Algorithm (CSA) is an elegant metaheuristic inspired by crows’ ability to hide food and find other crows' caches, solving optimization problems by balancing following successful solutions with random exploration of the search space. Let's find out how well the algorithm performs.

The most downloaded free products:

More than 400 new charts published:

Chart USDCHF, H1, 2026.08.03 02:48 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
USDCHF, H1
Chart XAUUSD, M5, 2026.08.01 00:09 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
XAUUSD, M5
График XAUUSD, MN1, 2026.08.03 02:54 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, MN1
There are more than 56,370 products available in Market
There are more than 154,400 topics available on forum

21 new signals now available for subscription:

Fx Swing
938% 10249 trades
Growth:937.61%
Equity:15,147.81USD
Balance:15,156.95USD
Y77049692
280% 9527 trades
Growth:279.65%
Equity:4,545.44USD
Balance:5,914.72USD
CWDT GRID STRAT 2 HIGH RISK
129% 1080 trades
Growth:128.97%
Equity:1,182.95EUR
Balance:1,593.13EUR
and 18 more...

Bestsellers in the Market:

7 new topics on forum:

and 4 more...

Published article "Trading Options Without Options (Part 3): Complex Option Strategies".

Trading Options Without Options (Part 3): Complex Option Strategies

The article discusses flat (non-directional) and trend-following (directional) option strategies and their implementation in MQL5. The EA described in the previous article is updated. The display of option levels has been added. Now it is time to examine the strategies used by options traders in practice and put them into action.

Published article "Formulating Dynamic Multi-Pair EA (Part 10): Asymmetric Stop-Loss Logic Based on Pair-Specific Volatility Signatures".

Formulating Dynamic Multi-Pair EA (Part 10): Asymmetric Stop-Loss Logic Based on Pair-Specific Volatility Signatures

The EA learns each symbol's volatility profile before trading by processing 1000 bars and summarizing candle ranges, bodies and wicks, noise ratio, trend runs, pullback size, and true‑range dispersion. A classifier assigns regime and structure labels per pair. The stop‑loss optimizer maps those labels to a symbol‑specific ATR multiplier, and the risk module sizes lots to maintain constant percentage risk.

Published article "Price Action Analysis Toolkit Development (Part 76): One-Click Symbol Dashboard for Centralized Multi-Chart Management in MQL5".

Price Action Analysis Toolkit Development (Part 76): One-Click Symbol Dashboard for Centralized Multi-Chart Management in MQL5

Learn to assemble an MT5 Expert Advisor that hosts a chart management dashboard written in MQL5. The guide walks through shared definitions, symbol acquisition and filtering, chart lifecycle functions, and a UI panel with search, scrolling, and state indicators, all driven by events and a timer. The result is a reproducible tool that reduces clicks and accelerates multi-symbol analysis.

Published article "Automating Classic Market Methods in MQL5 (Part 5): The Original Turtle Trading Rules".

Automating Classic Market Methods in MQL5 (Part 5): The Original Turtle Trading Rules

This article builds a complete MQL5 Expert Advisor that implements the original Turtle Trading rules from Curtis Faith. It covers both systems: 20/55-day breakouts, the System 1 skip rule, N (Wilder ATR) for volatility-adjusted sizing, a four‑unit pyramid with N/2 adds, a unified 2N stop, and 10/20-day exits. You will get compilable code, implementation details, and a backtesting procedure on EURUSD.

The most downloaded free products:

Bestsellers in the Market:

There are more than 56,270 products available in Market

New publications in CodeBase

  • Portfolio Correlation Analyzer Read-only analytics for accounts that run several Expert Advisors. It groups closed trades by magic number and measures what running those systems together actually saves you: standalone versus combined drawdown, the pairwise correlation matrix drawn as a heat map on the chart, and a Monte Carlo reshuffle of the portfolio's period returns.
  • SHK Heikin Ashi MACD Signal Arrows A MetaTrader 5 chart indicator that draws Heikin Ashi candles, confirmed buy and sell arrows, optional MACD histogram divergence filtering, and configurable alerts.
  • Institutional Ehlers Fisher Transform (PDF Normalizer) A DSP oscillator for MT4 that applies Ehlers' Fisher Transform to reshape price into a Gaussian normal distribution, eliminating boundary flattening to catch zero-lag structural reversals.

Most downloaded source codes this week

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

16 new signals now available for subscription:

SONY Smart Trading System
484% 331 trades
Growth:484.44%
Equity:218.90USD
Balance:218.90USD
OMO Momentum NAS100
181% 493 trades
Growth:180.74%
Equity:4,413.85EUR
Balance:4,447.13EUR
UAEGOLDY
110% 1391 trades
Growth:110.25%
Equity:5,765.06USD
Balance:7,485.63USD
and 13 more...

The most popular forum topics:

1...121314151617181920212223242526...690