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 "How to Test and Customize Built-in MQL5 Programs: Envelopes with Alligator Strategy".

How to Test and Customize Built-in MQL5 Programs: Envelopes with Alligator Strategy

Envelopes define percentage boundaries around a moving average, but a boundary touch alone does not identify whether the market is trending or ranging. We build Envelope_Alligator_Strategy.mq5, a custom indicator that reads the built-in Envelopes and Alligator buffers. Ordered Alligator lines classify directional states; interwoven lines identify a neutral state. This context changes how envelope crossings are interpreted and produces testable, non-trading chart signals.

Published article "Price Action Analysis Toolkit Development (Part 83): Building a Reusable Double-Bottom Pattern Library".

Price Action Analysis Toolkit Development (Part 83): Building a Reusable Double-Bottom Pattern Library

This recorder bridges visual labeling and systematic research in MQL5. After you position a rectangle, the EA extracts the candles it spans, derives candle geometry, normalizes OHLC values, assigns an ID, and saves the sample for reuse across sessions. The current category is the double bottom, and the module records the chosen sequence without enforcing a predefined pattern definition.

More than 1200 new charts published:

Graphique EURUSD.fsim, H1, 2026.10.10 13:23 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD.fsim, H1
Grafico Step Index, M1, 2026.10.11 07:55 UTC, Deriv.com Limited, MetaTrader 5, Demo
Step Index, M1
Grafico XAUUSD, H1, 2026.10.10 13:30 UTC, Tickmill Ltd, MetaTrader 5, Demo
XAUUSD, H1

The most downloaded free products:

There are more than 62,740 products available in Market

Most downloaded source codes this week

  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.
  • 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.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.

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.

How to Order a Trading Robot in MQL5 and MQL4

How to Order a Trading Robot in MQL5 and MQL4

"Freelance" is the largest freelance service for ordering MQL4/MQL5 trading robots and technical indicators. Hundreds of professional developers are ready to develop a custom trading application for the MetaTrader 4/5 terminal.

11 new signals now available for subscription:

Tectonic Gold
231% 191 trades
Growth:231.03%
Equity:1,819.52USD
Balance:1,819.52USD
Frontier x HFM
157% 105 trades
Growth:157.01%
Equity:2,570.13USD
Balance:2,570.13USD
High Rider Stable
88% 391 trades
Growth:87.93%
Equity:3,898.55USD
Balance:3,898.55USD
and 8 more...

Bestsellers in the Market:

New publications in CodeBase

  • Opening Range Breakout with NR4 / NR7 Contraction Filters An opening range breakout Expert Advisor that places stop orders a set distance from the session open, with optional NR4, NR7, inside-day and 3-bar narrow-range filters and a no-filter control mode for testing.
  • APEX VELOCITY ApexVelocity is a professional-grade Expert Advisor designed to capture explosive momentum in high-volatility instruments like XAUUSD (Gold). Moving away from rigid, hard-coded parameters, v1.0 introduces a robust, fully dynamic architecture that adapts to market conditions and broker specifications in real-time.
  • Daily PnL Percentage Overlay - prop firm daily loss limit Displays today's floating PnL as % of balance plus how much of the daily-loss budget is consumed — the number that actually matters for prop firm rules (FTMO, Apex, TopStep). Color code: green under 50% of limit, orange under 80%, red above. Configurable reset hour. Free to use. Inputs: InpLimitPct (daily loss limit %), InpResetHour (day reset, server time), colors, font size. Attach to any chart — reads account equity live.
  • Session High Low - Asian, London and New York Range Boxes Draws the Asian, London and New York session ranges as colored boxes with their high and low, plus dotted extension lines for breakout trading. Same ranges on every timeframe up to H1.
  • Prop Firm Equity Guard - Daily Loss Limit and Max Drawdown Protection Closes all trades and blocks new ones when the daily loss limit, maximum loss or profit target is reached. Built for prop firm challenges. Works with manual trading and any other EA.
  • BotGuard - Terminal Health Heartbeat for VPS Monitoring A lightweight, non-trading Expert Advisor that writes a JSON health heartbeat (connection, AutoTrading state, equity, daily P/L) and an equity log, so a VPS watchdog can detect frozen or disconnected terminals and alert you.
  • Fractal Dimension Trend Strength Index A rolling, Katz-style fractal dimension of price that collapses toward 1.0 during directional moves and rises toward 2.0 during choppy, range-bound action, giving traders a single number for how "trendy" the current market is.
  • Risk Calculator Panel with Draggable SL and TP Lines Position size calculator for MT5. Drag the SL and TP lines on the chart and the panel shows the lot size for your risk %, the real risk after rounding, the reward and R:R. Never trades.
