New publications in CodeBase
- RSI Grid EA Pro RSI Grid Overlap Pro is a professional MT5 Expert Advisor combining RSI-based market entries with an adaptive grid recovery system. It features intelligent overlap order management to reduce drawdown, plus virtual trailing stop, breakeven, and three lot sizing modes — fixed, balance-proportional, and risk-based — making it suitable for both conservative and aggressive trading styles.
- ASQ News Filter Economic calendar trading guard library for MetaTrader 5 with live MQL5 Calendar API integration.
- Fibonacci Structure Engine A Market Structure indicator featuring Fibonacci Intelligence to provide accurate Buy/Sell signals.
- Symbol Summary Symbol Summary is an MT5 service that opens a separate viewer window and displays a detailed report for a trading symbol. It supports Russian and English, window resizing, scrolling, and automatic report updates when the watched chart changes symbol or timeframe, without restarting the service.
- Draw on Liquidity DOL Mapper MT4 - ICT Targets Maps all Draw on Liquidity targets: previous day/week/month highs-lows, equal levels, untested FVGs. Shows WHERE price is heading next.
- Breaker Block Detector MT4 - Smart Money ICT Detects breaker blocks — order blocks that failed and flipped polarity. Bullish OB broken down becomes bearish breaker (and vice versa).
Published article "Developing a Multi-Currency Expert Advisor (Part 26): Informer for Trading Instruments".

Before moving forward with the development of multi-currency EAs, let's try to switch to creating a new project using the developed library. This example will demonstrate how to best organize source code storage and how using the new code repository from MetaQuotes can help us.
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this month
- ExMachina SafeScalping ExMachina Safe Scalping is a professional-grade Expert Advisor built for conservative breakout scalping on Gold (XAUUSD), Silver (XAGUSD), and Forex majors.
- Price Action Intraday Trading - Expert for MT5 Price Action Day Trader is a robust, trend-following MQL5 Expert Advisor designed for intraday trading. It focuses on high-probability price action patterns Pin Bars, Engulfing Candles, and Inside Bar Breakouts while filtering trades through a dual Moving Average trend filter.
- MASTER-WINNERFX-Asim Trend based grid Expert Advisor for MetaTrader 5 using EMA and RSI indicators. Dynamic lot size is calculated from account balance with minimum and maximum lot protection. Initial trade opens when price confirms trend direction relative to EMA and RSI levels. Grid orders are added at fixed point distance using controlled multiplier. All trades are managed as a basket and closed at defined profit target or maximum loss level. Includes optional news hour pause and market close filter. No DLL or external services required.
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.

In this article, we demonstrate an easy way to install MetaTrader 4 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.
New publications in CodeBase
- BEC Trade Breakeven Trail Manager BEC is an advanced trade management Expert Advisor designed to automate breakeven, trailing stop, and position control — all from a powerful on-chart dashboard.
- ASQ PropGuard ASQ PropGuard is a real-time prop firm rule monitor for MetaTrader 5. It tracks daily loss limits, maximum drawdown, profit targets, and trading day requirements — all displayed on a dark-themed chart overlay with color-coded progress bars and a live pass/fail verdict.
- Hon Matrix Hon-Matrix is an advanced algorithmic trading system that combines Price Action, Volatility Analysis, and Real-Time News Filtering. Unlike standard "static" EAs, Hon-Matrix utilises a dynamic decision-making engine that identifies the current market phase (Trending vs. Ranging) and switches its entry logic accordingly. It features a professional-grade on-chart dashboard allowing for live parameter adjustments without restarting the EA, making it a powerful tool for both automated prop-firm passing and personal capital growth.
- Institutional K-Means Machine Learning Liquidity Clusters An unsupervised machine learning indicator that applies the K-Means clustering algorithm to historical price action, mathematically detecting and plotting the true institutional liquidity pools without human bias.
Published article "Building a Correlation-Aware Multi-EA Portfolio Scorer in MQL5".

Most algo traders optimize Expert Advisors individually but never measure how they behave together on a single account. Correlated strategies amplify drawdowns instead of reducing them, and coverage gaps leave portfolios blind during entire trading sessions. This article builds a complete portfolio scorer in MQL5 that reads daily P&L from backtest CSV files, computes a full Pearson correlation matrix, maps trading activity by hour and weekday, evaluates asset class diversity, and outputs a composite grade from A+ to F. All source code is included; no external libraries are required.
Published article "Predicting Renko Bars with CatBoost AI".

