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.

4 new topics on forum:

and 1 more...

22 new signals now available for subscription:

DINOTRADER9K
243% 447 trades
Growth:243.27%
Equity:10,150.55EUR
Balance:10,249.71EUR
AdamCode Algo XAU Controlled Risk
160% 636 trades
Growth:159.67%
Equity:5,193.42USD
Balance:5,193.42USD
Invictus X V3
108% 327 trades
Growth:107.87%
Equity:733.17USD
Balance:733.17USD
and 19 more...

Published article "Adaptive Malaysian Engulfing Indicator (Part 2): Optimized Retest Bar Range".

Adaptive Malaysian Engulfing Indicator (Part 2): Optimized Retest Bar Range

The article adds a self-adaptive layer to the Malaysian Engulfing indicator by optimizing the retest bar range with a constrained brute-force search scored by MFE and MAE. It details the data model, helper routines, and an MQL5 implementation that gathers historical setups, computes excursions, and selects the best parameter. Readers learn how to remove manual tuning and run the indicator with context-appropriate settings across symbols and timeframes.

Published article "Building a Trade Analytics System (Part 3): Storing MetaTrader 5 Trades in SQLite".

Building a Trade Analytics System (Part 3): Storing MetaTrader 5 Trades in SQLite

This article extends a Flask backend to reliably receive, validate, and store closed trade data from MetaTrader 5 using SQLite and Flask‑SQLAlchemy. It implements required‑field checks, timestamp conversion, transaction‑safe persistence, and working retrieval endpoints for all trades and single records, plus a basic summary. The result is a complete data pipeline with local testing that records trades and exposes them through a structured API for further analysis.

Published article "Manual Backtesting with On-Chart Buttons in the MetaTrader 5 Strategy Tester".

Manual Backtesting with On-Chart Buttons in the MetaTrader 5 Strategy Tester

Learn how to build a manual backtesting EA for MetaTrader 5's visual tester by adding chart buttons with CButton, executing orders through CTrade, and filtering positions with a magic number. The article implements Buy/Sell and Close All controls, configurable lot size and initial SL, and a trailing stop via CPositionInfo. You will also see how to load indicators with tester.tpl to validate ideas faster before automation and narrow optimization ranges.

Published article "Biogeography-Based Optimization (BBO)".

Biogeography-Based Optimization (BBO)

Biogeography-Based Optimization (BBO) is an elegant global optimization method inspired by natural processes of species migration between islands within archipelagos. The algorithm is based on a simple yet powerful idea: high-quality solutions actively share their characteristics, while low-quality ones actively adopt new features, creating a natural flow of information from the best solutions to the worst. A unique adaptive mutation operator provides an excellent balance between exploration and exploitation. BBO demonstrates high efficiency on a variety of tasks.

Published article "Leak-Free Multi-Timeframe Engine with Closed-Bar Reads in MQL5".

Leak-Free Multi-Timeframe Engine with Closed-Bar Reads in MQL5

The article presents two systematic pitfalls in MQL5 multi‑timeframe work: indicator handle leaks that exhausted resources and repainting from reading the forming bar (index 0). It introduces MTFEngine.mqh, a unified include that creates and tracks handles in one place and defaults all reads to closed bars (index 1). A D1–H4–H1 example shows how this approach keeps signals technically correct and consistent with charts.

The most downloaded free products:

More than 800 new charts published:

Graphique XAUUSD, D1, 2026.05.13 14:17 UTC, HF Markets SA (Pty) Ltd, MetaTrader 5, Demo
XAUUSD, D1
График XAUUSD, M5, 2026.05.13 14:23 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
XAUUSD, M5
График XAG_USD, H1, 2026.05.13 04:01 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAG_USD, H1

16 new signals now available for subscription:

Huihai TrendBreakout
416% 128 trades
Growth:416.47%
Equity:808.08USD
Balance:808.08USD
Golden Chest
382% 2564 trades
Growth:382.33%
Equity:96,465.54USD
Balance:96,465.54USD
DREX CAPITAL from FXGP WMC
65% 254 trades
Growth:65.20%
Equity:2,478.05USD
Balance:2,478.05USD
and 13 more...

Bestsellers in the Market:

There are more than 50,810 products available in Market

12 new topics on forum:

and 9 more...

The most popular forum topics:

New publications in CodeBase

There are more than 2,850 articles published on site

Published article "From Matrices to Models: How to Build an ML Pipeline in MQL5 and Export It to ONNX".

From Matrices to Models: How to Build an ML Pipeline in MQL5 and Export It to ONNX

