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 "Automating Classic Market Methods in MQL5 (Part 3): Stan Weinstein Stage Analysis".

Automating Classic Market Methods in MQL5 (Part 3): Stan Weinstein Stage Analysis

This article presents a complete Expert Advisor built around Stan Weinstein's Stage Analysis method. The EA classifies the market into one of four stages using the 30-week moving average slope and position and volume behavior, then trades only Stage 2 breakouts long and Stage 4 breakdowns short. It explains each stage, how to detect it programmatically, and why the method's discipline—trading only in the correct stage—is what produces the edge.

Published article "Feature Engineering for ML (Part 10): Structural Break Tests in MQL5".

Feature Engineering for ML (Part 10): Structural Break Tests in MQL5

We port AFML Chapter 17 structural break tests to MQL5 as a single include, CStructuralBreaks, delivering six bar-indexed features for EAs: CSW statistic and critical value, Chow-Type DFC, SADF with a rolling lookback (default 252), SM-Exp, and SM-Power. SADF uses O(L²) rolling windows for real-time viability. A companion StructuralBreaksViewer indicator plots all series with per‑series visibility and optional z‑score normalization. SB_EMPTY marks invalid values for safe integration.

The most downloaded free products:

More than 400 new charts published:

チャート BTCUSD, M15, 2026.07.04 14:13 UTC, Exness Technologies Ltd, MetaTrader 5, Demo
BTCUSD, M15
차트 XAUUSD, M5, 2026.07.04 00:24 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
XAUUSD, M5
チャート GOLD, M15, 2026.07.03 09:33 UTC, XM Global Limited, MetaTrader 5, Real
GOLD, M15

7 new topics on forum:

and 4 more...

Bestsellers in the Market:

7 new signals now available for subscription:

Genesis FX Performer
123% 2487 trades
Growth:123.27%
Equity:3,349.00USD
Balance:3,349.00USD
Variety Pack
59% 230 trades
Growth:59.46%
Equity:5,373,367.00JPY
Balance:5,373,367.00JPY
Heybuddy ICM LIVE
46% 815 trades
Growth:46.28%
Equity:6,959.43USD
Balance:6,974.73USD
and 4 more...

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.

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.

There are more than 53,100 products available in Market

The most popular forum topics:

New publications in CodeBase

  • BBandsPsar BBandsPsar is a custom hybrid indicator that fuses Bollinger Bands’ volatility framework with the Parabolic SAR’s trend-following logic. By integrating these two methodologies, it effectively reconciles market volatility with emerging trend dynamics within a single, cohesive tool.
  • Execution Cost Sensitivity Analyzer A pure-MQL5 script that measures how robust a strategy's edge is to execution costs. It reads a Date,Profit,Volume CSV of closing deals and models each deal's cost as a fixed part plus a per-lot part. It prints the breakeven cost per deal, the cushion (the multiple of an assumed realistic cost at which the net profit reaches zero), the net profit and profit factor re-priced at the assumed cost, the share of winners the cost turns into losers, and a composite A+ to F cost-robustness score with recommendations. If no file is present it generates a reproducible sample and analyzes it, so the output is visible on the first run. No external libraries, no Python, no AI.
  • BBandsPsar BBandsPsar is a custom hybrid indicator that fuses Bollinger Bands’ volatility framework with the Parabolic SAR’s trend-following logic. By integrating these two methodologies, it effectively reconciles market volatility with emerging trend dynamics within a single, cohesive tool.

Bestsellers in the Market:

The most downloaded free products:

There are more than 53,010 products available in Market

5 new topics on forum:

and 2 more...

10 new signals now available for subscription:

GoldBull fangqingping
85% 215 trades
Growth:84.85%
Equity:2,033.39USD
Balance:2,033.39USD
Gold Operator
40% 197 trades
Growth:40.30%
Equity:14,029.77EUR
Balance:14,029.77EUR
Alpha Fortress MT5
21% 340 trades
Growth:21.37%
Equity:1,238.12USD
Balance:1,238.12USD
and 7 more...

The most downloaded free products:

There are more than 52,940 products available in Market

Bestsellers in the Market:

4 new topics on forum:

and 1 more...

15 new signals now available for subscription:

Perpetual Wisdom MT5
152% 304 trades
Growth:152.03%
Equity:503.33USD
Balance:503.33USD
Aurum Alpha aggressive
136% 315 trades
Growth:135.59%
Equity:151,610.75USD
Balance:151,610.75USD
Deep Insight
127% 53 trades
Growth:127.13%
Equity:240.59USD
Balance:299.38USD
and 12 more...
There are more than 3,060 articles published on site

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

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

Published article "Feature Engineering for ML (Part 9): Structural Break Tests in Python".

Feature Engineering for ML (Part 9): Structural Break Tests in Python

We present a production‑ready implementation of AFML Chapter 17 structural break tests. The module includes Chu-Stinchcombe-White (one-/two-sided), Chow-type DFC, SADF across six models (linear, quadratic, sm poly 1, sm poly 2, sm exp, sm power), plus QADF (q, v) and CADF (q), returning bar-indexed scalar features. We address the book snippets' scaling issues and argument‑order pitfall, and show how a fixed lookback (L=504) bounds SADF cost to O(L²) per bar for regime detection.

