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 "Building a Compile-Time Unit Testing Framework in MQL5 Using Preprocessor Assertions".

Building a Compile-Time Unit Testing Framework in MQL5 Using Preprocessor Assertions

MQL5 lacks native unit testing, so utility bugs in lot sizing, pip value, and normalization often slip into production. This article presents a zero‑dependency framework built from preprocessor assertion macros, interface‑based suites, and a central runner/formatter. It runs as a script in OnStart, executes deterministic tests, and prints pass/fail summaries to the Experts tab to catch rounding, boundary, and error-handling defects before deployment.

The most popular forum topics:

Published article "Neural Networks in Trading: Probabilistic Time Series Forecasting (Conclusion)".

Neural Networks in Trading: Probabilistic Time Series Forecasting (Conclusion)

We invite you to learn about the K²VAE framework and how the proposed approaches can be integrated into a trading system. You will learn how the hybrid Koopman–Kalman–VAE approach helps build adaptive and interpretable models. The article concludes with practical results from using the implemented solutions.

The most downloaded free products:

More than 400 new charts published:

Chart EURUSD, M5, 2026.08.29 19:15 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, M5
Chart EURUSD, H2, 2026.08.29 00:02 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
EURUSD, H2
Gráfico XAUUSD, H1, 2026.08.29 14:41 UTC, Vittaverse Ltd, MetaTrader 5, Real
XAUUSD, H1
There are more than 57,690 products available in Market

Bestsellers in the Market:

2 new topics on forum:

Most downloaded source codes this week

  • 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.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • ASQ Command Desk ASQ CommandDesk is a professional order management panel for manual traders on MetaTrader 5. You make the trading decisions — CommandDesk handles execution, risk control, and exit management automatically.

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 Dynamic ATR-Based Trend Channel Indicator in MQL5

Building a Dynamic ATR-Based Trend Channel Indicator in MQL5

This article develops a dynamic ATR-based trend channel indicator in MQL5 that responds to current market volatility. It derives True Range, applies a two-step ATR smoothing, and constructs adaptive upper and lower boundaries to track trend shifts. The tool also renders a trailing trend line, trend-colored candles, and reversal arrows, offering a usable code base for volatility-aware analysis and further indicator design.

12 new signals now available for subscription:

SVC AC2
68% 1048 trades
Growth:68.26%
Equity:5,995.76USD
Balance:6,006.82USD
Cepheus Loyalty High Risk
64% 68 trades
Growth:63.54%
Equity:163.54CAD
Balance:163.54CAD
PMtrader
37% 511 trades
Growth:37.08%
Equity:16,094.31EUR
Balance:16,094.31EUR
and 9 more...

The most downloaded free products:

There are more than 57,590 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • Elliott Wave Auto Counter / Automatic Wave Labeling Automatically detects swing pivots and labels a rule-validated Elliott Wave count (1-2-3-4-5 impulse and A-B-C correction) directly on the chart, with a Fibonacci info panel. For guidance only, always confirm manually.
  • Broker Info Panel MT5 A lightweight MT5 chart indicator that displays live broker and symbol trading specifications including spread, tick size, tick value, volume limits, stop level and freeze level.
  • Nadaraya_Watson_Envelope_NR Calculates a non-repainting Nadaraya-Watson envelope using Gaussian smoothing and marks price crosses beyond the upper and lower bands with arrows.
  • Risk Based Position Size Calculator A draggable MT5 risk calculator that converts the selected entry and stop distance into a broker normalized position size using tick size, tick value and account risk.
  • Broker Execution Diagnostics A read only MT5 script that reports broker symbol specifications, volume limits, price settings, execution modes, trading permissions, margin requirements and estimated profit values.
  • SMC Entry Using structure Market Structure & Smart Trade Tracker (MT5) An advanced all-in-one Smart Money Concepts (SMC) indicator that combines automated market structure mapping, momentum heatmap candles, and institutional trade execution tracking.
  • Adaptive_MACD Adaptive MACD is a dynamic momentum indicator that adjusts its smoothing based on market conditions. It calculates a Pearson correlation coefficient between price and bar index over a user-defined period, then uses the resulting R² to blend two different MACD coefficient sets. This makes the MACD line more responsive during strong trends and smoother in sideways markets. The indicator plots a color-coded histogram (strong/weak bullish/bearish) and an optional auto-contrast MACD line that adapts to the chart background. Inputs allow customization of the R² period, fast/slow lengths, signal period, and colors. Suitable for trend-following and detecting momentum shifts.
  • Market Replay Tool Market Replay Tool is an MT5 utility that seamlessly merges a Market Replay simulator with interactive TradingView-style Long & Short drawing tools. It allows traders to backtest strategies on historical data with adjustable playback speeds, while effortlessly mapping out risk-to-reward setups using dynamic, draggable entry, stop-loss, and take-profit visual boxes directly on the chart.

13 new signals now available for subscription:

Red Rock
114% 656 trades
Growth:113.86%
Equity:5,790.87USD
Balance:5,790.87USD
HighestRisk
44% 35 trades
Growth:44.00%
Equity:2,880.01USD
Balance:2,880.01USD
Trumma Vantage
33% 260 trades
Growth:32.97%
Equity:1,279.06EUR
Balance:1,279.06EUR
and 10 more...

3 new topics on forum:

The most downloaded free products:

More than 400 new charts published:

Grafik EURUSD, M5, 2026.08.28 20:01 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
EURUSD, M5
チャート EURUSD, M5, 2026.08.27 14:58 UTC, Notesco (BVI) Ltd, MetaTrader 4, Demo
EURUSD, M5
차트 EURUSD, H1, 2026.08.28 19:24 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
EURUSD, H1

Bestsellers in the Market:

11 new signals now available for subscription:

Buster BTC Exness
304% 495 trades
Growth:304.12%
Equity:112.81USD
Balance:113.47USD
XM AETHERIS Gold ZigZag and Stack
158% 150 trades
Growth:158.24%
Equity:258.24USD
Balance:258.24USD
Low gold
56% 737 trades
Growth:56.45%
Equity:615.41EUR
Balance:615.41EUR
and 8 more...
There are more than 57,480 products available in Market

New publications in CodeBase

  • SpreadAudit – a broker’s actual spread based on M1 historical data The script retrieves your broker’s actual spread from the ‘spread’ field of the M1 bars and displays the median, the 90th and 99th percentiles in price units, in pips and as a percentage of ATR, and also exports the average and maximum spreads for each hour of the day to a CSV file. This is needed to test strategies against the actual costs on your account, rather than against a ‘typical’ spread estimated from memory.
  • RepaintTest - measure whether a drawing indicator repaints Measures whether a drawing indicator repaints, instead of asserting that it does not. The invariant: once a bar has closed and been processed, no object drawn on it may ever change - not move, not recolour, not change its text, and not disappear. The script seeds a custom symbol with real history, attaches your indicator through a template, records every object, appends bars, forces a full recalculation, and compares object by object. Changes and disappearances are counted separately, because only a change means the claim is false. A run that compared nothing is reported as INCONCLUSIVE, never as a pass. Output is a CSV you can publish next to the number.

Published article "Distribution-Free Price Channels in MQL5: Quantile Regression by Iteratively Reweighted Least Squares".

Distribution-Free Price Channels in MQL5: Quantile Regression by Iteratively Reweighted Least Squares

We build a rolling price channel by fitting the 0.1, 0.5 and 0.9 conditional quantile lines via IRLS with pinball loss, packaged as a reusable class and two MetaTrader 5 indicators. We verify in-sample coverage, examine quantile crossing, and compare the channel width with ATR, Bollinger and regression widths on matched horizons. Tests in the Strategy Tester show the edges are descriptive, while the normalized width works as a volatility/regime feature.

Published article "From Novice to Expert: Candlestick Momentum Confirmation for Classic Crossover Strategies".

From Novice to Expert: Candlestick Momentum Confirmation for Classic Crossover Strategies

In this article, we refine a moving average crossover strategy with a momentum candle filter and an immediate retracement bar confirmation. When both conditions are met, a pending stop order is placed using a pivot-based stop loss and a 2R take profit. The complete MQL5 Expert Advisor code, finite-state-machine logic, and chart annotations are detailed.

Published article "Meta-Labeling the Classics (Part 3): Filtering and Sizing Bollinger Band Trades".

Meta-Labeling the Classics (Part 3): Filtering and Sizing Bollinger Band Trades

Bollinger Band mean reversion degrades in trending regimes when ADX is high and bandwidth expands. We separate direction from trade selection with a two‑stage meta‑labeling pipeline: a gradient‑boosted secondary classifier trained with PurgedKFold on band‑specific features (BBP, BBB, bandwidth regime) outputs action probabilities that drive probability‑based bet sizing. The MQL5 implementation loads the ONNX model and applies position sizing within a two‑EA architecture to filter low‑quality band touches.

Published article "Implementing a Daily Loss Limit and Drawdown Circuit Breaker in MQL5".

Implementing a Daily Loss Limit and Drawdown Circuit Breaker in MQL5

This article presents a circuit breaker for MQL5 that monitors combined daily P&L (realized plus floating) on every tick and compares it to a configured loss limit. On breach, it closes positions, cancels pending orders, and activates a HALTED state that blocks further order submission in the EA until server‑time midnight. The package provides a chart dashboard, a demo Expert Advisor, a verification script, and notes on extending the halt signal across EAs.

1 new topic on forum:

The most downloaded free products:

Bestsellers in the Market:

There are more than 57,400 products available in Market