There are more than 12,550 codes published in Codebase

4 new topics on forum:

and 1 more...

Bestsellers in the Market:

The most downloaded free products:

There are more than 62,600 products available in Market

14 new signals now available for subscription:

Sage 2 Gains
144% 449 trades
Growth:143.59%
Equity:1,502.37USD
Balance:1,473.36USD
Gold Rash ECN
39% 299 trades
Growth:38.94%
Equity:14,214.64USD
Balance:14,214.64USD
XDQX
27% 12 trades
Growth:26.86%
Equity:634.30USD
Balance:634.30USD
and 11 more...

New publications in CodeBase

  • Volatility-Adjusted Momentum Decay Line A momentum oscillator that relaxes back toward zero at a speed set by the current ATR relative to its own moving average, so decay speed adapts automatically to whether the market is calm or volatile.
  • Simple Anchored VWAP - Institutional Volume Benchmark Clean and efficient Anchored VWAP (AVWAP) indicator for MetaTrader 5. Calculates volume-weighted average price from a user-defined anchor date with optional volatility standard deviation bands.
  • Market Structure from Pullback Swings — BOS, CHoCH, IDM Smart Money Concepts market structure on pullback swings: trend, BoS, CHoCH, IDM and liquidity sweeps. A level counts as taken only on a close — a wick through it is marked as a sweep (x) and relocates the swing. Self-contained, closed bars only.
  • QCL Heikin Flow MT5 QCL Heikin Flow applies two-stage smoothing to Heikin Ashi candles, helping traders filter price noise and visualize trend direction. Features adjustable smoothing periods, four moving average methods, and customizable candle colors.
  • EMA Cross Scalper M15 (XAUUSD, WIB session filter) EMA(10) x EMA(30) scalper for XAUUSD on the M15 timeframe with a Jakarta session filter. Educational example: fixed lot size, SL/TP in points, maximum of 1 position, spread filter. Tested on 100% real ticks.
  • Support and Resistance Channels Ranked by Strength Support and resistance channels built from price pivots and ranked by strength: each pivot inside a channel and each bar that touched it adds to its score. The strongest channels run across the whole chart, colored by where price is, with break arrows, pivot marks, two averages and alerts.
  • ExportBars - bars to CSV that pandas reads without arguments Exports bars to a CSV file that pandas.read_csv() loads without encoding, separator or date-format arguments: ISO 8601 timestamps, prices at the symbol's own digits, single-byte encoding. Two modes (last N bars or a date range) and a switchable separator for Excel.
  • StopDistance - bar range in points with a suggested stop level Shows the range of every bar in points, its moving average (SMA or EMA) and a suggested stop distance (average x factor). A stop tighter than the typical bar range gets taken out by ordinary noise; the indicator makes that threshold visible in points, the same unit a stop loss is set in.
  • Buffer Inspector Kb Shows what every buffer of an indicator holds - arrows, a line or a colour index - and labels the arrows on the chart with their buffer numbers. Works with compiled indicators without source code.
  • Scalper EA for End-of-Weeks on BTC Awesome Expert Advisor for Metatrader 4
  • QCL Smoothed Heikin Ashi QCL Smoothed Heikin Ashi for MT4 applies two-stage smoothing to Heikin Ashi candles, helping traders reduce visual price noise and identify trend direction. It features independent smoothing periods, four moving average methods (SMA, EMA, SMMA, and LWMA), and customizable bullish, bearish, and neutral candle colors. Smoothed candles appear directly on the main chart. Candle values are calculated and do not represent actual market prices. The current candle may change until the bar closes.
  • Trading on Weekends Trading on Bitcoin in the Weekends. Scalper EA to VPS ~0ms low-latency
There are more than 155,390 topics available on forum

5 new topics on forum:

and 2 more...

The most popular forum topics:

Published article "Certified Robustness Radius: Knowing How Much Noise Your ONNX Trading Model Can Survive".

Certified Robustness Radius: Knowing How Much Noise Your ONNX Trading Model Can Survive

We introduce a certified-radius gate for ONNX signals implemented natively in MQL5. The system estimates per-prediction robustness via randomized smoothing and a one-sided Clopper–Pearson bound, then applies the radius to trade admission, lot scaling, and monitoring. This provides an actionable confidence margin that reflects input noise tolerance rather than softmax magnitude.

The most downloaded free products:

More than 800 new charts published:

Chart XAUUSD.x, M1, 2026.10.09 14:16 UTC, Sarmaye Gozare Bartar Ltd., MetaTrader 5, Demo
XAUUSD.x, M1
Chart #V, H1, 2026.10.09 14:03 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
#V, H1
Chart USDJPY, M15, 2026.10.09 14:23 UTC, XM Global Limited, MetaTrader 5, Demo
USDJPY, M15

