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.

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

From Basic to Intermediate: Operator Overloading (IV)

In this article, we will take a first step toward showing how to implement operator overloading for the index operator and the assignment operator, while striving to offer a practical and interesting approach for everyone. What we will see here is only part of what I still intend to show, and it is directly related to the overloading of these operators.

Published article "Market Replay: Unity Is Strength (II)".

Market Replay: Unity Is Strength (II)

Until now, the application being developed as part of this series of articles has focused exclusively on simulating the graphical part. However, to obtain a more complete system in which we can test the Expert Advisor within the replay/simulation service, we also need to simulate the trading server. You'll notice that this simulation will include only the most essential elements. Nevertheless, you, dear reader, will be able to fill in the missing parts. Since these additional components don't affect what I want to show, we already have more than enough to implement what we have in mind.

Published article "Neural Networks in Trading: The Adaptive Graph Diffusion Model (SAGDFN)".

Neural Networks in Trading: The Adaptive Graph Diffusion Model (SAGDFN)

In this article, we explore the architecture of SAGDFN — a modern framework capable of transforming the approach to processing spatiotemporal data. It preserves key information even in complex graphs while reducing computational costs.

The most downloaded free products:

More than 1300 new charts published:

График TRUMPUSD, M15, 2026.09.22 03:03 UTC, IC Markets Ltd, MetaTrader 5, Real
TRUMPUSD, M15
Gráfico XAUUSD, M5, 2026.09.22 03:08 UTC, ePlanet Brokers Ltd, MetaTrader 5, Demo
XAUUSD, M5
Gráfico AUDUSD, H1, 2026.09.22 02:37 UTC, Tradexfin Limited, MetaTrader 4, Real
AUDUSD, H1
There are more than 61,300 products available in Market

The most popular forum topics:

Most downloaded source codes this month

  • 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.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • 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.

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.

35 new signals now available for subscription:

MUHAMMED ALTEN
314% 142 trades
Growth:313.86%
Equity:2,197.79USD
Balance:2,197.79USD
US30 Precision NY
309% 142 trades
Growth:309.13%
Equity:753.98USD
Balance:753.98USD
Bullion Beast
230% 186 trades
Growth:229.77%
Equity:1,319.09USD
Balance:1,319.09USD
and 32 more...

Bestsellers in the Market:

New publications in CodeBase

  • Safe Risk Manager EA - Daily Loss, Break-Even and Trailing Stop Educational MT5 hedging-account trade panel with risk sizing, spread protection, a persistent daily-loss lock, break-even and trailing stops.
  • EA Trend Follower TREND Follower (Daily) is a lightweight, development-oriented Expert Advisor (EA) created as a base trading architecture for research, learning, experimentation, and further development. The EA is intentionally designed around a simple concept: follow the market direction using the relationship between price and the Parabolic SAR. It is not presented as a fully optimized or finished trading system. Instead, it provides a clean and accessible foundation that developers can study, modify, test, and expand.
  • PropFirm Risk Guardian MT5 – Account-Wide Risk Protection EA Account-wide MT5 risk protection EA for prop-firm and personal accounts. Monitors daily and overall drawdown, position losses, safety buffers, and automatically protects the account when configured limits are reached.

6 new topics on forum:

and 3 more...

Published article "How to Use Finite Differences for Price Forecasting".

How to Use Finite Differences for Price Forecasting

The article examines the practical application of finite differences in trading: types of differences, their relationship to price dynamics, and the binomial transform for noise filtering. The rules for encoding patterns based on difference levels and the application of these patterns to forecasting are described. This section presents naive, adaptive, and probabilistic approaches that help smooth time series, identify recurring patterns, and estimate future movements.

Published article "LLM-Based Trading Agent with Embedded Top Trader Philosophy".

LLM-Based Trading Agent with Embedded Top Trader Philosophy

The article provides a critical analysis of an LLM strategy in which forecasting the direction is separated from trading decisions, and demonstrates why this leads to a disconnect between metrics and PnL. We will describe procedures for dataset balancing, feature engineering, prompt and response preparation, fine-tuning configuration in Ollama, and reliable parsing. Backtesting and forward testing reveal systematic degradation. The practical conclusion is that the problem must be formulated as a direct optimization of trading outcomes.

Published article "Developing a Reusable Dynamic Volatility Trailing Stop Engine in MQL5".

