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.

Bestsellers in the Market:

There are more than 55,150 products available in Market

5 new topics on forum:

and 2 more...

20 new signals now available for subscription:

EA SMC ULTRA INSTING
733% 21895 trades
Growth:732.66%
Equity:83,266.04USD
Balance:83,266.04USD
EA GOLD99
345% 5184 trades
Growth:345.11%
Equity:6,888.69USD
Balance:6,888.69USD
QQ Live Signal EURUSD
326% 39 trades
Growth:325.73%
Equity:215.59USD
Balance:215.59USD
and 17 more...
There are more than 3,090 articles published on site

Published article "Building a Divergence System (Part II): Adaptive SuperTrend Custom Indicator".

Building a Divergence System (Part II): Adaptive SuperTrend Custom Indicator

The article upgrades SuperTrend by integrating a divergence engine (MPO4 or RSI) the dynamically reduces the ATR multiplier during weakening momentum. It covers the shrinking formula, non-repainting state propagation with dedicated buffers, and a step-by-step MQL5 implementation on the price chart. You will learn how to interpret arrows and line flips, adjust inputs, and apply the indicator for disciplined trailing and earlier confirmations.

Published article "Implementing a Circular Buffer Class in MQL5: Fixed-Memory Rolling Windows for Real-Time Indicator Calculations".

Implementing a Circular Buffer Class in MQL5: Fixed-Memory Rolling Windows for Real-Time Indicator Calculations

A templated CCircularBuffer class for MQL5 replaces the O(n) ArrayCopy array-shift pattern with O(1) insertion using a fixed-capacity ring buffer. The implementation is shown end to end and integrated into a rolling standard deviation indicator. Benchmarks across multiple window sizes compare both approaches and quantify the impact on real-time indicator calculations.

Published article "Automating Trading Strategies in MQL5 (Part 50): Turtle Soup Liquidity Sweeps".

Automating Trading Strategies in MQL5 (Part 50): Turtle Soup Liquidity Sweeps

We build an automated MQL5 program that trades Turtle Soup by fading false breakouts of the N-bar high and low. The article implements liquidity-sweep detection, confirmation closes back inside the level, sweep-depth and extreme-age filters, and an optional reversal-candle body check. It adds configurable dynamic or static stops, two take-profit modes, points-based trailing, and clear chart visuals, providing a ready baseline for backtesting and further customization.

Published article "Reimagining Classic Strategies (Part 22): Ensemble Mean Reverting Strategy".

Reimagining Classic Strategies (Part 22): Ensemble Mean Reverting Strategy

This article will illustrate to the reader how to implement a mean-reverting strategy for the EURUSD pair. The strategy follows contrarian trading rules. Our strategy implements a weekly moving average channel, with one moving average on the high-price feed and the latter on the low-price feed. We enter short positions when the price falls beneath the low moving average and long positions when the price rises above the high moving average. Additionally, we will export daily market data to build a simple ONNX model of the market to provide an additional filter for our entries. This provides the reader with a reproducible template for strategy development and backtesting.

Published article "Extreme Value Theory in MQL5: Building a Tail-Risk Crash Gauge Beyond Monte Carlo VaR".

Extreme Value Theory in MQL5: Building a Tail-Risk Crash Gauge Beyond Monte Carlo VaR

Standard MQL5 risk tools read risk from recent history and miss how heavy the downside tail can be. We implement Extreme Value Theory in MetaTrader 5: a Peaks‑Over‑Threshold fit of the Generalized Pareto Distribution via ALGLIB, a live indicator that reports EVT VaR/ES and tail shape, and an EA that sizes positions from the tail estimate. A controlled backtest illustrates reduced drawdown for unchanged entries.

Published article "Custom Indicator Workshop (Part 3): Building the UT Bot Alerts Indicator in MQL5".

Custom Indicator Workshop (Part 3): Building the UT Bot Alerts Indicator in MQL5

This article demonstrates how to build the UT Bot Alerts indicator in MQL5 using a clear, step-by-step approach. The tutorial explains how to implement an ATR-based trailing stop system, compute a custom EMA for signal detection, and generate buy and sell signals without repainting. The final indicator provides well-structured buffers that enable easy integration with Expert Advisors, automated trading systems, and other algorithmic tools within the MetaTrader 5 platform.

