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.

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.
There are more than 12,020 codes published in Codebase

The most downloaded free products:

There are more than 49,290 products available in Market

Bestsellers in the Market:

18 new signals now available for subscription:

Simple
412% 316 trades
Growth:411.85%
Equity:1,073.68USD
Balance:1,371.41USD
XAUTraderSids
272% 316 trades
Growth:272.03%
Equity:1,537.86USD
Balance:1,537.86USD
CWDT GOLD
228% 261 trades
Growth:228.30%
Equity:2,410.41EUR
Balance:2,410.41EUR
and 15 more...

3 new topics on forum:

More than 200 new charts published:

チャート XAUUSD, M1, 2026.04.02 01:03 UTC, Exness Technologies Ltd, MetaTrader 5, Real
XAUUSD, M1
Chart GBPJPY, H1, 2026.04.02 00:08 UTC, InstaFinance Ltd, MetaTrader 4, Demo
GBPJPY, H1
Chart XAUUSD, M5, 2026.04.03 01:42 UTC, iTrader Global Limited, MetaTrader 5, Demo
XAUUSD, M5

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:

There are more than 49,230 products available in Market

8 new topics on forum:

and 5 more...

Bestsellers in the Market:

13 new signals now available for subscription:

Duichong
129% 13543 trades
Growth:128.66%
Equity:22,869.19USD
Balance:22,865.89USD
Duozhibiao
96% 7958 trades
Growth:95.87%
Equity:14,480.40USD
Balance:14,480.40USD
Yicidan99
91% 4445 trades
Growth:91.23%
Equity:13,887.28USD
Balance:13,916.81USD
and 10 more...

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

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.

Published article "Swing Extremes and Pullbacks in MQL5 (Part 3): Defining Structural Validity Beyond Simple Highs/Lows".

Swing Extremes and Pullbacks in MQL5 (Part 3): Defining Structural Validity Beyond Simple Highs/Lows

This article presents an MQL5 Expert Advisor that upgrades raw swing detection to a rule-based Structural Validation Engine. Swings are confirmed by a break of structure, displacement, liquidity sweeps, or time-based respect, then linked to a liquidity map and a structural state machine. The result is context-aware entries and stops anchored to validated levels, helping filter noise and systematize execution.

Published article "MetaTrader 5 Machine Learning Blueprint (Part 10): Bet Sizing for Financial Machine Learning".

MetaTrader 5 Machine Learning Blueprint (Part 10): Bet Sizing for Financial Machine Learning

Fixed fractions and raw probabilities misallocate risk under overlapping labels and induce overtrading. This article delivers four AFML-compliant sizers: probability-based (z-score → CDF, active-bet averaging, discretization), forecast-price (sigmoid/power with w calibration and limit price), budget-constrained (direction-only), and reserve (mixture-CDF via EF3M). You get a signed, bounded position series with documented conditions of use.

Published article "Market Simulation (Part 19): First Steps with SQL (II)".

Market Simulation (Part 19): First Steps with SQL (II)

As we explained in the first article about SQL, there is no point in spending time programming procedures to do what is already built into SQL. However, without knowing the basics, you won’t be able to do anything with SQL or take full advantage of everything this tool offers. Therefore, in this article, we will look at how to perform basic tasks in databases.

The most downloaded free products:

Bestsellers in the Market:

There are more than 49,130 products available in Market

36 new signals now available for subscription:

GoldTrend 6 XMGlobal Highrisk
334% 748 trades
Growth:333.82%
Equity:6,013.48USD
Balance:6,202.22USD
Rare Pair Mastery
245% 281 trades
Growth:245.36%
Equity:650.77USD
Balance:691.95USD
Spider234
204% 273 trades
Growth:204.05%
Equity:887.18USD
Balance:887.18USD
and 33 more...

The most popular forum topics:

7 new topics on forum:

and 4 more...