How to use Renko bars with AI? Let's look at Renko trading on Forex with forecast accuracy of up to 59.27%. We will explore the benefits of Renko bars for filtering market noise, learn why volume is more important than price patterns, and how to set the optimal Renko block size for EURUSD. This is a step-by-step guide on integrating CatBoost, Python, and MetaTrader 5 to create your own Renko Forex forecasting system. It is ideal for traders looking to go beyond traditional technical analysis.
The most downloaded free products:
Bestsellers in the Market:
The most popular forum topics:
New publications in CodeBase
- HTF Reversal Divergences A multi timeframe indicator which features RSI divergence. + Buy/Sell signals Inspired from trading view.
- Hon APS Advanced Pattern Scanner with DOM and News Integration Hon-APS (Advanced Pattern Scanner) is a sophisticated, open-source Expert Advisor for MT5. Unlike typical retail bots relying on lagging indicators, Hon-APS trades structural breakouts backed by quantitative Order Flow algorithms. It actively scans for classical chart patterns (e.g., Head & Shoulders, Bottoms, Triangles) and validates entries using L2 Order Book absorption and bid/ask imbalances. Complete with a polished on-chart UI, true Kelly Criterion risk management, and a robust macroeconomic news scraper, it's designed for prop-firm viability and high-end capital preservation.
- ATR Based Stop Loss Manager A comprehensive stop-loss and trade management module offering multiple stop-loss methods (Fixed Pips, ATR-based, Swing High/Low, and Percentage) and trailing stop options (Fixed, ATR, Step, and Breakeven). It includes automatic broker stop-level adjustment, risk-reward–based take profit calculation, and visual stop-loss lines on the chart. The code follows a clean, structured architecture with a dedicated `CStopLossManager` class, standardized enums and structures, and fully documented English comments for clarity and maintainability.
- KSQ CommandCenter Remote Google Sheets Trade Manager KSQ Command Centre is a production-ready, two-way bridge between MetaTrader 5 and Google Sheets. It was originally designed to help fund managers and quantitative traders remotely monitor and manage large, funded accounts (e.g., Darwinex Zero, Prop Firms, PAM, MAM) directly from a mobile browser, without needing to log in to a VPS. This Expert Advisor not only exports data—it actively listens for commands typed into your Google Sheet and executes them in MT5 in near real-time.
- ASQ Command Desk ASQ CommandDesk is a professional order management panel for manual traders on MetaTrader 5. You make the trading decisions — CommandDesk handles execution, risk control, and exit management automatically.
- ASQ Candle Scanner On-chart candle analysis indicator with structure tags, sentiment, and trend arrows for MetaTrader 5.
- Institutional Fractal Dimension Index (Regime Detector) An advanced quantitative filter based on Chaos Theory and fractal geometry, it calculates the intrinsic dimensionality of the price curve to instantly classify market regimes into trending or mean-reverting states.
Published article "One-Dimensional Singular Spectrum Analysis".

The article examines the theoretical and practical aspects of the singular spectrum analysis (SSA) method, which is an efficient method of time series analysis that allows one to represent the complex structure of a series as a decomposition into simple components, such as trend, seasonal (periodic) fluctuations and noise.
Published article "MetaTrader 5 Machine Learning Blueprint (Part 11): Kelly Criterion, Prop Firm Integration, and CPCV Dynamic Backtesting".

The bet-sizing signal from Part 10 is concurrency-corrected but carries no payoff-ratio adjustment, no response to a hard drawdown budget, and no validation across combinatorial paths. This article covers three additions: a two-stage architecture in which a Kelly payoff multiplier is applied on top of get_signal, preserving the concurrency correction while incorporating win/loss asymmetry; a prop firm integration layer that calibrates the sigmoid w parameter continuously from the remaining drawdown budget under FundedNext Stellar 2-Step rules; and a CPCV backtest framework that simulates a fresh account state across all φ[N, k] paths, producing a Sharpe distribution and a PBO audit.
Published article "Low-Frequency Quantitative Strategies in Metatrader 5: (Part 2) Backtesting a Lead/Lag Analysis in SQL and in Metatrader 5".