New publications in CodeBase

  • EA KCI N-Matrix engine The Apex of Algorithmic Grid & Kinetic Momentum. Welcome to the KCI Native Matrix Engine—a merciless, mathematically driven algorithmic behemoth built natively for MetaTrader 5. Engineered for High-Frequency Trading (HFT) environments, this EA strips away bloated standard libraries and operates directly at the server routing level.
  • KCI Directional Matrix The KCI-Directional Matrix (KCI-DX) is an advanced, physics-inspired analytical tool that extracts market kinematics by measuring price path length and volatility energy. Unlike conventional momentum tools, KCI-DX employs a dynamic Z-Score normalization combined with a Sigmoid activation function. This ensures the output is flawlessly bounded between 0 and 100, providing hyper-responsive trend strength identification and directional bias without distortion from historical extremes.
  • KCI Volatility Distance The KCI Volatility Distance is an advanced, adaptive algorithm meticulously engineered to map market momentum and trend direction with pure precision. Utilizing a proprietary matrix-based calculation, this tool dynamically filters out market noise and provides a strictly quantitative perspective on directional strength. Built with a highly optimized Object-Oriented Programming (OOP) core, it is designed for both visual trading clarity and seamless integration into Expert Advisors or Machine Learning modules, ensuring ultra-light CPU performance across multiple assets.

The most downloaded free products:

More than 1000 new charts published:

图表 XAUUSDrfd, H4, 2026.07.09 09:46 UTC, ООО ''Альфа-Форекс'', MetaTrader 5, Real
XAUUSDrfd, H4
图表 USDJPY, H4, 2026.07.09 10:02 UTC, Evalanch Ltd., MetaTrader 5, Demo
USDJPY, H4
图表 XAGUSD@, M15, 2026.07.09 09:41 UTC, WM Markets Ltd, MetaTrader 5, Demo
XAGUSD@, M15
There are more than 55,060 products available in Market

Bestsellers in the Market:

32 new signals now available for subscription:

Ustetchii01
146% 120 trades
Growth:146.48%
Equity:507.74USD
Balance:507.74USD
Quantum Goddess TMGM
109% 398 trades
Growth:109.29%
Equity:624.33USD
Balance:641.01USD
Currency EA
91% 756 trades
Growth:91.24%
Equity:2,294.92USD
Balance:2,294.92USD
and 29 more...

New publications in CodeBase

  • Market Miner A multi strategy EA gold mine :)
  • MA + Envelope Breakouts Breakouts based on envelope channel or band, multi EA logic in One EA
  • T5Copier - MT 5 client to client Local trade copier A local client to client trade copier with custom dashboard in C# and transport pipe in golang , complete src is provided in archive ( socket based ver ) ultra low latency
  • Envelope SAR This indicator is a trend-momentum oscillator that tracks where price sits relative to its structural volatility channel using a normalized relationship between the Parabolic SAR and Envelopes.
  • Profit Loss calendar P/L Calendar — Monthly Profit & Loss at a Glance. P/L Calendar shows you, day by day, exactly how your account performed this month — so you can spot your best and worst days, track your win rate, and see your trading rhythm without digging through the terminal's history tab.
There are more than 12,160 codes published in Codebase

8 new topics on forum:

and 5 more...

Published article "Market Simulation (Part 23): Position View (I)".

Market Simulation (Part 23): Position View (I)

The content we will cover from this point on is much more complex in terms of theory and concepts. I will try to make the material as simple as possible. The programming part itself is quite simple and straightforward. But if you do not understand the theory behind it, you will be left with no practical basis at all for refining or adapting the replay/simulation system to tasks different from the ones I am going to show. I do not want you merely to compile and use the code I present. I want you to learn, understand and, if possible, be able to create something even better.

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

From Basic to Intermediate: Objects (IV)