18 new signals now available for subscription:

Brasil Mini indice
61% 47 trades
Growth:60.50%
Equity:2,857.15BRL
Balance:2,857.15BRL
Weekend
48% 103 trades
Growth:48.48%
Equity:147.62USD
Balance:148.48USD
BreyNT
40% 92 trades
Growth:40.03%
Equity:4,602.00USD
Balance:4,602.00USD
and 15 more...
There are more than 62,480 products available in Market

Bestsellers in the Market:

7 new topics on forum:

and 4 more...

New publications in CodeBase

There are more than 3,510 articles published on site

Published article "Neural Networks in Trading: From Transformers to Spiking Neurons (Conclusion)".

Neural Networks in Trading: From Transformers to Spiking Neurons (Conclusion)

Neural networks are already changing the way we analyze markets, and new architectures are opening up even more possibilities. In this article, we wrap up our work with the SpikingBrain framework, which opens up new possibilities for us.

Published article "MiniRocket: A Deterministic Time-Series Classifier and What It Finds in Seven Classic Setups".

MiniRocket: A Deterministic Time-Series Classifier and What It Finds in Seven Classic Setups

This article delivers a native MQL5 MiniRocket: 84 fixed convolution kernels yield 9,996 features quickly and deterministically, requiring no training loop and no external runtime. We verify the port against sktime and a float64 reimplementation, then run a reproducible audit of seven classic setups; planted and coin‑flip controls confirm correctness, and a 25%‑flipped control sets the detection threshold.

Published article "The Maximal Information Coefficient: Detecting Any Relationship, and the Null That Decides Whether It Is Real".

The Maximal Information Coefficient: Detecting Any Relationship, and the Null That Decides Whether It Is Real

This article implements the Maximal Information Coefficient (MINE) for MQL5, including the grid search with dynamic programming and the four MINE statistics. It explains why raw MIC has a nonzero noise floor and builds a permutation null to judge significance. The result is a verified library with a dependence scanner and a chart indicator, allowing you to test features and interpret scores consistently across relationship shapes.

Published article "Symbol Correlation Monitor with Live Heatmap in MQL5".

Symbol Correlation Monitor with Live Heatmap in MQL5

This work delivers an MQL5 Expert Advisor that reads open-position symbols, builds return series, and computes a rolling Pearson correlation matrix, displayed as a CCanvas heatmap. Off-diagonal pairs that meet a warning threshold are bordered for quick scanning. The code details return processing, correlation arithmetic, and matrix indexing, with a verification script, helping you track shifting co-movements across your active book.

Published article "Price Action Analysis Toolkit Development (Part 82): Annotating Historical Bookmarks with Reliable Timeframe Switching".

Price Action Analysis Toolkit Development (Part 82): Annotating Historical Bookmarks with Reliable Timeframe Switching

We implement visible bookmark annotations and a hand-off mechanism for cross-symbol and cross-timeframe recall. The navigator stores the target in terminal Global Variables, waits for stable bars after reinitialization, and rebuilds only matching markers with safe cleanup. Traders can inspect saved events in context and navigate back to them without reconstructing chart settings.

Published article "Practical Modules from Other Languages in MQL5 (Part 08): MATPLOTLIB".

Practical Modules from Other Languages in MQL5 (Part 08): MATPLOTLIB

Learn how to bring advanced plotting and data visualization to the MetaTrader 5 terminal by leveraging Matplotlib, one of Python's most powerful and widely used visualization libraries.

Published article "Strategy Optimization and Forward Analysis (Part 1): The Pardo Method — A Basic Model".

Strategy Optimization and Forward Analysis (Part 1): The Pardo Method — A Basic Model

The article explains how to establish a reproducible process for developing and testing trading systems in MetaTrader 5: from formalizing entry and exit rules and risk management to post-optimization validation. It is based on the "Pardo Method": splitting historical data into in-sample and out-of-sample periods, forward testing, multiple markets/timeframes, and selecting stable parameter "plateaus" instead of isolated peaks. Using the examples of PardoSystem and the PardoEA / Breakout_Bounce Expert Advisors (EAs), this article demonstrates a practical test plan for the MetaTrader 5 Strategy Tester.

More than 900 new charts published:

Chart XAUUSD, M5, 2026.10.08 19:40 UTC, T.M. Financials Ltd, MetaTrader 5, Real
XAUUSD, M5
Gráfico Boom 50 Index, H4, 2026.10.08 02:46 UTC, Deriv.com Limited, MetaTrader 5, Demo
Boom 50 Index, H4
Chart USDJPY, H1, 2026.10.08 06:07 UTC, Titan FX Limited, MetaTrader 5, Real
USDJPY, H1

