Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

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.

The most popular forum topics:

New publications in CodeBase

  • Real-Time Spread Monitor with Session Statistics Displays the current bid-ask spread in points and pips directly on the chart, with live tracking of session minimum, maximum and average spread since the indicator was attached. Color changes to alert when spread exceeds a user-defined threshold.
  • XAUUSD Spread Alert Utility MT5 Educational MT5 chart utility that monitors XAUUSD spread on the chart and alerts when spread rises above user-defined warning or danger levels.
  • Gold Spread ATR Trend Panel MT5 Educational MT5 chart panel for XAUUSD showing live spread, ATR volatility, EMA trend bias, RSI condition, daily range and active trading session.

8 new topics on forum:

and 5 more...

Published article "Engineering Trading Discipline into Code (Part 6): Building a Unified Discipline Framework in MQL5".

Engineering Trading Discipline into Code (Part 6): Building a Unified Discipline Framework in MQL5

The article introduces a unified MQL5 discipline framework that consolidates the symbol whitelist, trading‑hours and news filters, and daily trade‑limit modules under CDisciplineEngine.mqh. It explains centralized trade validation and state synchronization shared by a chart dashboard and an enforcement Expert Advisor. Readers learn how to authorize orders through a single gate, monitor permissions in real time, and automatically enforce rules across the terminal.

Published article "Market Microstructure in MQL5 (Part 2): Measuring long memory in MQL5 with Hurst estimators".

Market Microstructure in MQL5 (Part 2): Measuring long memory in MQL5 with Hurst estimators

Part 2 focuses on practical long-memory detection for intraday data. Three complementary Hurst estimators are implemented and combined into a confidence‑weighted composite, with confidence tied to valid regression scales. The final H and confidence populate the shared analysis struct, enabling indicators to act only when H departs from the neutral 0.40–0.60 band and to select trend‑following above 0.60 or mean‑reversion below 0.40.

Published article "Building a Trade Analytics System (Part 4): Summary Metrics and Dashboard".

Building a Trade Analytics System (Part 4): Summary Metrics and Dashboard

This article extends the existing Flask backend to compute performance analytics from stored MetaTrader 5 closed trades and deliver them as both JSON and a simple web view. It calculates total trades, total profit, win rate, average profit, and trade duration metrics, returning JSON at /api/v1/analytics/summary and rendering a dashboard at /api/v1. The result provides a quick, consistent way to review trading performance from persisted SQLite records.

Published article "Evaluating the Quality of Forex Spread Trading Based on Seasonal Factors in MetaTrader 5".

Evaluating the Quality of Forex Spread Trading Based on Seasonal Factors in MetaTrader 5

The article examines the quality of a seasonal trading approach on a daily timeframe, both for individual symbols and for spreads. Particular attention is paid to identifying recurring monthly cycles and the possibilities of their application in trading within the current year.

The most downloaded free products:

There are more than 50,000 products available in Market

Most downloaded source codes this week

  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Ideal for ProCent accounts. Includes Daily Profit Target and Max Drawdown protection.
  • Precision Sniper Precision Sniper is a multi-confluence MT5 indicator inspired by TradingView's top signal tools, grading every buy/sell signal (A+, A, B, C) based on EMA structure, RSI, MACD, ADX, VWAP, and volume alignment, with 8 presets, HTF bias confirmation, auto TP/SL levels, trailing stop, and a built-in backtest dashboard.
  • Machine Learning Supertrend A machine-learning inspired approach towards trending regimes. Providing accurate signals and backtest confidence built-in

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.

Bestsellers in the Market:

12 new signals now available for subscription:

GoldBull BookBit
93% 415 trades
Growth:92.73%
Equity:1,126.70USD
Balance:1,126.70USD
SAFE HAVEN MT5 GOLD XAUUSD AND FX
64% 250 trades
Growth:63.53%
Equity:22,502.58USD
Balance:22,502.58USD
EastMonkey
58% 611 trades
Growth:58.38%
Equity:4,464.32USD
Balance:4,740.30USD
and 9 more...

4 new topics on forum:

and 1 more...

The most downloaded free products:

There are more than 49,910 products available in Market

Bestsellers in the Market:

11 new signals now available for subscription:

Gandoza Pro Trader Ultima
987% 426 trades
Growth:986.87%
Equity:624.20USD
Balance:624.20USD
NABUNG BTC
214% 62 trades
Growth:214.27%
Equity:108.81USD
Balance:108.81USD
El Ocelote
201% 1186 trades
Growth:200.52%
Equity:5,115.15USD
Balance:5,133.37USD
and 8 more...

