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.

New publications in CodeBase

The most downloaded free products:

19 new products are now available on the Market:

and 14 more...

Bestsellers in the Market:

Published article "Connecting MQL5 to Apache Cassandra: A Native CQL Binary Protocol (v4) Client for Tick-Level Feature Archival".

Connecting MQL5 to Apache Cassandra: A Native CQL Binary Protocol (v4) Client for Tick-Level Feature Archival

This article builds a driverless MQL5 client for Cassandra's CQL binary protocol v4 using outbound TCP sockets. It explains frame headers and primitives, SASL PLAIN, prepared statements, and UNLOGGED batches, then demonstrates an EA that writes per‑tick feature vectors with batched throughput and a reconnect‑and‑retry flush path verified on a real node.

New publications in CodeBase

Published article "Aggregating Order Flow Delta from Tick Data in MQL5".

Aggregating Order Flow Delta from Tick Data in MQL5

Compute and visualize order flow delta in MQL5 from raw ticks, either per bar or cumulatively. The implementation applies the tick rule, threads state through bars, and annotates price–cumulative delta divergences closed on bars. Pure classes isolate logic for testing, and a synthetic tick script confirms behavior, improving robustness and clarity of the output.

Published article "MQL5 Developer Gotchas (Part 2): A Multi-Line Text Block for Chart Labels Beyond the 63-Character Limit".

MQL5 Developer Gotchas (Part 2): A Multi-Line Text Block for Chart Labels Beyond the 63-Character Limit

CLabelBlock lets an EA show a long text as labels wrapped by pixel width and detect a truncated label. On the tested builds, native text objects and object names keep only the first 63 UTF-16 code units without an error. CCanvasBlock draws wider lines on one bitmap without that cap but cannot read its text back. Unit tests and screenshot checks cover one system and a few fonts.

There are more than 71,350 products available in Market

9 new signals now available for subscription:

CUAN BUILDER
91% 71 trades
Growth:91.22%
Equity:942.08USD
Balance:942.08USD
Trader Sajjad Riaz
-4% 103 trades
Growth:-3.53%
Equity:2,312.89USD
Balance:2,312.89USD
and 7 more...

Published article "Reading Parquet Natively in MQL5: Thrift, Snappy and Dictionary Decoding into matrix Without CSV".

Reading Parquet Natively in MQL5: Thrift, Snappy and Dictionary Decoding into matrix Without CSV

This article shows how to read Apache Parquet files directly in MQL5 without DLLs: a native Thrift Compact Protocol decoder for footer metadata, a native Snappy block decompressor, and a hybrid RLE/bit‑packing decoder for definition levels and dictionary indices. We assemble numeric columns into a matrix with an optional null mask. Scope: flat schemas, INT32/INT64/FLOAT/DOUBLE, UNCOMPRESSED/SNAPPY, DataPageV1, first row group. The result avoids CSV conversions and preserves nulls and types.

Published article "Building Your Own Expert Advisor (Part 8): ATR and R-Multiple Trailing Stops".

Building Your Own Expert Advisor (Part 8): ATR and R-Multiple Trailing Stops

We add TrailingStop.mqh: a trailing engine plus pluggable methods for the Series EA. Each method proposes a level; the engine decides if and when to send it, enforcing protective direction, minimum step, stops level and freeze level. Included methods are ATR trailing and an R‑multiple ladder, with optional break‑even as a floor. The result is per‑tick, safer stop management under broker constraints.

Bestsellers in the Market:

Published article "Neural Networks in Trading: Mesh-Based Approximation of Event Streams as a Tool for Analyzing Price Patterns (CDC Module)".

Neural Networks in Trading: Mesh-Based Approximation of Event Streams as a Tool for Analyzing Price Patterns (CDC Module)

The article presents an interim stage in the implementation of the EEMFlow framework using MQL5. The focus is on the design and integration of a CDC module that includes a Self-Corrector, a Self-Attention mechanism for the corrected flow, and weighted signal aggregation via a confidence mask. The article examines architectural principles, the sequence of forward and backward passes, and the specifics of working with local and global motion features.

2 new topics on forum:

20 new products are now available on the Market:

and 15 more...

