Bestsellers in the Market:
11 new products are now available on the Market:
2 new topics on forum:
Published article "Engineering Trading Discipline into Code (Part 7): Automating Equity Protection Through Governance Logic".

Automated trading systems often focus heavily on signal generation while neglecting the mechanisms required to protect capital during periods of stress. This article presents an Equity Governance Framework in MQL5 that monitors drawdown conditions, evaluates equity pressure, and dynamically controls trading activity through a state-driven risk management model. By combining drawdown analysis, cooldown logic, trade authorization, and execution restrictions, the framework demonstrates how trading discipline can be engineered directly into code using a modular and extensible architecture.
Published article "Neural Networks in Trading: Hierarchical Skill Discovery for Adaptive Agent Behavior (HiSSD)".

In this article, we explore the HiSSD framework, which combines hierarchical learning and multi-agent approaches to create adaptive systems. We examine in detail how this innovative methodology helps uncover hidden patterns in financial markets and optimize trading strategies in decentralized environments.
Published article "Beyond GARCH (Part V): Fitting the Multifractal Spectrum in MQL5".

This article builds the Spectrum Fitter: from tau(q) we compute f(alpha) with a discrete Legendre transform, then fit Normal, Binomial, Poisson, and Gamma spectra under box constraints using BLEIC. The best model by SSE is selected, and its parameters (eg, alpha min, alpha max or alpha_0, gamma) become the cascade inputs for multifractal simulation.
Published article "Carry Trade Logic in MQL5: Building an EA That Factors Swap Rates Into Position Sizing and Holding Decisions".

Most retail traders ignore overnight swap rates, but for long-term positions, these interest payments can make or break your strategy. This article shows you how to build a dynamic MQL5 module that retrieves real-time swap data and converts it into actual profit or loss in your account currency. You will learn how to program an Expert Advisor that automatically calculates if a trade is worth holding based on carry income and adjusts your position size to account for expected interest. It is a practical guide to turning a hidden cost into a mathematical advantage for your trading systems.
10 new products are now available on the Market:
Published article "Exchange Market Algorithm (EMA)".

The article presents a detailed analysis of the Exchange Market Algorithm (EMA) inspired by the behavior of stock market traders. The algorithm simulates stock trading, where market participants with varying levels of success employ different strategies to maximize profits.
The most downloaded free products:
Bestsellers in the Market:
17 new products are now available on the Market:
2 new topics on forum:
Bestsellers in the Market:
7 new products are now available on the Market:
Bestsellers in the Market:
14 new products are now available on the Market:
The most downloaded free products:
Published article "Developing a Multi-Currency Expert Advisor (Part 28): Adding a Position Closing Manager".

When running multiple strategies in parallel, you may want to periodically close all open positions and start the strategies over again. The existing code only allows this behavior to be implemented through manual intervention. Let's try to automate this part.
Published article "MQL5 Wizard Techniques you should know (Part 93): Using Suffix Automation and an Auto Encoder in a Custom Money Management Class".

For this article we switch to a custom MQL5 Wizard class implementation that explores Money Management. We are labelling our custom class ‘CMoneySuffixAE’ that we derive by combining the Suffix Automaton algorithm with an Autoencoder neural network. As always, this formulation is testable with MQL5 Wizard Assembled Expert Advisors that can be tuned with various entry signals and trailing stop approaches.
Published article "Price Action Analysis Toolkit Development (Part 71): Weekend Gap Structure Mapping in MQL5".

The article delivers an object-based MQL5 implementation that detects weekend gaps from time discontinuities and renders them directly on the chart. It manages graphical objects, tracks state transitions (fresh, partial, reaction, filled), and preserves completed gaps as historical zones. The result is a reproducible framework for monitoring how price revisits and fills weekend gap structures.
11 new products are now available on the Market:
Published article "Building an Object-Oriented Z-Score Statistical Arbitrage Engine in MQL5".

This article shows how to implement a production Z-Score engine in MQL5 using an object-oriented include file, the library computes a rolling mean and population standard deviation, exposes a shift parameter for historical queries, and avoids redundant tick work by running on bar close. An Expert Advisor executes rule-based entries at positive/negative sigma thresholds and closes on mean reversion; a custom indicator provides visual verification.
Published article "Neural Networks in Trading: Anomaly Detection in the Frequency Domain (Final Part)".

We continue to work on implementing the CATCH framework, which combines the Fourier transform and frequency patching mechanisms, ensuring accurate detection of market anomalies. In this article, we complete the implementation of our own vision of the proposed approaches and test the new models on real historical data.
Published article "Market Simulation: Getting started with SQL in MQL5 (I)".

In today's article we will begin studying the use of SQL in MQL5 code. We will also look at how to create a database. Or, more precisely, how to create a SQLite database file using the features built into MQL5. We will also see how to create a table, and then how to establish a relationship between tables by using primary and foreign keys. All of this, once again, will be done with MQL5. We will see how easy it is to create code that can later be migrated to other SQL implementations by using a class that helps hide the implementation being created. And, most importantly, we will see that at various points we may face the risk that something will go wrong when using SQL. This happens because, in MQL5 code, SQL code will always be placed inside a string.
Published article "Implementing of a Breakeven Mechanism in MQL5 (Part 2): ATR- and RRR-Based Breakeven".

This article completes the implementation of ATR- and RRR-based breakeven mechanisms in MQL5 and develops, from scratch, a class that makes it easy to switch breakeven modes without having to enter the parameters again. To evaluate the effectiveness of each breakeven type, several backtests are run, analyzing their advantages and disadvantages in the context of algorithmic trading.
Bestsellers in the Market:
13 new products are now available on the Market:
New publications in CodeBase
- Universal Breakout Study Universal Breakout Study is a research-focused Expert Advisor for MetaTrader 5 designed to analyze and optimize range breakout strategies. It provides flexible parameter testing, fast optimization, and a structured framework for validating trading ideas using historical data and forward testing.
- Institutional Ornstein-Uhlenbeck Equilibrium Matrix An econometric price-space indicator that utilizes the Ornstein-Uhlenbeck stochastic process to mathematically estimate the asset's true driftless equilibrium and its speed of mean reversion.








































