New publications in CodeBase

  • SetSLByLoss - set Stop Loss on all open positions by target loss amount Script to set Stop Loss on every open position based on a target loss in the account's currency (e.g. $50 per position). Works on any deposit currency and any forex symbol. Validates broker stops/freeze levels. Currency conversion handled automatically.
  • TickValue_Compare - diagnose differences between TICK_VALUE, LOSS and PROFIT Diagnostic script that compares SYMBOL_TRADE_TICK_VALUE, SYMBOL_TRADE_TICK_VALUE_LOSS and SYMBOL_TRADE_TICK_VALUE_PROFIT for every symbol in Market Watch. Classifies each symbol into one of four categories (ALL_EQUAL, TV_MATCHES_PROFIT, TV_MATCHES_LOSS, ALL_DIFFER) and provides an aggregated summary plus interpretation tip. Useful for verifying which tick-value property to rely on when implementing risk-based lot sizing in EAs. Exports full per-symbol report to CSV in MQL5/Files.
There are more than 12,090 codes published in Codebase

4 new topics on forum:

and 1 more...

The most downloaded free products:

Bestsellers in the Market:

There are more than 49,830 products available in Market

The most popular forum topics:

New publications in CodeBase

  • Heiken ashi as series Heiken ashi with all buffers set as series
  • TransactionCostCollector — Broker Cost Profiling Script Triple-barrier labeling pipelines frequently use an arbitrary constant (0.5–1.0%) or a legacy spread assumption as the min_ret threshold. A threshold set below the actual round-trip transaction cost causes the pipeline to label cost-driven noise as tradeable signal. The labeled dataset then systematically overstates edge, and any model trained on those labels overfits to an artifact of the labeling scheme rather than to genuine market structure. TransactionCostCollector.mq5 is a standalone script that resolves the data-collection step of this problem.
There are more than 153,650 topics available on forum

6 new topics on forum:

and 3 more...

Published article "From "Best Pass" to Robust Solutions: Exploring the Optimization Surface in MetaTrader 5".

From "Best Pass" to Robust Solutions: Exploring the Optimization Surface in MetaTrader 5

The article examines an engineering approach to optimizing an Expert Advisor in MetaTrader 5: from collecting custom metrics through Optimization Frames to parameter surface analysis. A simple event-driven EMA/RSI model demonstrates CSV export, smoothing, and local stability assessment in Python. The goal is to find stable areas of configurations and validate them with forward optimization for reliable implementation.

3 new signals now available for subscription:

US2000 Missile Test XXI
61% 4597 trades
Growth:60.64%
Equity:153.80EUR
Balance:153.96EUR
AutoAce_IC
12% 222 trades
Growth:11.71%
Equity:2,730.94USD
Balance:3,009.54USD
Delpi98
-38% 103 trades
Growth:-38.04%
Equity:786.08USD
Balance:775.26USD

The most downloaded free products:

Bestsellers in the Market:

There are more than 49,770 products available in Market

More than 300 new charts published:

Chart USDJPYb, M2, 2026.05.20 17:48 UTC, HF Markets (SV) Ltd., MetaTrader 4, Demo
USDJPYb, M2
Chart XAUUSDs, H4, 2026.05.19 11:26 UTC, CXM Direct LLC, MetaTrader 5, Real
XAUUSDs, H4
Chart GBPJPY, H4, 2026.05.21 00:39 UTC, FundedNext Ltd, MetaTrader 5, Real
GBPJPY, H4

13 new signals now available for subscription:

LP L100001 15XCDW 7P5XCL2 LPNB LPPS SA
98% 807 trades
Growth:97.59%
Equity:9,109.57USD
Balance:19,759.28USD
ROBO 41
47% 225 trades
Growth:47.02%
Equity:1,362.63USD
Balance:1,362.63USD
NRTrading
45% 440 trades
Growth:44.81%
Equity:5,792.60USD
Balance:7,740.37USD
and 10 more...

6 new topics on forum:

and 3 more...

New publications in CodeBase

There are more than 2,880 articles published on site

Published article "MetaTrader 5: Build a Market to Suit Your Strategy — Renko/Range/Volume, Synthetics, and Stress Tests on Custom Symbols".

MetaTrader 5: Build a Market to Suit Your Strategy — Renko/Range/Volume, Synthetics, and Stress Tests on Custom Symbols

In this article, we demonstrate how to use API of the MetaTrader 5 custom symbols to transform your terminal into a data constructor for generating timeless Renko, Range, and Equal-Volume charts and assembling synthetic instruments. We will analyze tick aggregation and history modification for stress tests (spread widening, stop level changes) taking into account platform limitations. Besides, you will get some practice of handling CiCustomSymbol and routing orders to a real symbol through the CustomOrder wrapper with ready-made code fragments.

