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.

Published article "Statistical Arbitrage Through Mean Reversion in Pairs Trading: Beating the Market by Math".

Statistical Arbitrage Through Mean Reversion in Pairs Trading: Beating the Market by Math

This article describes the fundamentals of portfolio-level statistical arbitrage. Its goal is to facilitate the understanding of the principles of statistical arbitrage to readers without deep math knowledge and propose a starting point conceptual framework. The article includes a working Expert Advisor, some notes about its one-year backtest, and the respective backtest configuration settings (.ini file) for the reproduction of the experiment.

There are more than 149,780 topics available on forum

9 new topics on forum:

and 6 more...

The most downloaded free products:

Bestsellers in the Market:

The most popular forum topics:

8 new signals now available for subscription:

Happy Signal
37,081% 727 trades
Growth:37,081.41%
Equity:371,814.13USD
Balance:371,814.13USD
THPX3
2,418% 3518 trades
Growth:2,418.22%
Equity:7,061.87USD
Balance:7,061.87USD
TERNAKxau
202% 1364 trades
Growth:201.60%
Equity:4,005.01USD
Balance:9,444.62USD
and 5 more...

Published article "From Basic to Intermediate: The Include Directive".

From Basic to Intermediate: The Include Directive

In today's article, we will discuss a compilation directive that is widely used in various codes that can be found in MQL5. Although this directive will be explained rather superficially here, it is important that you begin to understand how to use it, as it will soon become indispensable as you move to higher levels of programming. The content presented here is intended solely for educational purposes. Under no circumstances should the application be viewed for any purpose other than to learn and master the concepts presented.

Published article "Atmosphere Clouds Model Optimization (ACMO): Theory".

Atmosphere Clouds Model Optimization (ACMO): Theory

The article is devoted to the metaheuristic Atmosphere Clouds Model Optimization (ACMO) algorithm, which simulates the behavior of clouds to solve optimization problems. The algorithm uses the principles of cloud generation, movement and propagation, adapting to the "weather conditions" in the solution space. The article reveals how the algorithm's meteorological simulation finds optimal solutions in a complex possibility space and describes in detail the stages of ACMO operation, including "sky" preparation, cloud birth, cloud movement, and rain concentration.

New publications in CodeBase

  • Chande Kroll Stop Chande Kroll Stop indicator - stop levels for short and long positions.
  • PriceChanges changing character prices on an interval
  • Second Bars The indicator draws an arbitrary second timeframe on the chart.
  • Uniformity Factor Indicator This is a simple analytical (non-signal, one-time calculated) indicator that allows you to test the hypothesis that price timeseries represent a "random walk", specifically Gaussian "random walk". This can help to construct a parametric transformation of price increments into evenly distributed, more stable and predictable time series, at least in terms of volatility.

More than 600 new charts published:

图表 XAUUSD, M5, 2025.04.08 02:24 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, M5
チャート XAUUSD-VIPc, M5, 2025.04.09 07:08 UTC, VT Markets Pty Ltd, MetaTrader 4, Real
XAUUSD-VIPc, M5
チャート EURUSD, M5, 2025.04.09 07:49 UTC, Valutrades Limited, MetaTrader 4, Real
EURUSD, M5
There are more than 33,440 products available in Market

The most downloaded free products:

Bestsellers in the Market:

6 new topics on forum:

and 3 more...

Published article "Neural Networks in Trading: Point Cloud Analysis (PointNet)".

Neural Networks in Trading: Point Cloud Analysis (PointNet)

Direct point cloud analysis avoids unnecessary data growth and improves the performance of models in classification and segmentation tasks. Such approaches demonstrate high performance and robustness to perturbations in the original data.

Published article "Quantitative approach to risk management: Applying VaR model to optimize multi-currency portfolio using Python and MetaTrader 5".

Quantitative approach to risk management: Applying VaR model to optimize multi-currency portfolio using Python and MetaTrader 5

This article explores the potential of the Value at Risk (VaR) model for multi-currency portfolio optimization. Using the power of Python and the functionality of MetaTrader 5, we demonstrate how to implement VaR analysis for efficient capital allocation and position management. From theoretical foundations to practical implementation, the article covers all aspects of applying one of the most robust risk calculation systems – VaR – in algorithmic trading.

Published article "Price Action Analysis Toolkit Development (Part 19): ZigZag Analyzer".

Price Action Analysis Toolkit Development (Part 19): ZigZag Analyzer

Every price action trader manually uses trendlines to confirm trends and spot potential turning or continuation levels. In this series on developing a price action analysis toolkit, we introduce a tool focused on drawing slanted trendlines for easy market analysis. This tool simplifies the process for traders by clearly outlining key trends and levels essential for effective price action evaluation.

The most downloaded free products:

12 new topics on forum:

and 9 more...

Most downloaded source codes this month

  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.

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.

Bestsellers in the Market:

Published article "Creating a Trading Administrator Panel in MQL5 (Part IX): Code Organization (IV): Trade Management Panel class".

Creating a Trading Administrator Panel in MQL5 (Part IX): Code Organization (IV): Trade Management Panel class

