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 Research a Trading Idea: A Range Breakout Strategy Case Study".

How to Research a Trading Idea: A Range Breakout Strategy Case Study

This article demonstrates a practical approach to researching trading ideas using a range breakout strategy as an example. We will go through the entire process, from formalizing trading rules and building a baseline model to parameter optimization, forward testing, and evaluating the robustness of the results. The main goal of the article is to develop an understanding of how statistics and testing can be used to identify, validate, and evaluate trading hypotheses.

Published article "Exporting MetaTrader 5 Open Positions to a Live-Refreshing HTML Dashboard".

Exporting MetaTrader 5 Open Positions to a Live-Refreshing HTML Dashboard

The article builds an MQL5 Expert Advisor that writes a self-refreshing HTML positions dashboard to MQL5/Files on every tick, so you can monitor open trades in any browser. It covers reading live position data, generating a complete page with inline CSS and a JavaScript reload timer, and writing the file atomically. The design escapes HTML in comments, shows an explicit empty state, and writes a clear offline page on EA shutdown.

The most downloaded free products:

Bestsellers in the Market:

9 new topics on forum:

and 6 more...
There are more than 55,380 products available in Market

20 new signals now available for subscription:

ActInvest IC MARKETS
490% 17540 trades
Growth:489.68%
Equity:103,682.42EUR
Balance:125,752.59EUR
Gold Reaper V4 small balance
226% 296 trades
Growth:225.68%
Equity:613.05EUR
Balance:613.05EUR
PsiqueTrader
150% 482 trades
Growth:149.83%
Equity:7,494.80BRL
Balance:7,494.80BRL
and 17 more...

The most popular forum topics:

New publications in CodeBase

  • Relative Moving Average EA An MQL5 implementation of all four cross-strategies from Bloch's Relative Moving Average framework, with his Adaptive Crossover Exit switching rules by volatility regime. Entries and exits are taken in fractile space, so thresholds mean the same thing on every symbol.
  • Relative Moving Average Indicator A faithful MQL5 port of Daniel Bloch's Relative Moving Average framework. It ranks the current close inside its own window's distribution on a [0, 1] scale comparable across symbols, publishing the fractiles, regime classification, and directional consistency as readable buffers.
  • Trading Panel EA Pro Manager is an all-in-one MT5 trading assistant built for prop firm and professional traders. Execute trades faster, manage positions smarter, control risk efficiently, and automate daily trading tasks with powerful tools such as Break-even, Average TP, Magic Number management, and Auto Grid.
There are more than 12,200 codes published in Codebase
There are more than 3,160 articles published on site

Published article "Where should your stop-loss really sit? An MAE/MFE excursion analyzer in MQL5".

Where should your stop-loss really sit? An MAE/MFE excursion analyzer in MQL5

Stop-loss and take-profit placement is usually the least-measured decision in a trading system. This Expert Advisor reads your closed history, replays M1 price between each entry and exit to measure Maximum Adverse and Favorable Excursion per trade, and splits winners from losers. From the distributions and trade efficiency it derives data-driven stop and target levels - measured from your own account, not a rule of thumb. Analysis only; it does not trade.

Published article "Forecasting a Conditional Distribution Using MLP".

Forecasting a Conditional Distribution Using MLP

In this article, we will consider an MLP-based regression model that predicts not only the conditional expectation but also the conditional variance. In other words, we will train our network to predict the entire distribution of future prices based on the input feature vector. But for this purpose we will have to implement our own loss function.

Published article "Symbolic Aggregate Approximation (SAX) in MQL5: Historical Analog Search and Forecasting".

Symbolic Aggregate Approximation (SAX) in MQL5: Historical Analog Search and Forecasting

Symbolic Aggregate approXimation (SAX) encodes price windows as short words to enable fast, sound similarity search on history. We implement SAX in pure MQL5, including Gaussian breakpoints, PAA, and the lower-bounding MINDIST, and validate it with a test harness. An indicator applies a no-lookahead, two-stage search, summarizes forward paths in ATR units, and draws a forecast fan, explicitly indicating when the sample shows no edge.