New publications in CodeBase

  • Support Resistance zig zag based Support Resistance zig zag based is a Price Action indicator designed to automatically and dynamically map Support, Resistance, and transition areas (Flip Zones) on the chart. It focuses purely on clear price structure mapping and highlighting key bounce areas (SBR & RBS). It also includes an interactive dashboard to monitor real-time market bias.
  • Market Structure Entry Model Market Structure Shift (CHoCH) Bullish Setup (CHoCH ): Price breaks above the previous confirmed Lower High (LH), signaling a trend reversal from bearish to bullish. Bearish Setup (CHoCH ): Price breaks below the previous confirmed Higher Low (HL), signaling a trend reversal from bullish to bearish.
  • Auto ZigZag Fibonacci Golden Zone Indicator For MT5 The Auto ZigZag Fibonacci Golden Zone indicator automatically detects the latest swing high and low, draws key Fibonacci retracement levels (50%, 61.8%, 78.6%), and highlights the Golden Zone between 61.8% and 78.6% as an optimal pullback entry area. The indicator includes a real-time dashboard, optional buy/sell signals, and full color customization. Works on all symbols and timeframes. Always test on a demo account before live trading.

The most popular forum topics:

11 new signals now available for subscription:

EA Miracolo
252% 503 trades
Growth:251.58%
Equity:225.99EUR
Balance:225.99EUR
GoldCyle I
219% 118 trades
Growth:219.36%
Equity:33,634.72EUR
Balance:33,634.72EUR
KNP AI no BS
51% 1114 trades
Growth:50.70%
Equity:8,463.18USD
Balance:8,655.14USD
and 8 more...

3 new topics on forum:

The most downloaded free products:

Bestsellers in the Market:

There are more than 57,300 products available in Market

More than 500 new charts published:

Chart XAUUSD, M5, 2026.08.25 03:01 UTC, FundedNext Ltd, MetaTrader 5, Demo
XAUUSD, M5
Chart GER40, M1, 2026.08.26 09:43 UTC, Pepperstone Group Limited, MetaTrader 4, Real
GER40, M1
Grafico EURUSD, H1, 2026.08.25 03:19 UTC, Alpari, MetaTrader 5, Real
EURUSD, H1

23 new signals now available for subscription:

ZHANG LI
245% 1975 trades
Growth:245.13%
Equity:2,540.95USD
Balance:2,242.03USD
IndexLORD
199% 53 trades
Growth:198.71%
Equity:8,764.59USD
Balance:8,764.59USD
Harmonizer Mid Risk PAMM
195% 1469 trades
Growth:195.28%
Equity:46,929.24USD
Balance:46,893.44USD
and 20 more...

New publications in CodeBase

  • Volume Profile Levels Indicator Builds a horizontal volume histogram over a recent lookback window and marks the Point of Control and Value Area using the standard TPO/volume value-area expansion algorithm — not just POC ± a fixed offset. Refreshed once per new bar, drawn as a sidebar next to price.
  • Sniper Gold Hybrid Recovery EA XAUUSD M15 basket recovery EA with adaptive ATR spacing, LL/LH structure validation, dynamic RSI gating, crash detection, news filter, and smart trade trimming.
  • SessionRangeBreakout Asian range indicator with breakout levels for the London session. Entry arrows, alerts, push notifications. Optimised for XAUUSD M15.
There are more than 154,720 topics available on forum

5 new topics on forum:

and 2 more...

The most downloaded free products:

22 new signals now available for subscription:

BLUE OCEAN FLIPPER 3
883% 186 trades
Growth:883.45%
Equity:105.65USD
Balance:105.65USD
Nano Sentinel
273% 444 trades
Growth:272.65%
Equity:1,572.39USD
Balance:1,572.39USD
Frontier
110% 99 trades
Growth:110.24%
Equity:2,102.37USD
Balance:2,102.37USD
and 19 more...
There are more than 57,200 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • Liquidity Sweep Detector Indicator Marks fractal swing highs/lows as liquidity levels, then flags the exact bar where price wicks beyond one and closes back inside — a liquidity sweep / stop hunt — with an arrow and an optional price label. Sweep checks run only on closed bars, so signals never repaint.
  • MT5 Vertical Scroll This allows mt5 chart to scroll like tradingview chart with auto button to reset
  • Neural Loss-Pattern Auditor Neural Loss-Pattern Auditor trains a small feed-forward neural network, written from scratch in native MQL5, on closed-deal history to test whether behavioral and market-context features predict which trades are more likely to lose. It reports an accuracy uplift over a naive baseline, a probability-calibration table, a permutation feature-importance ranking, and a configurable A-F composite grade with recommendations. On first run it uses a built-in synthetic demo, so the output is visible immediately with no setup; switch one input to InpUseDemoData=false to analyze real account history instead. Pure MQL5: no external libraries, no Python, and no AI service of any kind.

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.

MetaTrader 4 on Linux

MetaTrader 4 on Linux

In this article, we demonstrate an easy way to install MetaTrader 4 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.

1...131415161718192021222324252627...699