New publications in CodeBase

  • Institutional Kelly-VAPS Risk Engine (Library) An object-oriented MQL5 library (.mqh) that replaces static retail risk models with institutional Volatility-Adjusted Position Sizing (VAPS) and Kelly Criterion mathematics.
  • ExMachina CandleTimer Lite ExMachina CandleTimer Lite - Free candle countdown timer for MetaTrader 5 with the ExMachina steel palette theme.
  • Stoch_Cross Stoch_Cross monitors the %K and %D lines of the Stochastic Oscillator and provides instant confirmation when a bullish or bearish crossover occurs in the zone.
There are more than 2,760 articles published on site

Published article "From Basic to Intermediate: Inheritance".

From Basic to Intermediate: Inheritance

No doubt, this article will require a significant amount of your time to understand how and why the materials described here work. This is because everything that will be shown here is initially oriented toward object-oriented programming, but in fact it is based on the principles of structured programming.

Published article "Market Simulation (Part 18): First Steps with SQL (I)".

Market Simulation (Part 18): First Steps with SQL (I)

It doesn't matter which SQL program we use: MySQL, SQL Server, SQLite, OpenSQL, or another. They all have something in common, and the common element is the SQL language. Even if we do not intend to use Workbench, we can manipulate or work with the database directly in MetaEditor or through MQL5 to perform actions in MetaTrader 5, but to do so, you will need knowledge of SQL. So here, we will learn at least the basics.

The most downloaded free products:

More than 700 new charts published:

チャート GBPUSD, M5, 2026.04.01 15:48 UTC, RoboForex Ltd, MetaTrader 5, Real
GBPUSD, M5
チャート GBPJPY, M15, 2026.03.31 11:12 UTC, TradeMax Global Limited, MetaTrader 5, Demo
GBPJPY, M15
Chart EURUSD, H1, 2026.03.31 00:51 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, H1

Bestsellers in the Market:

There are more than 49,050 products available in Market

New publications in CodeBase

There are more than 153,180 topics available on forum

27 new signals now available for subscription:

XAUXAG
353% 172 trades
Growth:352.87%
Equity:1,716.17USD
Balance:1,716.17USD
NTNFXMaster
119% 898 trades
Growth:119.12%
Equity:1,536.10USD
Balance:1,536.10USD
Thiem Icmarket
114% 984 trades
Growth:113.92%
Equity:5,999.74USD
Balance:5,999.74USD
and 24 more...

7 new topics on forum:

and 4 more...

The most downloaded free products:

There are more than 48,960 products available in Market

7 new topics on forum:

and 4 more...

Bestsellers in the Market:

37 new signals now available for subscription:

Makarios Trading Mix
631% 54 trades
Growth:631.01%
Equity:2,168.19USD
Balance:2,156.96USD
Copy VM XAU
91% 984 trades
Growth:91.03%
Equity:2,872.99USD
Balance:2,872.99USD
PIPTRACKER PRO ALL NEW
82% 43 trades
Growth:81.66%
Equity:72.50USD
Balance:72.50USD
and 34 more...

Most downloaded source codes this month

  • VR Breakdown level - Trading strategy based on a breakout of the previous High or Low A simple trading strategy based on breakouts of prior Highs and Lows.
  • 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.
  • Larry Williams XGBoost Onnx adoption of Larry William's method using AI Time-Series XGBoost

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.

Price Action Analysis Toolkit Development (Part 62): Building an Adaptive Parallel Channel Detection and Breakout System in MQL5

Price Action Analysis Toolkit Development (Part 62): Building an Adaptive Parallel Channel Detection and Breakout System in MQL5

This article presents an adaptive parallel channel detection and breakout system in MQL5. It explains how swing points are identified, channels are constructed and dynamically recalculated, and breakouts are confirmed and visualized with persistent signals. The framework integrates trendline geometry, ATR-based filtering, and retest validation to provide reliable, real-time price action analysis for professional charting and trading decisions.