The article describes the arrangement of a coordinated ML pipeline in MetaTrader 5 with separation of roles: Python trains and exports the model to ONNX, MQL5 reproduces normalization and PCA via matrix/vector and performs inference. This approach makes the model's inputs stable and verifiable, and the MetaTrader 5 strategy tester provides metrics for analyzing the system behavior.

The most downloaded free products:

There are more than 50,730 products available in Market

6 new topics on forum:

and 3 more...

Bestsellers in the Market:

14 new signals now available for subscription:

TTT
309% 1585 trades
Growth:309.07%
Equity:9,690.27USD
Balance:9,916.53USD
BOM
278% 4196 trades
Growth:277.79%
Equity:755.61USD
Balance:755.61USD
InvestFondP2
121% 195 trades
Growth:120.74%
Equity:358.52USD
Balance:358.52USD
and 11 more...

Published article "Gaussian Processes in Machine Learning: Regression Model in MQL5".

Gaussian Processes in Machine Learning: Regression Model in MQL5

We will review the basics of Gaussian processes (GP) as a probabilistic machine learning model and demonstrate its application to regression problems using synthetic data.

New publications in CodeBase

  • Momentum and news impact candles A candlestick chart which colors OHLC candles based on directional price momentum and news impact
  • Inside Bar Automatically detect Inside Bar patterns, draw projection rectangles, and receive real‑time alerts – all in one powerful indicator. Swing And Full Margin trader

Published article "Feature Engineering for ML (Part 3): Session-Aware Time Features for Forex Machine Learning".

Feature Engineering for ML (Part 3): Session-Aware Time Features for Forex Machine Learning

The article addresses the loss of temporal information in ML pipelines by encoding periodic time variables with Fourier harmonics and adding forex session structure. It implements session and overlap flags, lagged session volatility, and calendar effects, then prunes features by timeframe. The get time features function returns an index‑aligned, ML‑ready set of time features suitable for integration with price‑based signals.

Published article "Creating an EMA Crossover Forward Simulation Indicator in MQL5".

Creating an EMA Crossover Forward Simulation Indicator in MQL5

A custom forward simulation engine detects fast/slow EMA crossovers and immediately projects synthetic candles ahead of the signal bar. It generates bodies and wicks using controlled logic, draws them with chart objects, and refreshes on every new signal or anchor change. You get a clear forward-looking view to test timing, visualize scenarios, and manage invalidation on the chart.

The most downloaded free products:

There are more than 50,640 products available in Market

Bestsellers in the Market:

Most downloaded source codes this month

  • 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.
  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Ideal for ProCent accounts. Includes Daily Profit Target and Max Drawdown protection.
  • Smart Money Concepts An indicator which features full Smart Money Concept (SMC) + Break Of Structure (BOS) + Change Of Character (COC) + Fair Value Gap (FVG) Detection and Buy/Sell signals.

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.

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.

More than 600 new charts published:

차트 NZDUSD., H1, 2026.05.12 01:35 UTC, Tradehall Limited, MetaTrader 5, Real
NZDUSD., H1
Gráfico USDJPY, H1, 2026.05.11 23:29 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
USDJPY, H1
График EURUSD, H4, 2026.05.12 15:35 UTC, FXPRO Financial Services Ltd, MetaTrader 4, Demo
EURUSD, H4
There are more than 153,550 topics available on forum

6 new topics on forum:

and 3 more...

14 new signals now available for subscription:

Carro Capital Trader Grid 1
352% 3170 trades
Growth:352.35%
Equity:1,767.42EUR
Balance:2,260.04EUR
CARRO CAPITAL TRADER DIV PORTFOLIO
222% 6440 trades
Growth:221.93%
Equity:7,151.02EUR
Balance:7,212.13EUR
Stable Sky
164% 493 trades
Growth:163.92%
Equity:26,173.57USD
Balance:26,391.94USD
and 11 more...

Published article "Encoding Candlestick Patterns (Part 1): An Alphabetical System for Signal Detection".

Encoding Candlestick Patterns (Part 1): An Alphabetical System for Signal Detection

We present a rule‑based alphabet for candlestick price action that maps measurable shape and direction to letter codes (A/a, H/h, E/e, G/g, D). The article shows an MQL5 implementation: classifying candles, building two‑bar sequences via permutations, and scanning charts with an indicator and alerts. Readers gain a practical template for objective pattern detection and systematic testing.

