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.

The most downloaded free products:

6 new topics on forum:

and 3 more...

21 new signals now available for subscription:

GUNS FX V2
815% 150 trades
Growth:815.02%
Equity:33,285.31USD
Balance:33,285.31USD
Jen05
117% 3462 trades
Growth:117.25%
Equity:89,807.80USD
Balance:89,807.80USD
Flex trades
110% 144 trades
Growth:109.55%
Equity:1,443.17USD
Balance:1,466.97USD
and 18 more...

Published article "Market Simulation (Part 22): Getting Started with SQL (V)".

Market Simulation (Part 22): Getting Started with SQL (V)

Before you give up and decide to abandon learning SQL, allow me to remind you, dear readers, that here we are still using only the most basic elements. We have not yet looked at some of SQL's capabilities. Once you understand them, you will see that SQL is far more practical than it seems. Although, most likely, we will eventually change the direction of what we are building, because the creation process is dynamic. We will show a little more about creating different things in SQL, because this is truly important and useful for you. Simply thinking that you are more capable than an entire community of programmers and developers will only lead to wasted time and opportunities. Do not worry, because what comes next will be even more interesting.

Published article "From Basic to Intermediate: Objects (I)".

From Basic to Intermediate: Objects (I)

In this article, we will begin looking at how to work with objects directly on the chart. This is done using code specially developed for demonstration purposes. Working with objects is very interesting and can be a lot of fun. Since this will be our first contact with the topic, we will start with something very simple.

Published article "Analyzing Price Time Gaps in MQL5 (Part I): Building a Basic Indicator".

Analyzing Price Time Gaps in MQL5 (Part I): Building a Basic Indicator

Time gap analysis helps traders identify potential market reversal points. The article discusses what a time gap is, how to interpret it, and how it can be used to detect large volume influxes into the market.

The most downloaded free products:

Bestsellers in the Market:

There are more than 52,510 products available in Market

Most downloaded source codes this month

  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Ideal for ProCent accounts. Includes Daily Profit Target and Max Drawdown protection.
  • 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.
  • Prime Quantum AI — TRADE WITH AI (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok). Prime Quantum AI is an MT5 Expert Advisor combining a classical pre-filter (ADX + Alligator) with AI vision-based chart confirmation from major AI providers (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok). When the pre-filter detects a trend setup, the EA captures three adaptive- timeframe chart screenshots and sends them to the configured AI provider, which returns direction, confidence, stop-loss and take-profit. A trade is opened only when the AI confirms the pre-filter signal with sufficient confidence. Features: dual Standard Broker / Prop Firm risk modes, configurable lot sizing, optional martingale, multiple SL/TP modes, trailing stop, partial close, news/time/day/spread filters, draggable on-chart info panel, and fully exposed indicator parameters. Requires MetaTrader 5, WebRequest enabled for your provider's URL, and a valid API key. Provider auto-detected from key format.

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.

25 new signals now available for subscription:

Wong Bejo
210% 62 trades
Growth:210.37%
Equity:4,652.30USD
Balance:4,655.56USD
Challenger
129% 144 trades
Growth:129.39%
Equity:2,067.72USD
Balance:2,067.72USD
SMART GOLD HUNTER Ultima
88% 138 trades
Growth:88.40%
Equity:565.20USD
Balance:565.20USD
and 22 more...

New publications in CodeBase

  • Quantum XAUUSD Silver Trader Multi-indicator EA for Gold (XAUUSD) and Silver (XAGUSD): RSI, ADX and MA signals, adaptive ATR trailing stop and built-in capital protection.
  • Stochastic Moving Average This indicator is an implementation of Stochastic of Moving Average. This indicator can be used as a filter indicator. It can be associated with my free indicator "HLPeak_Trend".
There are more than 153,780 topics available on forum
There are more than 2,920 articles published on site

Published article "Dolphin Echolocation Algorithm (DEA)".

Dolphin Echolocation Algorithm (DEA)

In this article, we take a closer look at the DEA algorithm, a metaheuristic optimization method inspired by dolphins' unique ability to find prey using echolocation. From mathematical foundations to practical implementation in MQL5, from analysis to comparison with classical algorithms, we will examine in detail why this relatively new method deserves a place in the arsenal of researchers facing optimization problems.

5 new topics on forum:

and 2 more...

Published article "Market Simulation (Part 21): First Steps with SQL (IV)".

Market Simulation (Part 21): First Steps with SQL (IV)

Many of you may have far more experience working with databases than I do, and therefore may have a different opinion. Since it was necessary to explain why databases are designed the way they are, and why SQL has the form it does—especially why primary and foreign keys emerged—some things had to remain somewhat abstract.

Published article "From Basic to Intermediate: Indicator (V)".

From Basic to Intermediate: Indicator (V)