New publications in CodeBase

  • Inside-Bar Outcome Tracker: Breakout Direction, Failure Rate and Time to Resolve Finds every inside-bar pattern in the history of your chart and follows it to the end: which side of the mother bar broke first, whether the breakout held or failed within a few bars, and how many inside bars came before it. The histogram marks each breakout, boxes show the patterns on the chart, and a panel gives the statistics for your own symbol and timeframe, split by the number of inside bars and by the size of the mother bar, plus one line that can be pasted into a comment to compare symbols.
  • Daily Loss Limit Guard - close all and stay flat after the daily limit A simple account guard: once the day's loss (equity against the balance at the start of the day) reaches your limit, it closes all positions, deletes pending orders and keeps the account flat until the next day. Works on manual trades and on any EA. Never opens trades.
  • Break-Even Stop Mover with Locked Profit Moves the stop loss of open positions to break-even plus a small locked profit once they reach a profit trigger. Works on manual trades and on trades from any other EA (magic filter). Never opens or closes trades and never moves a stop backwards.

More than 800 new charts published:

Chart Range Break 200 Index, H1, 2026.11.25 15:38 UTC, Deriv.com Limited, MetaTrader 5, Demo
Range Break 200 Index, H1
Chart XAUUSD.c, M5, 2026.11.25 13:32 UTC, Just Global Markets Ltd., MetaTrader 5, Real
XAUUSD.c, M5
Grafico NAS100.p, H1, 2026.11.25 15:56 UTC, Pepperstone EU Limited, MetaTrader 5, Real
NAS100.p, H1

7 new signals now available for subscription:

Aggressive growth
47% 129 trades
Growth:47.31%
Equity:981.84GBP
Balance:981.84GBP
and 6 more...
There are more than 71,300 products available in Market

15 new products are now available on the Market:

and 10 more...

New publications in CodeBase

  • Candle Streak Statistics: What Happens After N Same-Color Bars Counts run of bars of the same color and measures what the next bar did after a run of every length: how often the run continued, how often it reversed, and how far the next bar moved in ATR. The figures are built from the history of your own symbol and timeframe, each row is compared with the share of bars of that color, and the histogram shows the length of the run at every bar. A panel gives the table and one line that can be pasted into a comment to compare symbols.
  • Trade Journal An advanced MT4 trade journal featuring automatic CSV logging, detailed performance statistics, per-symbol analytics, searchable trade history, and comprehensive CSV reports.

Bestsellers in the Market:

20 new products are now available on the Market:

and 15 more...

New publications in CodeBase

  • CustomStopOut: your own margin call and stop-out levels, worst position closed first A script that sets your own margin call and stop-out levels above the broker's. It alerts when the margin level falls below your margin call level and, below your stop-out level, closes positions one at a time, the worst net result first, until the level is back up, the way a broker stop-out works.
  • Currency Strength Free MT5 - Eight Currency Scanner Free MT5 dashboard comparing eight major-currency strengths and ranking up to 28 FX pairs from completed candles. Includes broker-prefix/suffix detection, synchronization checks, chart navigation and eight output buffers. Independent MIT-licensed source; no trading operations.

The most downloaded free products:

There are more than 71,240 products available in Market

New publications in CodeBase

10 new signals now available for subscription:

DarkHorse Gold Signal
107% 42 trades
Growth:106.66%
Equity:514.13USD
Balance:514.13USD
MD Scaling
53% 48 trades
Growth:53.05%
Equity:459.15USD
Balance:459.15USD
Nana
8% 13 trades
Growth:7.71%
Equity:1,036.22USD
Balance:1,036.22USD
and 7 more...

New publications in CodeBase

  • Key Levels: PDH/PDL, weekly and monthly levels, midnight open, Asian range, sweeps Previous day, week and month high and low, New York midnight open, period opens and the Asian range, with sweep marks and one alert per level. Day from broker or New York time. No repaint, buffers for EAs.
  • Seasonality A free MT4 Forex seasonality indicator that analyzes historical price data to reveal weekday, weekly, and monthly market tendencies, bullish/bearish probabilities, average returns, and volatility through a modern statistical dashboard.

Bestsellers in the Market:

13 new products are now available on the Market:

and 8 more...