Published article "Developing a Manual Backtesting Expert Advisor: Additional Features".

Developing a Manual Backtesting Expert Advisor: Additional Features

We enhance the manual backtesting EA with real-time lot adjustment, an order module for buy/sell stops and limits, and a Trade Manager to modify TP/SL and close positions individually. The article explains control setup with CButton/CBmpButton/CEdit, logic in OnTick, and workarounds for Strategy Tester input constraints. Readers can reuse these components to speed up testing workflows and implement robust trade management.

Published article "CSV Data Analysis (Part 7): Statistical Robustness Testing on MQL5 CSV Exports with Monte Carlo Simulation".

CSV Data Analysis (Part 7): Statistical Robustness Testing on MQL5 CSV Exports with Monte Carlo Simulation

A statistically significant backtest is not proof of a robust edge. This article presents a three-part validation battery in Python that consumes an MQL5 trade-level CSV export. A sign-randomization permutation test evaluates whether the Sortino reflects real directional skill, bootstrap BCa intervals assess metric stability, and Monte Carlo trade-order shuffling tests sequence dependence of drawdowns. The results feed a five-condition framework for deployment decisions.

More than 1000 new charts published:

Chart EURUSD, H4, 2026.07.29 15:06 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, H4
Chart CL-OIL, M5, 2026.07.29 21:45 UTC, Ultima Markets Ltd, MetaTrader 5, Real
CL-OIL, M5
График XAUUSD, M4, 2026.07.29 14:13 UTC, FTMO Global Markets Ltd, MetaTrader 5, Real
XAUUSD, M4

The most downloaded free products:

Bestsellers in the Market:

There are more than 55,300 products available in Market

14 new signals now available for subscription:

Pips High Xau
54% 233 trades
Growth:54.23%
Equity:999.29USD
Balance:999.29USD
OilVector X
52% 35 trades
Growth:52.23%
Equity:1,522.35EUR
Balance:1,522.35EUR
Alpha
25% 298 trades
Growth:24.99%
Equity:682.06USD
Balance:682.06USD
and 11 more...

New publications in CodeBase

  • SniperGold SMC ProPlus (Institutional Smart Money Concepts) SMC chart indicator: market structure (BOS/CHoCH), volume weighted order blocks, multi timeframe FVG, equal highs/lows, liquidity sweeps, premium/discount zones, a 3 time frame bias panel and an optional trade setup readout. Closed bar logic only (no repaint). It draws and alerts, it does not place trades.
  • Clock (Spread) What this indicator does Clock (Spread).mq5 is a MetaTrader 5 chart indicator that displays a small text label in the corner of the chart showing: Countdown timer until the current candle closes (in HH:MM:SS or MM:SS format, depending on timeframe) Current spread (Ask − Bid, in points), shown in parentheses next to the timer. Changelog: Version 2.20: - Spread now colors dynamically based on direction (green = increasing, red = decreasing) - Added configurable inputs for the spread colors
  • Mediana Trendline Draws parallel trend channels (Median, High, Low) on the current chart based on the last two closed candles of up to 7 higher timeframes (MN1, W1, D1, H4, H1, M30, M15), with individually configurable colors and line styles for each timeframe.

5 new topics on forum:

and 2 more...

Published article "Bison Algorithm (BIA)".

Bison Algorithm (BIA)

A new optimization method, the Bison Algorithm (BIA), uses two strategies, inspired by the behavior of bison, for solving continuous problems with a single objective function. The key features of BIA are two fundamental principles borrowed from the behavior of bison: the ability to move dynamically and a defensive strategy.

Published article "Defining your Edge (Part 2): Using Divergence Mapping and a Temporal Fusion Transformer in a Trading Robot".