This is perhaps the most entertaining article so far. The reason is that here we will modify an object already available in MetaTrader 5 in order to create another one that is not originally present on the platform. Of course, what we are going to look at here may seem a little crazy, but it works and serves a very interesting purpose.

Published article "How to Connect AI Agents to MQL5 Algo Forge via MCP".

How to Connect AI Agents to MQL5 Algo Forge via MCP

This article extends Part 1 by giving an AI access to the development lifecycle on MQL5 Algo Forge. We implement an MCP server over the Forgejo REST API so an agent can create repositories, commit Expert Advisors, branch from main, open pull requests, file issues, and tag releases. You will get a ready-to-run Python server, clear tools, and a safer, reversible workflow.

Published article "MQL5 Bootstrap (II): Essential Validators for Robust Trading Systems".

MQL5 Bootstrap (II): Essential Validators for Robust Trading Systems

The article builds a reusable validation layer for Expert Advisors in MQL5. It implements lot-size rules and normalization, SL/TP and freeze-level guards, price digit normalization, margin sufficiency checks, unchanged-level filtering on modifications, account order-limit control, new-bar detection, symbol tradability checks, economic-calendar news windows, and session detectors. The result is cleaner code and fewer terminal errors in live trading.

Published article "MQL5 Trading Tools (Part 39): Adding a Pinned-Tools Ribbon for Quick Access to Favorite Tools".

MQL5 Trading Tools (Part 39): Adding a Pinned-Tools Ribbon for Quick Access to Favorite Tools

We add a pinned-tools ribbon: a floating bar that exposes frequently used tools for one-click access without reopening the sidebar. The article implements the ordered pin set and its API, an anti-aliased pushpin control in the flyout, and the ribbon with offscreen clipping, user-resizable width, and horizontal scrolling. The result is faster activation of favorite tools from a draggable, resizable ribbon on the chart.

Published article "Implementing Walk-Forward Efficiency Ratio Scoring in MQL5 to Detect Over-Optimized Strategies".

Implementing Walk-Forward Efficiency Ratio Scoring in MQL5 to Detect Over-Optimized Strategies

Parameter optimization inside MetaTrader 5's Strategy Tester routinely produces strategies that perform well in-sample and collapse on forward data. This article builds a native MQL5 Walk-Forward Efficiency scoring engine that quantifies how much of a strategy's in-sample Sharpe ratio transfers to each out-of-sample window. The distribution is rendered as a CCanvas histogram and validated against real EURUSD Daily backtest data.

More than 1000 new charts published:

Chart XAUUSD, M1, 2026.07.08 20:30 UTC, FundedNext Ltd, MetaTrader 5, Demo
XAUUSD, M1
Chart XAUUSD, M1, 2026.07.08 21:02 UTC, AxiCorp Financial Services Pty Ltd, MetaTrader 5, Demo
XAUUSD, M1
Chart XAUUSD, M1, 2026.07.08 20:29 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, M1

The most popular forum topics:

The most downloaded free products:

There are more than 54,970 products available in Market

Bestsellers in the Market:

27 new signals now available for subscription:

AgiFX 6
2,257% 1048 trades
Growth:2,256.80%
Equity:12,445.89USD
Balance:12,445.89USD
DaniTraderPRo
1,181% 6857 trades
Growth:1,181.27%
Equity:8,059.16EUR
Balance:8,112.26EUR
AgiFX 2
653% 2762 trades
Growth:652.68%
Equity:12,135.02USD
Balance:12,135.02USD
and 24 more...
There are more than 154,110 topics available on forum

5 new topics on forum:

and 2 more...

New publications in CodeBase

  • Chart Navigator MT5 Light Chart Navigator MT5 Light — a mini-chart for quickly navigating the price chart and instantly jumping to your markers on it
  • Stochastic Protector This Expert Advisor monitors the Stochastic oscillator to automatically close positions based on user-selected conditions: crossovers above overbought or below oversold, entry into overbought/oversold zones, or exit from those zones. Positions are filtered for closure by profit state (loss, profit, or both). An optional Test Mode enables basic entry signals when the %D line crosses configurable offset levels around the midline (50).
There are more than 3,080 articles published on site