Published article "Neural Networks in Trading: Time Series Forecasting Using Adaptive Modal Decomposition (ACEFormer)".

Neural Networks in Trading: Time Series Forecasting Using Adaptive Modal Decomposition (ACEFormer)

We invite you to explore the ACEFormer architecture — a modern solution that combines the effectiveness of probabilistic attention with adaptive time series decomposition. This article will be useful for those seeking a balance between computational performance and forecast accuracy in financial markets.

Published article "Beyond Maximum Drawdown: Building a Drawdown DNA Analyzer in MQL5".

Beyond Maximum Drawdown: Building a Drawdown DNA Analyzer in MQL5

Maximum drawdown is one number that hides what really matters: how often an equity curve declines, how long it stays below a previous peak, and how quickly it recovers. This article builds a native MQL5 tool that reconstructs the underwater curve, breaks it into individual drawdown episodes (depth, duration, recovery time), computes the Ulcer Index, Pain Index, and Recovery Factor, and combines them into a single resilience grade with practical recommendations. No external libraries, no Python, no AI.

Published article "Building Volatility Models in MQL5 (Part IV): Implementing Long Memory Volatility Processes, FIGARCH, and HARCH".

Building Volatility Models in MQL5 (Part IV): Implementing Long Memory Volatility Processes, FIGARCH, and HARCH

The article delivers MQL5 implementations of FIGARCH and HARCH and updates the volatility library for long‑memory processes. It provides code for Hurst and GPH testing, parameter setup (truncation and horizons), and scripts for fitting, forecasting, and simulations. Readers learn how to apply and compare the models on market data to select an appropriate specification.

The most downloaded free products:

More than 500 new charts published:

차트 JP225, M15, 2026.07.01 20:58 UTC, Axiory Global Ltd., MetaTrader 5, Real
JP225, M15
Chart NDX100, M4, 2026.07.01 20:55 UTC, FundedNext Ltd, MetaTrader 5, Real
NDX100, M4
Chart XAUUSD.s, M5, 2026.07.02 10:36 UTC, PU Prime Ltd, MetaTrader 5, Real
XAUUSD.s, M5

Bestsellers in the Market:

5 new topics on forum:

and 2 more...
There are more than 52,870 products available in Market

The most popular forum topics:

18 new signals now available for subscription:

HedGinG AJGJ B
1,099% 822 trades
Growth:1,099.29%
Equity:1,056.85USD
Balance:1,056.85USD
HedGinG GACJ C
386% 686 trades
Growth:386.12%
Equity:2,055.11USD
Balance:2,929.45USD
HedGinG EAGC C
280% 427 trades
Growth:280.02%
Equity:650.06USD
Balance:651.35USD
and 15 more...

Published article "Building an Internal and External Market Structure Indicator".

Building an Internal and External Market Structure Indicator

The article presents a structured approach to external and internal market structure in MQL5, from swing identification to CHoCH/BoS validation within an established trend. It explains refining true highs/lows, enforcing “first internal signal” logic, and rendering lines, labels, and markers on the chart. The outcome is a consistent indicator that converts price structure into defined entries, stop losses, and 1.5R targets.

Published article "Dream Optimization Algorithm (DOA)".

Dream Optimization Algorithm (DOA)

A population-based optimization algorithm inspired by a controversial and little-studied phenomenon - the mechanism of human dreams. Agent groups with different "memory", cosine-wave modulation of motion, and an unusual 99/1 phase distribution — learn how these features affect the optimization efficiency of your trading strategies.

New publications in CodeBase

  • EA KCI Embeded Sniper The KCI Embedded Sniper is an algorithmic trading solution designed for high-precision reversal entries. Unlike conventional Expert Advisors that rely on external indicator dependencies (which often suffer from thread desynchronization and latency), this EA features a fully embedded Kinetic Compression Index (KCI) engine. By transplanting the entire mathematical framework of the KCI—calculating Velocity Quotients, Kinetic Displacement, Energy Dispersion, and Phase Velocity—directly into the EA’s core logic, we have eliminated "asynchronous lag." The result is a lightning-fast sniper engine that validates market exhaustion (Singularity) and momentum extremes (Williams %R) with micro-second precision, operating solely on completed bars to ensure zero-repaint performance.
  • KCI Standard: A Pure Kinematic Computing Engine for Market Singularity Detection The Kinetic Compression Index (KCI) is a custom oscillator designed to detect market exhaustion and localized compression events. By calculating its kinematic metrics internally rather than relying on external standard indicator handles, the KCI reduces overhead and simplifies buffer management for Expert Advisor (EA) integration. This article details the mathematical foundation, system architecture, buffer mapping, and practical integration guides for developers looking to implement this tool in MetaTrader 5.
  • Market Structure SMC: Swings, BOS/CHoCH, Order Blocks, FVG, QML SMC/ICT market-structure indicator for MT5: swing highs/lows, BOS (continuation) and CHoCH (reversal) confirmed on close, Order Blocks, Fair Value Gaps, and QML (Quasimodo) levels. Every feature is toggle-able, with adjustable swing sensitivity and colors. Works on any symbol and timeframe.
  • Trade Journal Exporter - closed positions to CSV Exports your closed positions for a configurable period to a CSV file for journal analysis in Excel or Google Sheets: entry and exit time and price (volume-weighted over partial fills), volume, result in points, commission, swap, net profit and trade duration.
  • Position Size Calculator - risk-based lot sizing script Calculates the correct lot size for a planned trade from your risk (percent of equity or a fixed money amount) and stop-loss distance (points or a price level). Respects the symbol's contract specification - tick size and value, volume min/max/step - and estimates the required margin.
  • Spread Monitor Panel - live spread with spike alerts On-chart panel with the live spread of the chart symbol - current, minimum, average and maximum since attach - color-coded against your warning and danger thresholds, plus an optional alert when the spread stays at the danger level for N consecutive seconds (news and rollover spikes).