Defining your Edge (Part 2): Using Divergence Mapping and a Temporal Fusion Transformer in a Trading Robot

In this article we make the case for merging Divergence Mapping with a Temporal Fusion Proxy in a Trading Robot. Rather than depending on lagging price confirmations, the Divergence Mapping's thesis is that acting like a structural sensor can help identify hidden momentum shifts from price action and indicator anomalies. To establish how these anomalies are interpreted over time we use a Temporal Fusion Transformer proxy. This network incorporates historical context to weigh developing trends such that merging it with Divergence Mapping should set us up to spot shifts in accumulation and distribution before price breakouts.

Published article "Mapping the Shape of Price: The Mapper Lens and Cover in MQL5".

Mapping the Shape of Price: The Mapper Lens and Cover in MQL5

The article introduces the Mapper pipeline in MQL5 by implementing the two fundamental components: CTDAMapperFilter (lens) and CTDAMapperCover (overlapping intervals). It explains three lens options—eccentricity, density, and coordinate—plus cover parameters (resolution and gain), and demonstrates how a price point cloud is reduced to one value per point and interval memberships. Readers obtain ready inputs for subsequent clustering and graph construction.

Published article "Building a JSON Trade Report Exporter in Pure MQL5".

Building a JSON Trade Report Exporter in Pure MQL5

A refined MQL5 script exports trade history to a well‑formed JSON file in MQL5/Files/, reconstructing trades from deals by position ID and recovering stop loss and take profit via a two‑pass lookup that falls back closed to the originating order. It includes a dedicated JSON serializer and computes R‑multiple, pip profit, and duration. The result loads cleanly in Python, R, or Excel without custom parsing.

The most downloaded free products:

There are more than 55,210 products available in Market

More than 1000 new charts published:

Gráfico EURUSD, H1, 2026.07.28 04:26 UTC, BenchMark Finance AD, MetaTrader 4, Real
EURUSD, H1
チャート GBPUSD, M15, 2026.07.28 00:58 UTC, FMGP Trading Group Pty Ltd, MetaTrader 4, Demo
GBPUSD, M15
Grafik XAUUSD.pro, M1, 2026.07.28 04:14 UTC, Blanex Ltd., MetaTrader 5, Demo
XAUUSD.pro, M1

Bestsellers in the Market:

New publications in CodeBase

  • Advanced Risk Manager: Auto Suffix Detection Multi Currency Lot Sizer Advanced MQL5 risk management class providing deterministic lot sizing, auto-suffix detection, and cross-currency triangular conversion.
  • Channel Sun Signals Overview Channel Sun Signals plots an adaptive, triangular-weighted moving-average channel (a center line plus an upper and lower band) around price, and marks potential reversal points where price pierces a band and then closes back inside it. It is built on the same "band-break-then-reversal" logic used by classic TMA/CG-style channel indicators, but rewritten natively for MT5 — including its own multi-timeframe engine that does not rely on iCustom() or an external .ex5 file, so the indicator works standalone once compiled.
  • SimpleTradeStats Statistics on closed trades. The indicator shows trading results, filtered by magic number.
  • SteepMA Steep Moving Average Trend EA SteepMA V0.7 is a trend-following EA that uses ‘moving average steepness’ as its core entry criterion. It screens for high-certainty market conditions by quantifying trend strength, and locks in profits through a dynamic stop-loss system that tightens progressively. It also features a built-in SQLite database to ensure full traceability of the entire trading process.(Some code has been omitted to facilitate approval.)

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.

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.

3 new topics on forum:

8 new signals now available for subscription:

Abu Rozak
91% 86 trades
Growth:91.05%
Equity:464.01USD
Balance:464.01USD
Mugi Berkah
48% 78 trades
Growth:48.30%
Equity:515.25USD
Balance:515.25USD
Breakout Trader Pro
25% 196 trades
Growth:25.02%
Equity:1,185.88EUR
Balance:1,178.24EUR
and 5 more...

