Published article "CAPM Model Indicator for the Forex Market".

Adaptation of the classical CAPM model for the Forex currency market in MQL5. The indicator calculates expected return and risk premium based on historical volatility. The indicators rise at peaks and bottoms, reflecting the fundamental principles of pricing. Practical application for counter-trend and trend-following strategies, taking into account the dynamics of the risk-reward ratio in real time. The article includes mathematical apparatus and technical implementation.
Published article "Trading Options Without Options (Part 1): Basic Theory and Emulation Through Underlying Assets".

The article describes a variant of options emulation through an underlying asset implemented in the MQL5 programming language. The pros and cons of the chosen approach are compared with real exchange options using the example of the FORTS futures market of the MOEX Moscow exchange and the Bybit crypto exchange.
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.
- 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.
- Sniper Pro Multi-timeframe confluence indicator designed to snipe accurate entries. Inspired from TradingView
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.
Published article "File-Based Versioning of EA Parameters in MQL5".

This article explains how to implement parameter versioning in MQL5 using binary files and packed structures. It shows how to write and read fixed-size records with FileWriteStruct and FileReadStruct in FILE_BIN mode, including version numbers, timestamps, and a checksum. You will also see how to detect changes via checksums, append records safely, and load the latest configuration without overwriting prior settings.
Published article "Building a Trade Analytics System (Part 2): How to Capture Closed Trades and Send JSON in MQL5".

We build a lightweight bridge that captures closed trades in MetaTrader 5 and sends them to an external backend over HTTP as JSON. It uses OnTradeTransaction for event detection, reads details from deal history, assembles a JSON payload, and posts it via WebRequest. A local Flask API is used to test the flow, delivering a working path to move trade data outside the terminal.
Published article "Automating Trading Strategies in MQL5 (Part 48): Order Blocks, Inducement, Break of Structure".

We implement an MQL5 expert advisor that detects order blocks formed after consolidation breakouts and confirms them with fair value gaps. Each zone is validated by a break of structure and a preceding inducement, then filtered by the higher-timeframe trend. The program adds mitigation tracking, risk-based lot sizing, and two trailing stop modes, providing clear on-chart visuals and backtest-ready trade execution logic.
Published article "Using the MQL5 Economic Calendar for News Filter (Part 4): Accurate Backtesting with Static Data".

This article implements a static, CSV-based news source for the Strategy Tester, so historical economic news events can be preloaded and queried during backtesting. It replaces live calendar calls in tester mode with a fast in-memory search, preserves the live logic for trading, and delivers deterministic, repeatable results with explicit control over included events, enabling reliable validation of news-aware filters, stop suspension, and trade-blocking rules.
Published article "Neural Networks in Trading: Detecting Anomalies in the Frequency Domain (CATCH)".

The CATCH framework combines Fourier transform and frequency patching to accurately identify market anomalies beyond the reach of traditional methods. Let us examine how this approach reveals hidden patterns in financial data.
The most downloaded free products:
The most popular forum topics:
- MetaTrader 5 Platform Update Build 5830: General Improvements 20 new comments
- latest MT5 update bug? 19 new comments
- Which code replicates the double-click over the Y axis in fix-scale mode? 11 new comments
Bestsellers in the Market:
Published article "Neural Networks in Trading: Adaptive Detection of Market Anomalies (Final Part)".

We continue to build the algorithms that form the basis of the DADA framework, which is an advanced tool for detecting anomalies in time series. This approach enables effective distinguishing random fluctuations from significant deviations. Unlike classical methods, DADA dynamically adapts to different data types, choosing the optimal compression level in each specific case.
Published article "Deterministic Oscillatory Search (DOS)".

Deterministic Oscillatory Search (DOS) algorithm is an innovative global optimization method that combines the advantages of gradient and swarm algorithms without the use of random numbers. The fitness oscillation and slope mechanism allows DOS to explore complex search spaces in a deterministic manner.
Published article "From Novice to Expert: Automating Base-Candle Geometry for Liquidity Zones in MQL5".

This article implements an MQL5 module that analyzes the lower‑timeframe bars inside each liquidity‑zone base candle. It detects swing points and applies objective rules to classify the internal structure as an ascending, descending, or symmetrical triangle; a rectangle; M; W; or undefined. The indicator displays geometry labels on the chart and adds the pattern to alerts, reducing manual lower‑timeframe inspection.
Published article "Engineering Trading Discipline into Code (Part 4): Enforcing Trading Hours and News Disabling in MQL5".

An MQL5 control system that blocks orders outside scheduled trading hours and during scheduled news releases, converting time rules into executable restrictions. It combines a permissions management mechanism, a transaction-level expert advisor, and a visual dashboard for real-time status and upcoming restrictions. Configuration is accomplished using editable files, with caching and a CSV audit log for traceability.
Published article "MQL5 Trading Tools (Part 28): Filling Sweep Polygons for Butterfly Curve in MQL5".

We expand the capabilities of the MetaTrader 5 butterfly curve canvas by adding multi-layered wing fills, vein lines, scale dots, and a full body (abdomen, thorax, head, eyes, antennae). This article implements polygon fills with vertical and radial gradients, as well as filled circles and ellipses, all using supersampling antialiasing. You will also receive reusable MQL5 helper functions and a rendering order that transforms a simple curve into a customizable, detailed chart illustration.
Published article "MetaTrader 5 Machine Learning Blueprint (Part 13): Implementing Bet Sizing in MQL5".

We build a production MQL5 bet‑sizing toolkit: utilities, snippets, and user‑level functions that mirror the Python originals. The methods cover probability‑to‑size mapping with overlap correction, dynamic forecast‑price sizing (calibrated sigmoid/power with limit price), occupancy‑based budgeting, and mixture‑model reserve sizing (EF3M). The result is a signed [−1, ..., 1] position plus diagnostics you can plug directly into order logic.
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this week
- Machine Learning Supertrend A machine-learning inspired approach towards trending regimes. Providing accurate signals and backtest confidence built-in
- 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.
Most read articles this week

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.
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- Super Trend The Supertrend indicator plots an ATR-based dynamic trend line on the MetaTrader 5 chart, switching between a green uptrend and red downtrend line with optional buy/sell arrow signals at every trend reversal.
- ASQ Order Executor ASQ Order Executor — Institutional order execution wrapper for MQL5 EAs ASQ Order Executor provides institutional-grade order execution with automatic retry logic, slippage monitoring, partial fill handling, requote management, and comprehensive execution statistics. Drop it into any EA for production-ready trade execution.
- Advanced Trade History Exporter: MAE, MFE and Time-Based Excursions (Points) Utility script that exports your MetaTrader 5 trading history to a CSV file. It automatically calculates Maximum Favorable Excursion (MFE), Maximum Adverse Excursion (MAE), and Forward Returns (Time-Based Excursions) in whole points for deep quantitative analysis in Excel. It will allow you to understand whether you close your trades too early and can help optimize overall trading execution.
The most popular forum topics:
- Get in touch with developers using Service Desk! 16 new comments
- If you had to choose ONE, what defines a good EA? 11 new comments
- Is "while(!IsStopped())" expected to work on Indicators? 9 new comments
The most downloaded free products:
New publications in CodeBase
- Frontend EA : UI cleanup + quick-trading layer for MT5 A chart-cleanup + quick-trading layer for MT5
- Calculate Lot Percent Function for lot calculation from deposit percentage
- XANDER Gold Recovery Keltner Channel strategy for XAUUSD with optional Progressive Recovery System and basket level risk control. Source code for educational purposes.






