This discussion covers the updated TradeManagementPanel in our New_Admin_Panel EA. The update enhances the panel by using built-in classes to offer a user-friendly trade management interface. It includes trading buttons for opening positions and controls for managing existing trades and pending orders. A key feature is the integrated risk management that allows setting stop loss and take profit values directly in the interface. This update improves code organization for large programs and simplifies access to order management tools, which are often complex in the terminal.

Published article "Neural Networks in Trading: Hierarchical Vector Transformer (Final Part)".

Neural Networks in Trading: Hierarchical Vector Transformer (Final Part)

We continue studying the Hierarchical Vector Transformer method. In this article, we will complete the construction of the model. We will also train and test it on real historical data.

2 new signals now available for subscription:

CS EA
21% 504 trades
Growth:20.75%
Equity:10,237.90USD
Balance:10,257.88USD
FortuneStone
-45% 4835 trades
Growth:-45.46%
Equity:1,167.91AUD
Balance:1,090.28AUD

The most downloaded free products:

More than 500 new charts published:

Chart EURUSD, H1, 2025.04.05 05:36 UTC, InstaForex, MetaTrader 4, Real
EURUSD, H1
Chart XAUUSD, W1, 2025.04.06 10:04 UTC, RoboForex Ltd, MetaTrader 5, Demo
XAUUSD, W1
Chart US Tech 100, W1, 2025.04.05 10:54 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
US Tech 100, W1

Bestsellers in the Market:

There are more than 33,380 products available in Market

7 new topics on forum:

and 4 more...

The most popular forum topics:

3 new signals now available for subscription:

BlueActionX
109% 241 trades
Growth:108.57%
Equity:665.92USD
Balance:667.97USD
EA Happy Breakout TMGM
42% 399 trades
Growth:41.55%
Equity:14,153.76USD
Balance:14,153.76USD
BigMarket
23% 286 trades
Growth:23.32%
Equity:1,287.83USD
Balance:1,287.83USD
There are more than 2,070 articles published on site

Published article "MQL5 Wizard Techniques you should know (Part 59): Reinforcement Learning (DDPG) with Moving Average and Stochastic Oscillator Patterns".

MQL5 Wizard Techniques you should know (Part 59): Reinforcement Learning (DDPG) with Moving Average and Stochastic Oscillator Patterns

We continue our last article on DDPG with MA and stochastic indicators by examining other key Reinforcement Learning classes crucial for implementing DDPG. Though we are mostly coding in python, the final product, of a trained network will be exported to as an ONNX to MQL5 where we integrate it as a resource in a wizard assembled Expert Advisor.

Published article "From Basic to Intermediate: BREAK and CONTINUE Statements".

From Basic to Intermediate: BREAK and CONTINUE Statements

In this article, we will look at how to use the RETURN, BREAK, and CONTINUE statements in a loop. Understanding what each of these statements does in the loop execution flow is very important for working with more complex applications. The content presented here is intended solely for educational purposes. Under no circumstances should the application be viewed for any purpose other than to learn and master the concepts presented.

Published article "Advanced Memory Management and Optimization Techniques in MQL5".

Advanced Memory Management and Optimization Techniques in MQL5

Discover practical techniques to optimize memory usage in MQL5 trading systems. Learn to build efficient, stable, and fast-performing Expert Advisors and indicators. We’ll explore how memory really works in MQL5, the common traps that slow your systems down or cause them to fail, and — most importantly — how to fix them.

The most downloaded free products:

Most downloaded source codes this week

  • Candlestick Analysis EA R1 This MT5 Expert Advisor combines multi-timeframe candlestick pattern analysis with fundamental event filtering to execute trades with disciplined risk management.
  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
  • PSAR Zigzag (Non lagging) A zigzag based on the trend change of the parabolic sar

Most read articles this week

Automating Trading Strategies in MQL5 (Part 12): Implementing the Mitigation Order Blocks (MOB) Strategy

Automating Trading Strategies in MQL5 (Part 12): Implementing the Mitigation Order Blocks (MOB) Strategy

In this article, we build an MQL5 trading system that automates order block detection for Smart Money trading. We outline the strategy’s rules, implement the logic in MQL5, and integrate risk management for effective trade execution. Finally, we backtest the system to assess its performance and refine it for optimal results.

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.

Bestsellers in the Market:

9 new topics on forum:

and 6 more...

2 new signals now available for subscription:

RAZOR EA
1,852% 1758 trades
Growth:1,852.00%
Equity:728.40USD
Balance:762.37USD
Val3980
1% 5841 trades
Growth:1.03%
Equity:30,532.70USD
Balance:30,532.70USD

The most downloaded free products:

Bestsellers in the Market:

There are more than 149,720 topics available on forum

5 new topics on forum:

and 2 more...

The most downloaded free products:

More than 300 new charts published:

차트 EURUSD.0, M5, 2025.04.04 15:37 UTC, Deriv.com Limited, MetaTrader 5, Demo
EURUSD.0, M5
Grafik SPX500, M5, 2025.04.04 18:52 UTC, Stratos Trading Pty. Limited, MetaTrader 4, Real
SPX500, M5
Chart XAUUSD+, M15, 2025.04.03 00:51 UTC, Startrader Financial Markets Limited, MetaTrader 4, Real
XAUUSD+, M15

Bestsellers in the Market:

1...697071727374757677787980818283...663