Developing a Reusable Dynamic Volatility Trailing Stop Engine in MQL5

This article presents a modular, object-oriented volatility trailing stop engine for MQL5 packaged as a reusable include class, it calculates dynamic stop-loss levels using a True Range average filter on closed bars, supports step-based trailing, includes a visual diagnostic indicator, and provides an Expert Advisor execution template.

Published article "From Basic to Intermediate: Operator Overloading (III)".

From Basic to Intermediate: Operator Overloading (III)

In this article, we will examine how to implement overloading for both logical operators and comparison operators. This requires a certain amount of caution and a fair amount of attention. Even a minor oversight when implementing the overloading of these operators can render the entire code completely unusable. If any problems arise in the overloading, the entire database created from the results generated by the code will have to be either discarded completely or, at the very least, reviewed in full.

Published article "Market Replay: Unity Is Strength (I)".

Market Replay: Unity Is Strength (I)

We're entering the home stretch. The development of the replay/simulation system is nearly complete. Of course, we still have a few things left to finish, but compared to everything we've already done, completing what's left won't be difficult. However, it is essential to fully absorb and understand everything covered in this article. So I hope you enjoy reading this and, above all, that you enjoy this final stage of the journey.

Published article "Building a Session Performance Analytics Dashboard in MQL5".

Building a Session Performance Analytics Dashboard in MQL5

This article builds an MQL5 dashboard that classifies closed deals into Sydney, Tokyo, London, and New York trading sessions by UTC close time. It computes per-session P&L, win rate, and average hold time, then renders the results as a persistent CCanvas bar chart with an account-wide summary row, alongside an Experts tab summary table. A verification script confirms the classification and metrics logic behaves correctly.

Published article "Defining your Edge (Part 6): Harnessing Fourier Transform and a Spiking Neural Network in an Expert Advisor".

Defining your Edge (Part 6): Harnessing Fourier Transform and a Spiking Neural Network in an Expert Advisor

Article revisits Trading Robot that merged Discrete Fourier Transform with Leaky Integrate-and-Fire Spiking Neural Network. Evaluation is made over the seven operating modes with different symbols, timeframes, and test windows. We use two-thirds of the test window to optimize while the one-third does a forward walk run. This study tries to detail parameter interactions, input scaling, gating effects, and outlines practical checks that include rolling windows, frozen inputs, and others. The goal remains identifying settings worth further testing or paper trading.

Published article "From Basic to Intermediate: Operator Overloading (II)".

From Basic to Intermediate: Operator Overloading (II)

At first, this article may seem rather confusing because of the material I'm going to cover in it. Nevertheless, I've tried to explain everything as simply and clearly as possible. I hope you'll understand what I'm about to show you here, and that it will come in handy someday.

Published article "Market Simulation: Position View (XIX)".

Market Simulation: Position View (XIX)

One of the issues that bothered me the most was that the `C_ElementsTrade` class contains code for accessing positions. Don't take this as a mistake, because it really isn't one. However, this increases the risk of errors in some of the tasks we will need to handle later. All work on implementing the position indicator was carried out with a view to its use in the replay/simulation service. However, when running in this environment, we will have no access to actual positions. Consequently, any call to the MQL5 library intended to retrieve position data will have no effect in this environment.

Published article "Neural Networks in Trading: Heterogeneity-Informed Meta-Parameter Learning (Conclusion)".

Neural Networks in Trading: Heterogeneity-Informed Meta-Parameter Learning (Conclusion)

The article describes a practical implementation of the HimNet framework based on MQL5, ready for integration into automated trading. We demonstrate how heterogeneity-adapted meta-parameters transform the model into a universal tool capable of handling fluctuating volatility.

More than 1200 new charts published:

차트 BTCUSD, H1, 2026.09.21 13:01 UTC, Tradexfin Limited, MetaTrader 4, Real
BTCUSD, H1
차트 XAUUSD.str, M5, 2026.09.21 12:59 UTC, Strifor SVG LLC, MetaTrader 5, Demo
XAUUSD.str, M5
チャート AUDJPY, M15, 2026.09.21 12:56 UTC, Royal ETP LLC, MetaTrader 5, Demo
AUDJPY, M15

The most downloaded free products:

There are more than 61,170 products available in Market

Bestsellers in the Market:

29 new signals now available for subscription:

Opal
106% 1998 trades
Growth:105.83%
Equity:388.14USD
Balance:388.14USD
Prime market flow
64% 68 trades
Growth:63.84%
Equity:81.92USD
Balance:81.92USD
CcF FX VIP
39% 316 trades
Growth:38.70%
Equity:659.25USD
Balance:693.29USD
and 26 more...

New publications in CodeBase

  • Spread Monitor for Scalpers Spread histogram in a sub-window with current/avg/max/min stats, cost per trade, and threshold alerts for scalpers.
  • RiskGuard Lite - Percent-Risk EMA/ATR EA Educational MT5 EA: closed-bar EMA crossover entries, ATR-based stop loss and take profit, lot size from a fixed percent of equity via OrderCalcProfit, spread filter, magic-number isolation and server return-code checks. A clean template for building risk-controlled EAs. No profit claim.
  • Session Candle Counter: candles numbered from the cash open, DST aware Numbers every candle of the current trading day starting at the cash open of Frankfurt, London, New York or Tokyo. The anchor is converted from exchange local time to broker server time with automatic daylight saving, so the first candle after the open is always number one, in summer and in winter.
  • PropFirm Equity Protector – Institutional Risk Manager (Open Source) Professional Utility EA for prop firm risk management. It features daily equity monitoring, phased mitigation of losing positions, and absolute hard stops via a self-healing graphical dashboard.
  • One-Click Trade Manager — risk-based lot size with entry, stop and target in one click Works out the lot from your risk percent and the stop distance, then opens the trade with the stop loss and take profit already attached. Never trades by itself.
  • Semi-HFT Grid Bot Two-sided seed-bump-martingale grid with basket take profit A two-sided grid EA that lays a small symmetric ladder of pending stop orders around the current price, then escalates in two stages as fills accumulate: first a single opposite-side lot "bump," then a full martingale doubling sequence with two extra grid levels added. The whole basket is watched as one unit and closed the moment its combined floating profit reaches a target, after which a fresh grid re-arms automatically. Built with separate, auto-selected input profiles for XAUUSD and NAS100/US100, since the two symbols need very different lot sizes, grid spacing, and broker minimum-distance handling.
There are more than 155,080 topics available on forum

4 new topics on forum:

and 1 more...
There are more than 3,400 articles published on site

Published article "How to Obtain Synchronized Arrays for Use in Portfolio Trading Algorithms".

How to Obtain Synchronized Arrays for Use in Portfolio Trading Algorithms

The article describes a practical approach to synchronizing bars between instruments in a portfolio in MQL5. Classes are provided for loading, storing, and aligning OHLCV data, with options to use an empty bar or carry over values from the previous bar, select a synchronization symbol, and process new bars asynchronously. Examples of use in multi-chart and basket indicators are shown. Readers receive a ready-to-use API for reliable portfolio calculations.

Published article "From Option Chain to Risk-Neutral Density: The Market's Own Probability Distribution".

From Option Chain to Risk-Neutral Density: The Market's Own Probability Distribution

The article builds an MQL5 indicator that recovers the risk-neutral density from an option chain via the Breeden–Litzenberger identity. Quotes are inverted to implied volatilities, the smile is smoothed and priced back to arbitrage‑free calls, and the second derivative yields the density. The tool reports probabilities above any level, the expected move, skew and kurtosis, and overlays the realized-return distribution for comparison.

Published article "Neural Networks in Trading: Heterogeneity-Informed Meta-Parameter Learning (Key Components)".

Neural Networks in Trading: Heterogeneity-Informed Meta-Parameter Learning (Key Components)

In this article, we take a detailed look at the algorithms used to implement the key components of the HimNet framework. We demonstrate how, with a minimal number of trainable components, a high degree of consistency and controllability can be achieved throughout the entire system. The presented implementation is compact and transparent, which makes it easier to adapt to real-world market tasks.

Published article "Building a News Filter Engine in MQL5 Using a Local Economic Calendar File".

Building a News Filter Engine in MQL5 Using a Local Economic Calendar File

A file-based news filter for MQL5 reads a pre-downloaded Forex Factory CSV from MQL5/Files, avoiding fragile web scraping and paid APIs. It provides a modular CNewsFilter with a quote-aware CSV parser, suffix-robust currency extraction, an inclusive time-window checker with clear block reasons, and chart zones for today's events. A demo EA and assertion tests help you integrate and verify offline filtering around scheduled releases.