Published article "MQL5 Trading Tools (Part 32): Crosshair, Magnifier, and Measure Mode".

MQL5 Trading Tools (Part 32): Crosshair, Magnifier, and Measure Mode

In this article, we extend the Tools Palette with a precision crosshair for MQL5 charts: reticle tick marks, full-width and full-height lines with axis labels, and a circular magnifier that renders zoomed candles. A double-click measure mode adds anchor markers, a diagonal connector, and a floating label with bars, pips, and price difference. Implementation details include a crosshair manager, eleven canvas layers, Bresenham line drawing, and theme-aware behavior that hides near the sidebar and fly out.

Published article "The MQL5 Standard Library Explorer (Part 12): Multi-Timeframe Composite-Score Dashboard".

The MQL5 Standard Library Explorer (Part 12): Multi-Timeframe Composite-Score Dashboard

The article implements CMultiTimeframeMatrix, a reusable dashboard that maps symbols vs. timeframes and displays a numeric, colour‑coded score. The score combines trend, momentum, and volatility, updates by timer, and respects performance constraints. You will learn how to build the UI with CAppDialog/CLabel, compute metrics via CMatrixDouble, and embed the component into a thin EA for a consistent, real-time overview.

Published article "Beyond GARCH (Part III): Building the MMAR and the Verdict".

Beyond GARCH (Part III): Building the MMAR and the Verdict

With the multifractal parameters from Part 2 in hand, this article builds the full MMAR process. We construct the multiplicative cascade for trading time, generate Fractional Brownian Motion via Davies-Harte FFT, and combine both into X(t) = B_H[theta(t)]. A 100-path Monte Carlo simulation produces the volatility forecast, which we then pit against GARCH on the same EURUSD M5 data. Does Mandelbrot's fractal architecture outforecast Engle's conditional variance framework? Part 3 of a eight-part series leading to a native MQL5 library and Expert Advisor.

Published article "Price Action Analysis Toolkit Development (Part 69): Flag Pattern Detection in MQL5".

Price Action Analysis Toolkit Development (Part 69): Flag Pattern Detection in MQL5

This article shows how to convert subjective flag recognition into reproducible MQL5 logic for live charts. It combines ATR-normalized pole strength, retracement limits, consolidation structure checks, breakout confirmation, and overlap control. Readers gain a workable approach that renders adaptive channels and zones, updates active setups efficiently, and provides optional alerts for newly confirmed patterns.

The most downloaded free products:

6 new topics on forum:

and 3 more...

Bestsellers in the Market:

There are more than 49,690 products available in Market

11 new signals now available for subscription:

IC 743
517% 686 trades
Growth:517.07%
Equity:1,314.65USD
Balance:1,314.82USD
MACROFXSINAIS
183% 4523 trades
Growth:182.70%
Equity:82,226.73USD
Balance:82,226.73USD
Stable Growth 2
167% 2541 trades
Growth:166.96%
Equity:9,188.12USD
Balance:9,324.61USD
and 8 more...

Published article "MetaTrader 5 Machine Learning Blueprint (Part 16): Nested CV for Unbiased Evaluation".

MetaTrader 5 Machine Learning Blueprint (Part 16): Nested CV for Unbiased Evaluation

The article presents a V-in-V nested cross-validation pipeline for financial data that breaks leakage at three decision points: hyperparameter search, calibration, and final evaluation. A temporal three‑zone split isolates an inner walk‑forward search with the 1‑SE rule from an outer walk‑forward or CPCV evaluation, while OOF isotonic calibration is fitted independently. The resulting UnifiedValidationCalibrator delivers unbiased out‑of‑sample scores and well‑calibrated probabilities for deployment.

Published article "MQL5 Wizard Techniques you should know (Part 90): Fenwick Tree Money Management with 1D CNN in MQL5".

MQL5 Wizard Techniques you should know (Part 90): Fenwick Tree Money Management with 1D CNN in MQL5

This article implements a Fenwick Tree (Binary Indexed Tree) for volume-aware money management inside an MQL5 Wizard Expert Advisor. We structure cumulative volume in O(log n) and apply four scaling modes—linear, conservative, aggressive, and mean-reversion—optionally gated by a lightweight 1D CNN. Practical tests compare the algorithm alone versus the CNN‑filtered approach to illustrate adaptive lot sizing and risk control under varying volume topologies.

1...202122232425262728293031323334...682