The most downloaded free products:

There are more than 62,370 products available in Market

Bestsellers in the Market:

19 new signals now available for subscription:

Harmonizer High Risk
3,734% 1292 trades
Growth:3,733.62%
Equity:1,071.27USD
Balance:1,069.73USD
BMR GOLD save
49% 929 trades
Growth:49.16%
Equity:50,916.39USD
Balance:50,916.39USD
BMR Gold save exness
42% 571 trades
Growth:41.69%
Equity:10,628.58USD
Balance:10,628.58USD
and 16 more...

New publications in CodeBase

6 new topics on forum:

and 3 more...

Published article "Master the Z-Score: Building Mean-Reverting MQL5 Trading Systems".

Master the Z-Score: Building Mean-Reverting MQL5 Trading Systems

This article explains how to use the Z-Score to quantify price deviations in standard deviations and apply the concept in MQL5. We cover the calculation, interpretation across market regimes, and the implementation of a custom indicator and three trading strategies as Expert Advisors. Readers get complete code examples and a testing workflow, plus practical notes on lookback selection, fat tails, execution timing, and risk controls.

Published article "Larry Williams Market Secrets (Part 18): Automating the Greatest Swing Value Breakout Strategy in MQL5".

Larry Williams Market Secrets (Part 18): Automating the Greatest Swing Value Breakout Strategy in MQL5

This article converts the Greatest Swing Value breakout rules into a configurable MQL5 Expert Advisor. It implements measurable setup conditions, failure-swing calculations, one-bar setup validity, and M1 breakout confirmation. The EA also supports broker-compatible risk management, manual or percentage-risk sizing, position control, and trade-server validation, providing a reproducible framework for independent Strategy Tester research across different markets and historical periods.

Published article "MetaTrader 5 Machine Learning Blueprint (Part 22): Auditing the Selection Criterion — Measuring Overfit in Hyperparameter Search".

MetaTrader 5 Machine Learning Blueprint (Part 22): Auditing the Selection Criterion — Measuring Overfit in Hyperparameter Search

We show that nested cross-validation removes optimistic evaluation bias but does not stop hyperparameter search from overfitting a finite sample, and we add a diagnostic for when the criterion cannot resolve candidates from noise. We implement OffsetPurgedKFold (boundary-shifted repartitioning), a criterion variance audit (resolution ratio and selection stability), a selection optimization curve, a corrected one-standard-error rule, noise-floor early stopping, and an effective trial count for correlated trials. The result is a dispersion report per candidate and an effective count for the Deflated Sharpe Ratio.

Published article "Trade Entry Timing Accuracy Analyzer in MQL5".

Trade Entry Timing Accuracy Analyzer in MQL5

This article builds an MQL5 dashboard that evaluates entry timing for closed positions using tick‑based Maximum Adverse Excursion (MAE) and Maximum Favorable Excursion (MFE). It computes an entry efficiency ratio, renders an MAE/MFE scatter plot and an efficiency histogram, and prints a concise summary to the Experts tab. Deal grouping, tick‑level excursion logic, and a standalone verification script are included so you can diagnose entry quality across many trades.

Published article "Building AI-Powered Trading Systems in MQL5 (Part 12): Giving the Assistant Chart Vision and Tool Access".

Building AI-Powered Trading Systems in MQL5 (Part 12): Giving the Assistant Chart Vision and Tool Access

We give our AI chat assistant two new abilities in MQL5: sight and tool access. It can now capture the chart as a screenshot, attach it to a message, and view it in the panel, and it can call tools that read live positions, trade history, indicator values, chart objects, and the economic calendar. The assistant reasons from what it sees and queries rather than text alone.

Published article "Neural Networks in Trading: From Transformers to Spiking Neurons (Key Components)".

Neural Networks in Trading: From Transformers to Spiking Neurons (Key Components)

We present to the reader an implementation of the SpikingBrain framework’s approaches based on recurrent linear attention with gates, discussed in detail in this article. Forward pass, gradient propagation, and weight update algorithms ensure efficient processing of financial time series and enable the practical implementation of the framework’s key concepts.

Published article "Encoding Candlestick Pattern (Part 6): Developing the Encoded Sequence Indicator".

Encoding Candlestick Pattern (Part 6): Developing the Encoded Sequence Indicator

An on-chart MQL5 indicator generates a live stream of encoded candlestick symbols and a frequency report for the last N bars. It supports color customization and type filtering, and uses A/a, H/h, E/e, G/g, D, and N/n classifications. Traders can quickly review occurrences and common sequences directly on the chart.

1...121314151617181920212223242526...710