Published article "Automating Classic Market Methods in MQL5 (Part 8): Ed Seykota's Trend Following System".

Automating Classic Market Methods in MQL5 (Part 8): Ed Seykota's Trend Following System

The article presents a full MQL5 implementation of a multi-symbol trend system: dual EMA crossovers for entries, ADX to avoid ranges, ATR to normalize position size, and a heat monitor to cap total portfolio risk. We explain the architecture, calculation details, and entry/exit logic on daily bars. The result is a practical EA template for systematic, risk-aware portfolio trading.

Published article "Developing a Multi-Currency Expert Advisor (Part 31): Secrets of the Optimization Project Creation Step (I)".

Developing a Multi-Currency Expert Advisor (Part 31): Secrets of the Optimization Project Creation Step (I)

The article examines two practical aspects of the Adwizard-based optimization pipeline: diagnostics and recovery after failures when generating the final Expert Advisor database, as well as preliminary selection of strategy parameter ranges before project creation. It is shown how analyzing the stages/jobs/tasks tables in SQLite and restarting stages based on their statuses help restore the process, while trial optimization narrows the search space, eliminates redundant parameters, and reduces the risk of getting stuck at local maxima.

Published article "From Basic to Intermediate: Queues, Lists, and Trees (VIII)".

From Basic to Intermediate: Queues, Lists, and Trees (VIII)

In this article, we will examine how to implement a tree balancing algorithm. Here, I will present my own version of an implementation of this algorithm. There are many other algorithms that serve the same purpose. Nevertheless, each of them has its own advantages and disadvantages. You, my dear reader, will need to explore them and find the one that best suits your needs.

Published article "Market Simulation: Position View (XVIII)".

Market Simulation: Position View (XVIII)

In this article, I have shown—in the clearest possible way—how to modify and improve code capable of handling specific tasks while making as few changes as possible to the existing code. We will add a volume display and, at the same time, ensure that users or traders cannot effectively remove objects created by the position indicator.

There are more than 61,050 products available in Market

The most downloaded free products:

More than 1000 new charts published:

Gráfico NZDUSD, W1, 2026.09.19 00:22 UTC, Tradehall Limited, MetaTrader 5, Demo
NZDUSD, W1
图表 XAUUSD, H4, 2026.09.19 21:17 UTC, xChief Ltd, MetaTrader 5, Demo
XAUUSD, H4
Graphique Step Index, H1, 2026.09.20 15:38 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
Step Index, H1

Most downloaded source codes this week

  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • 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.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

Most read articles this week

Building a Bar Replay Tool in MQL5

Building a Bar Replay Tool in MQL5

This article shows how to build an interactive bar replay tool in MQL5 for MetaTrader 5 that reveals historical candles one by one without exposing future data. You will implement custom candles with DRAW COLOR CANDLES, an event-driven engine with OnChartEvent and OnTimer, a dashboard with Play/Pause, a draggable replay anchor, and Buy/Sell paper trading with SL/TP lines, while keeping the active bar in view to practice discretionary analysis and execution.

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.

2 new topics on forum:

Bestsellers in the Market:

New publications in CodeBase

  • RegimeRouter — trend/range classifier with a per-regime win rate ledger Classifies the market with ADX, the Hurst exponent and lag-1 autocorrelation, routes each bar to a breakout module or a mean-reversion module, and keeps a separate win rate ledger for each regime with a Wilson 95% lower bound, so you can see which half of it is actually working.
  • CSetupLedger: a per-setup win rate ledger for Expert Advisors Scores every setup type in your EA on its own record instead of lumping them into one equity curve. Rebuilds itself from the account's deal history on init so a restart cannot wipe the record. Prints a Wilson score lower bound next to the raw win rate so a three trade hot streak stops looking like an edge.

17 new signals now available for subscription:

CSM Strategic
40% 30 trades
Growth:40.22%
Equity:103.42USD
Balance:106.27USD
BTC THANOS
32% 274 trades
Growth:31.90%
Equity:167.94USD
Balance:167.94USD
MEGA BT BULLS MT4
22% 173 trades
Growth:22.03%
Equity:8,175.54CAD
Balance:8,175.54CAD
and 14 more...

The most downloaded free products:

1...121314151617181920212223242526...705