5 new topics on forum:

and 2 more...

New publications in CodeBase

There are more than 12,960 codes published in Codebase

Published article "Building a Modular Pre-Trade Execution Filter Engine in MQL5".

Building a Modular Pre-Trade Execution Filter Engine in MQL5

The article presents a modular pre-trade execution filter for MQL5 as an object-oriented include class. It validates quote freshness, aligns order filling with broker capabilities, applies a rollover freeze window, and detects spread outliers using rolling statistics with a hard cap. An on-chart diagnostic indicator and an EA template with reproducible telemetry show integration and help reduce execution frictions in live trading.

Published article "Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 11): A Real Stroke Engine".

Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 11): A Real Stroke Engine

The engine learns to draw lines by stroking arbitrary paths with width, cap and join styles, miter limiting, and dashes. The stroker outputs overlapping geometry that the non-zero rule welds during fill, so no new raster code is required. In practice, you can render solid or dashed outlines with predictable caps and joins for chart series, widgets, and other UI shapes.

There are more than 71,180 products available in Market

New publications in CodeBase

  • Lot Size Calculator - Risk Percent to Lots Calculates the correct lot size from your risk (% of balance, % of equity or a fixed amount) and stop-loss distance. Shows actual risk and margin. Never places trades.
  • Candle Timer and Spread Shows the time left until the current candle closes and the live spread in any chart corner. Keeps counting every second, even when no ticks arrive.

3 new topics on forum:

15 new signals now available for subscription:

PAI Standard Mode No Limits
1,333% 12811 trades
Growth:1,332.50%
Equity:31,943.69USD
Balance:32,212.33USD
Waka Waka Original
862% 2096 trades
Growth:862.45%
Equity:2,393.76USD
Balance:2,406.13USD
TradxAi Capital System One
122% 11581 trades
Growth:122.02%
Equity:111,009.91USD
Balance:111,009.91USD
and 12 more...

New publications in CodeBase

  • Close All Positions and Orders (Filtered) Closes open positions and deletes pending orders in one run, with filters for symbol, magic number, side and profit or loss. Asks for confirmation and retries failed closes.
  • Range Compression Zones Breakout Range Compression Zones Breakout draws range compression zones and marks breakouts that pass a higher-timeframe high/low filter and a volume filter. Inspired by the range compression idea in Domenico D'Errico's Accumulation/Distribution study (TASC, August 2018). Independent implementation, not a literal port of the published study.

Bestsellers in the Market:

13 new products are now available on the Market:

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

Published article "Building a Daily OHLCV Aggregator from M1 Bars in MQL5".

Building a Daily OHLCV Aggregator from M1 Bars in MQL5

Create session-aligned daily candles from M1 data by choosing the session close hour. A dedicated shift–truncate–restore day-key function prevents off-by-one errors at rollover and is easy to unit test. The script groups and aggregates M1 bars, writes a custom symbol for standard D1 charting, and reports results in the Experts tab, backed by synthetic tests.

Published article "The Brunner-Munzel Test for MQL5: Comparing Trade Outcomes When the Variances Don't Agree".

The Brunner-Munzel Test for MQL5: Comparing Trade Outcomes When the Variances Don't Agree

Mann–Whitney's usual normal-approximation reading relies on equal shape and variance, which trade outcomes often violate. We implement the Brunner–Munzel test natively in MQL5, validate it against SciPy, and quantify Mann–Whitney's type‑I mis-sizing under unequal variance. The test is integrated as a one‑sided regime gate inside a Donchian breakout EA with rolling logs, giving you a variance‑robust filter for live comparisons.

More than 700 new charts published:

Gráfico GBPJPY, M15, 2026.11.24 20:24 UTC, Deriv.com Limited, MetaTrader 5, Demo
GBPJPY, M15
Grafico DowJones.st, M1, 2026.11.24 21:09 UTC, ePlanet Brokers Ltd, MetaTrader 5, Real
DowJones.st, M1
Chart Volatility 75 Index, M1, 11/24/2026 5:28 PM UTC, Deriv.com Limited, MetaTrader 5, Demo
Volatility 75 Index, M1
There are more than 71,120 products available in Market
There are more than 156,380 topics available on forum
123456789101112...718