Published article "Creating an EMA Crossover Forward Simulation (Culmination): Interactive Synthetic Candles".

Creating an EMA Crossover Forward Simulation (Culmination): Interactive Synthetic Candles

This article finalizes the Forward Simulation Engine for MetaTrader 5 by calibrating synthetic candles to recent market volatility instead of using slope-only sizing. It samples average body, upper wick, and lower wick from closed bars, applies a sine-envelope with decay, proportional wicks, gaps between candles, and periodic counter-trend injections. The result is a live projection that advances one bar ahead, with code you can reuse for calibrated, anchor-based forward rendering and automatic cleanup.

Published article "MQL5 Wizard Techniques you should know (Part 100): Sliding Window Median and Bidirectional LSTM for a Custom Trailing Stop".

MQL5 Wizard Techniques you should know (Part 100): Sliding Window Median and Bidirectional LSTM for a Custom Trailing Stop

CTrailingSlidingMedianBiLSTM is a custom MQL5 Wizard trailing module that combines robust median/MAD outlier filtering with a BiLSTM context score in the range [-1, 1]. Four algorithm modes (standard, bands, RSI, adaptive) target noise, mean-reverting bursts and liquidity spikes, reducing premature stop adjustments. This module is intended for side-by-side evaluation with diverse entry signals and money management settings.

Published article "Automatic Session Volume Profile Builder in MQL5: Rendering POC and Value Area Without Third-Party Tools".

Automatic Session Volume Profile Builder in MQL5: Rendering POC and Value Area Without Third-Party Tools

Implement a session-focused volume profile in MQL5: acquire ticks with CopyTicksRange(), bin prices, and compute POC, VAH, and VAL by the 70% approach. The indicator renders directly on the chart as native objects, supports fixed-width scaling for consistent geometry across timeframes, and refreshes on each new session. This provides objective reference levels without external dependencies.

Published article "Duelist Algorithm".

Duelist Algorithm

What if your trading strategies could learn from each other, like real fighters? Duelist Algorithm is a new optimization method where trading system parameters literally duel for the right to be called the best.

The most downloaded free products:

20 new signals now available for subscription:

Vantage Main
171% 2036 trades
Growth:171.30%
Equity:7,777.76EUR
Balance:9,731.62EUR
The Golden Series
122% 581 trades
Growth:121.80%
Equity:22,179.75USD
Balance:22,179.75USD
XAUEUR PT system TMGM 186
95% 229 trades
Growth:95.30%
Equity:363.53USD
Balance:363.53USD
and 17 more...
There are more than 52,800 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • Prop Firm Risk Dashboard - daily loss and drawdown monitor A read-only on-chart panel that tracks your account against a daily-loss limit and a max-drawdown limit, with color-coded OK / WARNING / DANGER status. Monitoring only - it does not place, modify or close any orders.
  • MQTTFive — MQTT 5.0 Client Library MQTTFive — a fully-featured implementation of the MQTT 5.0 client for MQL5. Features: • MQTT v5.0 — all packet types, properties, QoS 0/1/2 • TCP + TLS via the native MQL5 Socket API • Will messages with properties (will_delay_interval, payload_format, message_expiry) • Topic aliases for outgoing PUBLISH messages • Flow Control (Receive Maximum) • Subscription Options (no_local, retain_as_published, retain_handling) • Binary and UTF-8 payloads • Automatic retry for QoS 1/2 • Zero DLL dependencies — pure MQL5 Tested with Mosquitto 5.0 (15 tests, all PASS). Documentation: https://github.com/chekh/MQTTFive Licence: MIT
  • Consecutive Bars (with history) An oscillator that shows 4 line studies: 1 for consecutive up bars, 1 for consecutive down bars, 1 for the average consecutive up bars, and 1 for the average consecutive down bars.
There are more than 154,040 topics available on forum

4 new topics on forum:

and 1 more...
1...171819202122232425262728293031...690