The most downloaded free products:
Bestsellers in the Market:
Published article "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".

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".

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) 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".

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:
Bestsellers in the Market:
The most popular forum topics:
- Testing the "Block user" feature 27 new comments
- How to ignore friend requests effectively 13 new comments
- Dealing with spam in PMs 8 new comments
New publications in CodeBase
- Institutional Kinematic Price Physics (Velocity and Acceleration) A quantitative physics engine that applies differential calculus to price action, extracting true Market Velocity (1st Derivative) and Market Acceleration (2nd Derivative) to predict trend exhaustion before it happens.
- Script Account Information This script will display all account information.
Published article "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:
Bestsellers in the Market:
Published article "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".

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".

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:
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?
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
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.
20 new signals now available for subscription:
| Growth: | 177.55 | % |
| Equity: | 6,390.83 | EUR |
| Balance: | 6,217.08 | EUR |
Published article "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 Institutional MACD is an advanced indicator designed for traders looking to trade in tune with smart money. Unlike the standard MACD, which processes each tick or candle close without distinction, 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".

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".

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:
The most popular forum topics:
- AlgoForge -> IDE error 21 new comments
- Having friends on MQL5: The positives 15 new comments
- good advice on choosing a broker 11 new comments
Published article "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.





