Published article "Building a Broker-Agnostic Symbol Resolution Layer in MQL5".

Building a Broker-Agnostic Symbol Resolution Layer in MQL5

We implement a symbol resolution framework that abstracts broker naming differences in MetaTrader 5. Using a persistent mapping store, layered resolution with validation, a hash-indexed registry, and a cache, it returns selectable symbols with live market data and logs unresolved cases. Practically, you can deploy the same EA across brokers and keep symbol access consistent at low runtime cost.

Published article "Persistent Homology in MQL5: The Reduction Algorithm and the Persistence Diagram".

Persistent Homology in MQL5: The Reduction Algorithm and the Persistence Diagram

We complete persistent homology for MQL5 by reducing the Vietoris–Rips boundary matrix to a persistence diagram. The article implements Z/2 column reduction (CTDAReduction), a diagram container with analytics (CTDADiagram), and a facade that runs the six-stage pipeline in one call (CTDA). Outputs are cross-checked against Ripser to numerical agreement, enabling reliable diagram-based metrics.

Published article "Overcoming Accessibility Problems in MQL5 Trading Tools (Part VI): Neural Command Integration".

Overcoming Accessibility Problems in MQL5 Trading Tools (Part VI): Neural Command Integration

This article demonstrates a working prototype integrating Brain-Computer Interface technology with MetaTrader 5, proving thought-based trading is feasible at the software level. A Python Flask server simulates neural command generation, communicating with an MQL5 Expert Advisor via JSON-over-HTTP. The complete pipeline—from signal generation to trade execution—is validated through WebRequest and CTrade. While BCI hardware remains clinically restricted, this simulation establishes a reference architecture for future accessibility options, enabling direct intention-based trading that expands how traders can interact with financial markets.

Published article "Neural Networks in Trading: Generalizing Time Series Without Data-Specific Dependence (Mamba4Cast)".

Neural Networks in Trading: Generalizing Time Series Without Data-Specific Dependence (Mamba4Cast)

In this article, we introduce the Mamba4Cast framework and take a closer look at one of its key components: timestamp-based positional encoding. The article shows shows how time embedding is formed taking into account the calendar structure of the data.

The most downloaded free products:

More than 700 new charts published:

Gráfico DJIUSD, M5, 2026.07.07 19:20 UTC, Sarmaye Gozare Bartar Ltd., MetaTrader 5, Demo
DJIUSD, M5
Gráfico XAUUSD, M15, 2026.07.07 19:09 UTC, Vantage Markets (Pty) Ltd, MetaTrader 5, Real
XAUUSD, M15
Graphique BTCUSD, H1, 2026.07.07 19:20 UTC, AMarkets LLC, MetaTrader 5, Real
BTCUSD, H1

28 new signals now available for subscription:

ETH456oo
97% 212 trades
Growth:96.95%
Equity:1,987.32HKD
Balance:1,969.46HKD
MSC SuperGold IC Pro
77% 1056 trades
Growth:77.47%
Equity:973.79USD
Balance:983.81USD
Major Trend MT4
62% 123 trades
Growth:61.65%
Equity:751.63USD
Balance:808.26USD
and 25 more...
There are more than 54,860 products available in Market

Bestsellers in the Market:

Most downloaded source codes this month

  • 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.
  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • 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 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.

6 new topics on forum:

and 3 more...

Published article "Neural Networks in Trading: Time Series Forecasting Using Adaptive Modal Decomposition (Final Part)".

Neural Networks in Trading: Time Series Forecasting Using Adaptive Modal Decomposition (Final Part)

The article discusses the adaptation and practical implementation of the ACEFormer framework using MQL5 in the context of algorithmic trading. It presents key architectural decisions, training features, and model testing results on real data.

Published article "Neural Networks in Practice: Practice Makes Perfect".

Neural Networks in Practice: Practice Makes Perfect

In today's article, we will see how a simple code change that makes a neuron slightly more specialized can significantly speed up the training stage. After all, once a neuron or neural network, as we will see later, has been trained, the work it performs becomes much faster. We will also discuss a problem that exists but is rarely mentioned.

1...121314151617181920212223242526...691