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

  • 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 58,170 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.

20 new signals now available for subscription:

GoldCyle I
323% 87 trades
Growth:323.21%
Equity:44,573.14EUR
Balance:44,573.14EUR
EA Miracolo
250% 497 trades
Growth:249.90%
Equity:224.91EUR
Balance:224.91EUR
Fintrade
125% 329 trades
Growth:124.84%
Equity:380.41USD
Balance:380.41USD
and 17 more...

The most popular forum topics:

3 new topics on forum:

More than 1100 new charts published:

Gráfico GER40, M1, 2026.08.26 09:43 UTC, Pepperstone Group Limited, MetaTrader 4, Real
GER40, M1
График XAUUSD, M5, 2026.08.25 03:01 UTC, FundedNext Ltd, MetaTrader 5, Demo
XAUUSD, M5
チャート EURUSD, H1, 2026.08.25 03:19 UTC, Alpari, MetaTrader 5, Real
EURUSD, H1

The most downloaded free products:

Bestsellers in the Market:

There are more than 58,070 products available in Market

20 new signals now available for subscription:

ZHANG LI
317% 1969 trades
Growth:317.02%
Equity:2,709.01USD
Balance:2,709.01USD
Harmonizer Mid Risk PAMM
183% 1430 trades
Growth:183.12%
Equity:44,580.15USD
Balance:44,818.43USD
TK163
146% 1320 trades
Growth:145.60%
Equity:5,036.00USD
Balance:5,036.00USD
and 17 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.

5 new topics on forum:

and 2 more...

The most downloaded free products:

21 new signals now available for subscription:

BLUE OCEAN FLIPPER 3
492% 132 trades
Growth:492.25%
Equity:138.78USD
Balance:138.78USD
MACROFLOW XAUUSD MODERADO
250% 1518 trades
Growth:249.62%
Equity:34,962.10USD
Balance:34,962.10USD
Nano Sentinel
230% 404 trades
Growth:230.43%
Equity:1,433.60USD
Balance:1,433.60USD
and 18 more...
There are more than 57,960 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.
There are more than 154,720 topics available on forum

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 new topic on forum:

Published article "Larry Williams Market Secrets (Part 16): Detecting and Trading the Oops Gap Reversal Pattern".

Larry Williams Market Secrets (Part 16): Detecting and Trading the Oops Gap Reversal Pattern

Learn how to build an MQL5 Expert Advisor that detects and trades Larry Williams’ Oops Gap Reversal pattern using objective gap rules and later-bar confirmation. The EA tracks setup expiration, prepares stop-loss and take-profit levels, supports manual or risk-based position sizing, executes market orders, and is evaluated through historical testing.

Published article "Does This Entry Filter Really Add Edge? A Block-Permutation Test in MQL5".

Does This Entry Filter Really Add Edge? A Block-Permutation Test in MQL5

An MQL5 analyzer reconstructs completed trades, records acceptance labels, and measures the accepted-minus-rejected mean net-profit difference. It benchmarks that statistic against individual permutations, equal-block permutations, and circular shifts while preserving the accepted count. Block-size sensitivity, CSV exports, and coordinated base/filtered passes separate statistical selection evidence from operational effects on profit, drawdown, and efficiency metrics.

Published article "Automating Chart Patterns in MQL5 (Part 1): The Multi-Timeframe Swing Structure Engine".

Automating Chart Patterns in MQL5 (Part 1): The Multi-Timeframe Swing Structure Engine

This article presents CSwingEngine, a reusable MQL5 class that detects H4 swing highs and lows, labels them HH, LH, HL, or LL, and classifies market structure as trend or range. Swings are always computed on H4, regardless of the attached chart, and each point draws correctly on lower timeframes via native datetime anchoring. The engine exposes a clean interface to query the current trend and retrieve the swing array for context-aware pattern logic.

Published article "Measuring Market Efficiency with Lempel-Ziv Complexity".

Measuring Market Efficiency with Lempel-Ziv Complexity

This article presents a compact MQL5 library for market-complexity analysis: LZ76 complexity and Normalized Compression Distance built on a SAX symbolizer, exposed through a simple facade and an efficiency indicator. It explains the discretization choices, normalization, and distance formulation, and validates the code with unit checks and an independent cross-check. You get a ready-to-use library and indicator, plus a disciplined way to interpret readings with a shuffle null and a direction check.

There are more than 57,840 products available in Market

The most downloaded free products:

More than 600 new charts published:

Chart XAUUSD.m, M1, 2026.08.24 07:31 UTC, Just Global Markets Ltd., MetaTrader 5, Real
XAUUSD.m, M1
Chart XAGUSDc, M5, 2026.08.24 02:31 UTC, Exness Technologies Ltd, MetaTrader 5, Real
XAGUSDc, M5
차트 GBPJPY, H4, 2026.08.24 11:15 UTC, AxiCorp Financial Services Pty Ltd, MetaTrader 4, Real
GBPJPY, H4

Bestsellers in the Market:

25 new signals now available for subscription:

DP Miks
298% 1370 trades
Growth:298.06%
Equity:530,961.28RUB
Balance:166,236.52RUB
FX1 Leo2026
185% 310 trades
Growth:184.94%
Equity:2,098.41USD
Balance:2,238.82USD
FX2 Leo2026
102% 355 trades
Growth:101.77%
Equity:2,378.20USD
Balance:2,378.20USD
and 22 more...

New publications in CodeBase

  • Fair Value Gap Detector Indicator Detects 3-candle Fair Value Gaps (price imbalances) and draws them as boxes that extend live until price trades back through the gap. Detection runs only on fully closed bars, so gaps never flicker in and out as the current candle forms.
  • Interactive On-Chart Risk Management and Execution Panel An interactive GUI panel for MetaTrader 5 designed for manual traders and quant developers. It automates dynamic position sizing based on exact account equity risk percentage, features one-click order execution (Buy/Sell), instant BreakEven, Close All functionality, and continuous real-time Trailing Stop management.
  • Chaos Theory Lyapunov Exponent EA Quantitative MT5 Expert Advisor that filters market noise using Chaos Theory and the Largest Lyapunov Exponent (LLE). Trades momentum EMA crossovers only during deterministic market regimes, with built-in ATR risk management.
  • Drawdown Meter Most reports give you one drawdown number - the worst one. This read-only script measures all three that matter on your own closed history: depth, duration and frequency. It prints the maximum drawdown with its peak, trough and recovery dates, the longest underwater period in days, whether you are at a new peak or how far below it and for how long, and a table of the deepest episodes with the days each took to recover. An episode is not a losing streak: it closes only when a NEW high is made, so a dip that never reclaims the old peak stays the same episode - which is what makes the duration column meaningful. Entry commissions are included and a partial close counts as one round turn, so the curve carries full cost. Optional percentage figures and CSV export. Deposits and withdrawals are excluded: this is the drawdown of your trading, not of your balance line.
  • Timer Candle simple coundown timer
  • Basket Protective Close Closes a basket of positions when its floating loss reaches a limit set as fixed money, a percent of balance, or a percent of equity. Scope filters by symbol or magic numbers, optional profit target, safe non blocking retries.
  • Swing Detector by Pullback (Smart Money Concepts) SMC Pullback marks swing highs and lows using the pullback definition instead of the usual 3-candle pattern. A high is confirmed only when price trades back through the low of the candle that made it — so every marked point is an actual rejection, and highs and lows always alternate. It evaluates closed bars only and never moves a marker once drawn, so it does not repaint. Two buffers expose the confirmed swing prices to an EA via iCustom.
There are more than 12,320 codes published in Codebase
There are more than 3,270 articles published on site

Published article "Feature Engineering for ML (Part 14): Trend-Scanning Features in MQL5".

Feature Engineering for ML (Part 14): Trend-Scanning Features in MQL5

A naive MQL5 port of trend-scanning features recomputes each candidate window per bar at O(H·L) cost. This article introduces CTrendScanningFeatures.mqh, which maintains three running sums per horizon and updates them in O(1) per bar, verified against a Python reference. The indicator exposes four causal buffers - window, slope, t_value, rsquared - at the confirmation bar and corrects a sign inversion present in the original backward labeling mode.

Published article "Online Machine Learning for Trade Signal Filtering in MQL5 (Part 1)".

Online Machine Learning for Trade Signal Filtering in MQL5 (Part 1)

This article implements an online logistic‑regression trade filter in native MQL5 and integrates it into an EMA‑crossover EA with a closed‑trade feedback loop. It details the shared class, features, SGD update, persistence, and a read‑only probability view. Synthetic experiments cover multi‑seed separation, calibration, feature ablation, regime‑shift baselines, and hyperparameter sweeps. You get reproducible scripts and a walk‑forward protocol to validate the filter on your own instrument.

Published article "Designing a Partial Close Engine in MQL5 with Configurable Profit Ladders".

Designing a Partial Close Engine in MQL5 with Configurable Profit Ladders

This MQL5 engine applies configurable profit ladders in R‑multiples to manage partial closes reliably. It prevents stranded remainders by rounding to lot step, computes close percentages from the original entry volume, and moves the stop to breakeven when configured. A supported filling mode is chosen automatically, and the download includes seven include files, a demo EA, and a verification script.

Published article "How To Debug MQL5 Code in MetaEditor".

How To Debug MQL5 Code in MetaEditor

This article is a practical walk-through of the MetaEditor debugger using a rolling z‑score indicator with two planted bugs: an off‑by‑one array access and a silent wrong‑denominator variance. We show how to set breakpoints, step through code, read the call stack, and inspect values in the Watch window. You will learn a repeatable method to catch both crashing index errors and tiny numerical biases that charts cannot reveal.

The most popular forum topics:

3 new topics on forum:

The most downloaded free products:

More than 500 new charts published:

Grafik Volatility 75 Index, M15, 2026.08.22 00:20 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
Volatility 75 Index, M15
Gráfico !STD_DJI30, M5, 2026.08.23 12:01 UTC, Alpari, MetaTrader 4, Demo
!STD_DJI30, M5
チャート USDJPY, H4, 2026.08.23 12:02 UTC, AxiCorp Financial Services Pty Ltd, MetaTrader 4, Demo
USDJPY, H4

Bestsellers in the Market:

1...8910111213141516171819202122...694