In this article, we will look at how to handle user requests to change the chart plotting mode. This is necessary so that an indicator designed for the current chart plotting mode does not look strange or differ from what a MetaTrader 5 user expects.

The most downloaded free products:

More than 600 new charts published:

Grafico EURCAD~, H4, 2026.05.30 05:35 UTC, Tradehall Limited, MetaTrader 5, Demo
EURCAD~, H4
Gráfico SFX Vol 20, M5, 2026.05.30 01:24 UTC, Weltrade Ltd., MetaTrader 5, Demo
SFX Vol 20, M5
Chart AUDJPY, M15, 2026.05.30 04:03 UTC, Axiory Global Ltd., MetaTrader 5, Real
AUDJPY, M15
There are more than 52,400 products available in Market

Bestsellers in the Market:

39 new signals now available for subscription:

ZenQ Flow AI EA
252% 20 trades
Growth:252.21%
Equity:1,408.85USD
Balance:1,408.85USD
Sentinel AI MT4 v1 17
248% 113 trades
Growth:247.91%
Equity:69.71USD
Balance:84.18USD
GOLD EA Scalping
101% 99 trades
Growth:101.24%
Equity:201.24GBP
Balance:201.24GBP
and 36 more...

7 new topics on forum:

and 4 more...

The most downloaded free products:

There are more than 52,310 products available in Market

Most downloaded source codes this week

  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Ideal for ProCent accounts. Includes Daily Profit Target and Max Drawdown protection.
  • 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.
  • Easy Range Breakout EA - MT5 This EA implements a range breakout trading strategy. It calculates a price range between start and end times defined by the user, draws a visual rectangle on the chart to mark the high and low of that range, and then monitors price action after the range closes. If the market breaks above the range high, it opens a buy trade; if it breaks below the range low, it opens a sell trade.

Most read articles this week

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.

Bestsellers in the Market:

The most popular forum topics:

7 new topics on forum:

and 4 more...

17 new signals now available for subscription:

WL Club
500% 367 trades
Growth:500.33%
Equity:18,724.20USD
Balance:19,011.54USD
Golden Fawkes HR
244% 442 trades
Growth:243.68%
Equity:5,861.01USD
Balance:5,861.01USD
XinDa 6636369 yichiyidan 10W 20251016
186% 47516 trades
Growth:185.72%
Equity:122,291.36USD
Balance:122,291.36USD
and 14 more...

Published article "Building an EquiVolume Indicator in MQL5".

Building an EquiVolume Indicator in MQL5

We implement an EquiVolume indicator in MQL5 that converts standard candlesticks into volume-weighted boxes. The workflow includes selecting volume type, detecting the maximum volume within a lookback range, normalizing all values against it, and mapping them into proportional box widths. The result is a chart-based structure that visualizes trading activity intensity alongside price movement in MetaTrader 5.

Published article "Formulating Dynamic Multi-Pair EA (Part 9): Market Microstructure Execution Noise Filtering".

Formulating Dynamic Multi-Pair EA (Part 9): Market Microstructure Execution Noise Filtering

This article presents a multi-symbol execution filter that scores real-time market quality before any trade is allowed. It measures spread behavior, tick velocity, quote gaps, micro-volatility, and a slippage estimate, then classifies the state to block degraded conditions. Once noise settles, a liquidity sweep continuation model evaluates structure shifts so entries occur only when execution is mechanically stable.

Published article "Custom Debugging and Profiling Tools for MQL5 Development (Part II): Profiling EAs and Testing Trading Logic".

Custom Debugging and Profiling Tools for MQL5 Development (Part II): Profiling EAs and Testing Trading Logic

We build a compact profiler that records calls, min/max/average times, and slow-call counts to CSV, and a simple test runner that writes deterministic pass/fail reports. The article explains where to place measurements in an EA, how to sample ticks, and how to keep pure calculations testable. Running the script first and the profiling EA second provides repeatable evidence for regression analysis.

Published article "Position Management: Scaling Into Winners With A Falling-Risk Pyramid".

Position Management: Scaling Into Winners With A Falling-Risk Pyramid

We introduce CPyramidBridge, a thin MQL5 layer that maps bet-sizing results to CPyramidEngine. The bridge applies probability to initial lot sizing, enforces a capacity-aware entry gate, promotes add-ons from dynamic divergence, adapts the trailing stop to reserve estimates, and syncs signals on close, allowing an Expert Advisor to convert model confidence and concurrency into a structured, decreasing-risk pyramid.

Published article "MQL5 Wizard Techniques you should know (Part 92): Using B-Tree Indexing and a Bayesian NN in a Custom Signal Class".

MQL5 Wizard Techniques you should know (Part 92): Using B-Tree Indexing and a Bayesian NN in a Custom Signal Class