New publications in CodeBase

  • MACD Institutional MACD Institutional is an advanced indicator designed for traders looking to trade in line with the "smart money". Unlike the standard MACD, which processes every tick or candlestick close indiscriminately, this indicator reconstructs the price structure using a dynamic volume filter before calculating its moving averages.
  • Institutional Kalman Filter (Dynamic True Price Estimator) An aerospace-grade state estimation algorithm that dynamically filters out market noise and manipulation wicks to reveal the true underlying execution price with zero static phase-lag.
  • Aura Heiken Ashi Advanced smoothed Heiken Ashi indicator featuring automated Supply & Demand zones, EMA trend filtering, and multi-indicator momentum confirmation for high-precision trading.

Published article "Exploring Conformal Forecasting of Financial Time Series".

Exploring Conformal Forecasting of Financial Time Series

In this article, we will consider conformal predictions and the MAPIE library that implements them. This approach is one of the most modern ones in machine learning and allows us to focus on risk management for existing diverse machine learning models. Conformal predictions, by themselves, are not a way to find patterns in data. They only determine the degree of confidence of existing models in predicting specific examples and allow filtering for reliable predictions.

Published article "Adaptive Malaysian Engulfing Indicator (Part 1): Pattern Detection and Retest Validation".

Adaptive Malaysian Engulfing Indicator (Part 1): Pattern Detection and Retest Validation

Implement the Malaysian Engulfing concept in MQL5 with two coordinated indicators. One applies strict, body‑based engulfing rules for precise pattern detection; the other uses a state-driven model to monitor what follows—pullbacks and timed retests—directly on the chart. The result is a repeatable, rule-based workflow that replaces visual guesswork with programmable logic.

The most downloaded free products:

Bestsellers in the Market:

There are more than 50,520 products available in Market

17 new signals now available for subscription:

Kaku Highball
1,904% 8764 trades
Growth:1,903.74%
Equity:3,860.57USD
Balance:3,980.12USD
Forex Hexagrid Master
235% 715 trades
Growth:235.19%
Equity:5,626.03BRL
Balance:5,901.27BRL
Airsoft mini
80% 1068 trades
Growth:80.31%
Equity:2,113.96USD
Balance:2,525.05USD
and 14 more...

The most popular forum topics:

Published article "Creating a Custom Tick Chart in MQL5".

Creating a Custom Tick Chart in MQL5

Learn how to implement a tick-based chart in MQL5 where each bar is built from a fixed number of ticks instead of time. The article covers creating and configuring a custom symbol, capturing real-time ticks, forming OHLC values, and pushing data with CustomRatesUpdate. This approach produces activity-driven candles that better reflect market intensity and short-term momentum for precise intraday analysis.

Published article "The MQL5 Standard Library Explorer (Part 11): How to Build a Matrix-Based Market Structure Indicator in MQL5".

The MQL5 Standard Library Explorer (Part 11): How to Build a Matrix-Based Market Structure Indicator in MQL5

Learn to engineer an MQL5 indicator that converts trend, momentum, and volatility into a single raw score using a matrix.mqh (ALGLIB). The article covers a separate‑window oscillator to validate the core mathematics, then a main‑chart indicator that plots non‑repainting buy/sell arrows when the score crosses user‑defined thresholds. An optional long‑term EMA filter, a minimum‑bar cooldown, and built‑in alerts make the tool practical for live trading.

Published article "MetaTrader 5 Machine Learning Blueprint (Part 15): How to Calibrate Profit-Taking and Stop-Loss Targets from Synthetic Data".

MetaTrader 5 Machine Learning Blueprint (Part 15): How to Calibrate Profit-Taking and Stop-Loss Targets from Synthetic Data

This article applies the Optimal Trading Rule from AFML Chapter 13 to set profit targets and stop-losses without in-sample calibration. We model post-entry P&L with a discrete Ornstein–Uhlenbeck process, run a 100,000-path search, and implement Python, multiprocessing, and a Numba @njit parallel kernel (242× faster). The result is an optimal (PT, SL) under three forecast specifications, constrained by the prop-firm daily loss limit.

7 new topics on forum:

and 4 more...

Published article "Event-Driven Architecture in MQL5: How to Turn an Expert Advisor into a Full-Fledged Trading System".

Event-Driven Architecture in MQL5: How to Turn an Expert Advisor into a Full-Fledged Trading System

The article is dedicated to the event-driven architecture in MQL5 and describes the transition from the monolithic OnTick model to distributed processing. We will consider predefined and custom events, services and messaging between programs, as well as common architectural errors. A practical example demonstrates how to organize interactions between indicators and an EA to reduce load, improve readability, and simplify maintenance.

The most downloaded free products:

1...121314151617181920212223242526...677