New publications in CodeBase

  • Portfolio Scorer — Multi-EA Correlation and Coverage Analyzer Portfolio Scorer is a standalone MQL5 script that evaluates the quality of a multi-EA portfolio across three critical dimensions that most algo traders overlook. The script reads daily profit and loss data from CSV files (one per Expert Advisor), computes a full Pearson correlation matrix between every strategy pair, maps trading activity by UTC hour and weekday, detects asset class diversity, and produces a weighted composite score with a letter grade from A+ to F. How it works: The tool runs in four sequential stages. First, the Data Loader reads and validates CSV files containing daily returns for each EA in the portfolio. Second, the Correlation Engine calculates the complete NxN Pearson correlation matrix and flags pairs that exceed a configurable threshold. Third, the Coverage Analyzer maps which hours and weekdays have active trading and identifies blind spots. Fourth, the Scoring Function combines all three dimensions into a single composite score using adjustable weights.
  • Candle Body Ratio An original indicator designed to analyze price action and provide buy/sell signals.
  • ASQ Divergence Detector ASQ Divergence Detector scans your chart for regular and hidden RSI divergences and marks them with color-coded, non-repaint arrows.
  • Institutional Cumulative Volume Delta (CVD) An advanced order flow engine that approximates tick-by-tick aggressor data to calculate the true Cumulative Volume Delta, it exposes institutional absorption and divergence hidden within standard price candles.
  • Institutional Z-Score Statistical Reversion A professional quantitative oscillator that replaces traditional retail momentum indicators like the RSI, it calculates the statistical standard deviation of price action to identify mathematically exhausted reversals.
  • Institutional Unmitigated Order Block Matrix A dynamic Smart Money utility that identifies institutional Order Blocks backed by volume anomalies and automatically tracks their mitigation state to keep your charts clean and focused on fresh liquidity.
There are more than 12,000 codes published in Codebase

Published article "Pair Trading: Algorithmic Trading with Auto Optimization Based on Z-Score Differences".

Pair Trading: Algorithmic Trading with Auto Optimization Based on Z-Score Differences

In this article, we will explore what pair trading is and how correlation trading works. We will also create an EA for automating pair trading and add the ability to automatically optimize this trading algorithm based on historical data. In addition, as part of the project, we will learn how to calculate the differences between two pairs using the z-score.

Published article "Using the MQL5 Economic Calendar for News Filter (Part 3): Surviving Terminal Restarts During News Window".

Using the MQL5 Economic Calendar for News Filter (Part 3): Surviving Terminal Restarts During News Window

The article introduces a restart-safe storage model for news-time stop removal. Suspension state and original SL/TP per position are written to terminal global variables, reconstructed on OnInit, and cleaned after restoration. This lets the EA resume an active suspension window after recompiles or restarts and restore stops only when the news window ends.

Published article "MQL5 Trading Tools (Part 26): Integrating Frequency Binning, Entropy, and Chi-Square in Visual Analyzer".

MQL5 Trading Tools (Part 26): Integrating Frequency Binning, Entropy, and Chi-Square in Visual Analyzer

In this article, we develop a frequency analysis tool in MQL5 that bins price data into histograms, computes entropy for information content, and applies chi-square tests for distribution goodness-of-fit, with interactive logs and statistical panels for market insights. We integrate per-bar or per-tick computation modes, supersampled rendering for smooth visuals, and draggable/resizable canvases with auto-scrolling logs to enhance usability in trading analysis.

Published article "Neuro-Structural Trading Engine — NSTE (Part II): Jardine's Gate Six-Gate Quantum Filter".

Neuro-Structural Trading Engine — NSTE (Part II): Jardine's Gate Six-Gate Quantum Filter

This article introduces Jardine's Gate, a six-gate orthogonal signal filter for MetaTrader 5 that validates LSTM predictions across entropy, expert interference, confidence, regime-adjusted probability, trend direction, and consecutive-loss kill switch dimensions. Out of 43,200 raw signals per month, only 127 pass all six gates. Readers get the complete QuantumEdgeFilter MQL5 class, threshold calibration logic, and gate performance analytics.

1...789101112131415161718192021...662