In this article we present yet another custom MQL5 Signal Class that we are labelling ‘CSignalBTreeBayesian’. We are marrying the algorithm of a balanced tree with a neural network that is built on Bayesian principles to formulate yet another custom signal testable independently or with other signals thanks to the MQL5 Wizard.

Published article "MQL5 Bootstrap (I): Reusable Functions for Working with Positions and Orders".

MQL5 Bootstrap (I): Reusable Functions for Working with Positions and Orders

This article presents a compact MQL5 utility layer for routine trade operations. It includes position existence checkers, position counters, bulk close helpers, and functions to retrieve the most recent or oldest position by symbol, magic, or type. A simple SMA crossover Expert Advisor demonstrates integration. The result is cleaner EAs, fewer inconsistencies across projects, and faster maintenance.

Published article "Modular Indicator Architecture in MQL5 (Part 1): Stop Copy-Pasting and Start Writing Scalable, Reusable Code".

Modular Indicator Architecture in MQL5 (Part 1): Stop Copy-Pasting and Start Writing Scalable, Reusable Code

This article develops an object-oriented framework for MQL5 indicators by evolving a primitive example into reusable modules. It formalizes partial buffer recalculation in OnCalculate, moves logic into header-based classes (CAppliedPrice, CSma), and introduces CSubIndiBase, CIndicatorBase, and a registry to centralize requirements. You get portable components, isolated inputs, and clean buffers with minimal boilerplate, making new indicators faster to assemble and easier to maintain.

The most downloaded free products:

There are more than 52,210 products available in Market

6 new signals now available for subscription:

Main Account
485% 3856 trades
Growth:485.09%
Equity:39,841.76EUR
Balance:40,214.50EUR
Gold Spot
70% 68 trades
Growth:70.08%
Equity:8,504.11USD
Balance:8,504.11USD
Gold Liquidity Sweep
25% 357 trades
Growth:25.04%
Equity:2,078.53USD
Balance:2,078.53USD
and 3 more...

Bestsellers in the Market:

3 new topics on forum:

Published article "Encoding Candlestick Patterns (Part 2): Modeling Price Action as an Ordered Sequence".

Encoding Candlestick Patterns (Part 2): Modeling Price Action as an Ordered Sequence

Developing permutation-based tools in MQL5 provides a systematic way to analyze candlestick pattern combinations for trading strategies. This article introduces a permutation calculator and generator designed to compute and enumerate all possible ordered candlestick sequences from bullish and bearish sets, with or without repetition. By generating exhaustive pattern combinations, traders can perform data-driven analysis to identify high-probability market patterns and improve decision-making in automated trading systems.

Published article "Beyond GARCH (Part IV): Partition Analysis in MQL5".

Beyond GARCH (Part IV): Partition Analysis in MQL5

In this article, we shift from Python research to native MQL5 engineering. We build the first module of the MMAR library: a shared constants header, an SVD-based OLS regression class, a Generalized Hurst Exponent estimator, and the partition analysis engine that computes the partition function, extracts tau(q), estimates H via zero-crossing interpolation, and scores multifractality through three diagnostic tests. Tested on 500,000 bars of EURUSD M10, the engine correctly classifies the data as multifractal in under four seconds. Part 4 of an eight-part series. Part 5 fits the tau(q) curve to four candidate distributions via the Legendre transform.

Published article "Building Volatility Models in MQL5 (Part III): Implementing the SLSQP Algorithm for Model Estimation".

Building Volatility Models in MQL5 (Part III): Implementing the SLSQP Algorithm for Model Estimation

An SLSQP optimizer is implemented in MQL5 to resolve parameter discrepancies between a volatility library and Python's ARCH module. The article details constraint handling, gradient options, configuration, and convergence controls and shows how to integrate the solver into existing code. Practical examples and comparisons demonstrate matched log‑likelihoods and parameters on shared datasets.

New publications in CodeBase

  • Institutional Markov Chain Transition Matrix A quantitative stochastic probability engine that utilizes Markov Chain transition matrices to mathematically forecast the percentage chance of bullish or bearish continuation on the next algorithmic execution cycle.
  • 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
  • fair value gap/imbalance Dynamic Fair Value Gap (FVG) is an MQL5 indicator for MetaTrader 4 that automatically detects market price imbalances. This indicator is perfectly suited for traders utilizing the Smart Money Concepts (SMC) strategy.

More than 800 new charts published:

Gráfico EURCHF, H4, 2026.05.28 07:06 UTC, FTMO Global Markets Ltd, MetaTrader 5, Real
EURCHF, H4
图表 US100_Spot, H1, 2026.05.28 10:44 UTC, Credit Financial Investment for Financial Brokerage LLC, MetaTrader 5, Real
US100_Spot, H1
图表 GBPUSD, M15, 2026.05.28 23:47 UTC, Alpari, MetaTrader 4, Real
GBPUSD, M15
1...101112131415161718192021222324...679