The article describes a complete pipeline that uses data analysis for finding low-frequency lead/lag trading opportunities. It goes into building a cross-correlation-based Lead/Lag analyser step-by-step, with special attention to the most common errors beginners may commit while developing cross-asset diffusion queries. After screening dozens of cointegrated and correlated pairs, a trading candidate pair is chosen, and its tradeability is evaluated in a pure SQL backtest. Once it is qualified, the strategy is backtested on the MetaTester for parameter optimization. The Expert Advisor with respective backtest settings and optimization inputs is provided, along with Python and SQL scripts.
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this week
- Sniper Pro Multi-timeframe confluence indicator designed to snipe accurate entries. Inspired from TradingView
- ASQ Safe Scalping v1.20 A free, open-source breakout scalping Expert Advisor for MetaTrader 5 by AlgoSphere Quant. It implements a strict seven-condition entry system where every condition must align simultaneously before any trade is taken.
- Pro MA Crossover EA for MT5 - Free Source Code and Template This EA serves as a template for traders interested in automating strategies in MT5. It implements a Moving Average crossover system and can be used as-is or customized by adjusting its settings. The free source code is designed to be easily modified for adding new indicators, logic, and trading features.
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.
New publications in CodeBase
- Imbalance Finder (FVG) Imbalance Finder is an MT5 indicator that automatically detects bullish and bearish Fair Value Gaps (FVGs) and tracks whether each imbalance remains active, gets tapped, or becomes fully filled. It draws clear chart zones in real time, helps traders identify potential support and resistance areas, and also provides data buffers for Expert Advisors and automated strategies.
- ASQ PropFirm Shield Institutional prop firm protection library for MetaTrader 5.
- ASQ Recovery Engine Intelligent anti-tilt risk management library for MetaTrader 5.
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- 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.
- ASQ Telegram Notifier Professional Telegram integration library for MetaTrader 5 EAs.
- ASQ Trade Frequency Controller Runtime trade frequency adjustment library for MetaTrader 5.
- ASQ Risk Analytics Engine Institutional risk analysis library for MetaTrader 5. Zero external dependencies. Pure MQL5 mathematics.
- ASQ Indicator Manager Centralized indicator handle management library for MetaTrader 5 EAs.
- Pivot point Line to change direction
- KSQ Fair Value Gap EA FVG with Regime Detection and Dual SL TP Mode KSQ Fair Value Gap EA automatically trades institutional FVG zones with built-in regime detection to filter out low-quality setups in ranging markets. STRATEGY Detects 3-bar bullish and bearish FVG patterns. Enters on confirmed pullbacks into the zone. Each FVG fires once only. REGIME FILTER EMA trend bias, ADX strength filter, or both combined. Configurable higher timeframe (M15–D1). SL & TP Both support ATR-based or fixed-points mode, set independently. LOT SIZING Fixed lot or % risk-based — switchable from inputs. TRADE MANAGEMENT Break-even stop, partial close, and ATR/points trailing stop. RISK PROTECTION Daily and total drawdown kill switches. Max trades per direction cap. Session time filter. It's not yet optimised for any pair
- BarStats Indicator – Lightweight, EA-friendly MT5 Tool MT5 indicator showing bar index, price difference in points, and percentage change. Ideal for EA integration and fast analysis.
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- ASQ NeuralNet Pure MQL5 Neural Network Library Complete deep learning library in pure MQL5. Build, train and deploy neural networks natively in MetaTrader 5. No DLLs, no Python, no external APIs.
- Fair Value Gap FVG MT5 Detects and draws Fair Value Gaps (price imbalances) on your chart — a core concept in ICT/Smart Money methodology. Tracks when price returns to fill the gap.
- Trade Journal CSV Export Script MT4 Exports your complete trade history to a CSV file with comprehensive performance statistics. Ready to import into Excel or Google Sheets for detailed analysis.
Published article "Market Simulation (Part 20): First steps with SQL (III)".

Although we can perform operations on a database containing about 10 records, the material is absorbed much better when we work with a file that contains more than 15 thousand records. That is, if we tried to create such a database manually, this task would be enormous. However, it is difficult to find such a database, even for educational purposes, that is available for download. But in reality, we don’t need to resort to that — we can use MetaTrader 5 to create a database for ourselves. In today's article, we will look at how to do this.






