Published article "Symbolic Price Forecasting Equation Using SymPy".

Symbolic Price Forecasting Equation Using SymPy

The article describes an interesting approach to algorithmic trading based on symbolic mathematical equations instead of traditional machine learning "black boxes". The author demonstrates how to transform opaque neural networks into readable mathematical equations using the SymPy library and polynomial regression, allowing for a full understanding of the logic behind trading decisions. The approach combines the computational power of ML with the transparency of classical methods, giving traders the ability to analyze, adjust, and adapt models in real time.

Published article "Ordinal Pattern Transition Networks in MQL5".

Ordinal Pattern Transition Networks in MQL5

We implement ordinal pattern transition networks in MQL5: a Lehmer-code encoder, a directed network over ordinal price patterns, and three complexity metrics. Two indicators expose a trend-versus-range regime from time-irreversibility and an efficiency gauge from permutation entropy, with a transparent parameter sweep showing how to tune settings on FX data.

Published article "Adaptive Spread Monitoring and Order Gating in MQL5".

Adaptive Spread Monitoring and Order Gating in MQL5

This article presents a distribution-adaptive spread monitor for MQL5 that replaces fixed thresholds with a rolling histogram of each symbol's recent spread. It explains percentile estimation from bins, a four-state GREEN/YELLOW/RED/WARMING classification, and a CCanvas dashboard rendered from real histogram data. You will get a ready workflow for per-symbol order gating and controlled alerting via arm/disarm hysteresis plus cooldown, with a verification script and clear calibration and resolution limits.

More than 1300 new charts published:

Chart EURNZD, M5, 2026.07.26 20:53 UTC, WM Markets Ltd, MetaTrader 4, Real
EURNZD, M5
图表 XAUUSD, M1, 2026.07.27 00:35 UTC, Spiceprop SL Ltd., MetaTrader 5, Real
XAUUSD, M1
图表 USDJPY, H4, 2026.07.26 18:47 UTC, Axiory Global Ltd., MetaTrader 4, Demo
USDJPY, H4

The most downloaded free products:

There are more than 55,100 products available in Market

Bestsellers in the Market:

The most popular forum topics:

12 new signals now available for subscription:

Gold Breakout Bot
294% 43 trades
Growth:294.24%
Equity:536.24USD
Balance:536.24USD
Irukito
224% 2119 trades
Growth:223.99%
Equity:323,990.98USD
Balance:323,990.98USD
Goldfish
136% 83 trades
Growth:136.49%
Equity:2,364.95USD
Balance:2,364.95USD
and 9 more...
There are more than 154,320 topics available on forum

8 new topics on forum:

and 5 more...

Published article "How to Test and Customize Built-in MQL5 Programs: Custom BullishBearish MeetingLines Stoch Expert Advisor".

How to Test and Customize Built-in MQL5 Programs:  Custom BullishBearish MeetingLines Stoch Expert Advisor

We demonstrate a practical customization path for a built-in MetaTrader 5 EA using BullishBearish MeetingLines Stoch. The workflow covers baseline testing in the Strategy Tester, parameter optimization, and code-level changes. Two modifications are implemented: exposing Stochastic thresholds as inputs and adding an optional Moving Average filter to limit counter‑trend signals. The article includes the full modified code for replication.

Published article "Comparing Trade Return Distributions with Mann-Whitney U in MQL5".

Comparing Trade Return Distributions with Mann-Whitney U in MQL5

A native, dependency-free MQL5 implementation of the Mann-Whitney U test for comparing trade returns across two market regimes. It details rank calculation, tie correction, and a normal-approximation p-value, and pairs the test with a CCanvas box-and-whisker chart and a trade-history extraction script. A verification script is included, and the limits of the normal approximation and independence assumptions are clearly stated for informed use.

The most downloaded free products:

1...121314151617181920212223242526...691