Most downloaded source codes this month
- iForexSessions Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
Most read articles this month

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.

In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.

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 "Data Science and Machine Learning (Part 22): Leveraging Autoencoders Neural Networks for Smarter Trades by Moving from Noise to Signal".

In the fast-paced world of financial markets, separating meaningful signals from the noise is crucial for successful trading. By employing sophisticated neural network architectures, autoencoders excel at uncovering hidden patterns within market data, transforming noisy input into actionable insights. In this article, we explore how autoencoders are revolutionizing trading practices, offering traders a powerful tool to enhance decision-making and gain a competitive edge in today's dynamic markets.
3 new signals now available for subscription:
The most downloaded free products:
The most popular forum topics:
- Machine learning in trading: theory, models, practice and algo-trading 96 new comments
- Discussing the article: "Two-sample Kolmogorov-Smirnov test as an indicator of time series non-stationarity" 25 new comments
- Let's discuss how to avoid memory leak in a C like language and possibly make this thread informative 13 new comments
Bestsellers in the Market:
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this week
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
- Geometric Moving Average MQL5 version of geometric moving average.
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
Most read articles this week

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.

In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.

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.
New publications in CodeBase
- Get Nth Closed Trade from the end in MT5 This EA will scan all the closed trades and then print the nth trade from the end
- Get Nth Active Trade from the end in MT5 This EA will scan all the open trades and then print the nth trade from the end
- Get Nth Closed Trade from the end in MT4 This EA will scan all the closed trades and then print the nth trade from the end
- Get Nth Active Trade from the end in MT4 This EA will scan all the open trades and then print the nth trade from the end
The most downloaded free products:
The most popular forum topics:
Bestsellers in the Market:
3 new signals now available for subscription:
New publications in CodeBase
- Check trading day end is reached This script will detect an end-of-trading day and notify
- Close biggest winning / losing trade in MT4 This script will scan all the open trades and then will close the biggest winning/losing trade
- Place Hedge Order of unbalanced positions in MT4 This script will place hedge trade of unbalanced type in MT4.
- Close or delete orders based on type in MT4 This script will close all active trades and delete pending orders based on the order type passed on the input.
- Sequentially Close all trades in MT4 This script will close all active trades sequentially. following the order in which they were opened
- Total Active / Closed orders by order type in MT4 This script will calculate the total active and closed orders based on order types
- Find the current winning / losing streak in MT4 Find the current winning / losing streak in MT4 based on filters
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- CCI with dynamic channels a very convenient way to filter out unnecessary signals of crossing levels
- Adaptive SMA improved version of the standard Simple moving average indicator with a lower delay based on: https://www.mql5.com/en/code/30844 (author: https://www.mql5.com/en/users/mladen)
2 new signals now available for subscription:
The most downloaded free products:
Bestsellers in the Market:
The most popular forum topics:
- Questions from Beginners MQL5 MT5 MetaTrader 5 25 new comments
- Machine learning in trading: theory, models, practice and algo-trading 15 new comments
- Scripts: Determine Broker's Daylight (DST) schedule 14 new comments
Published article "Developing a Replay System (Part 38): Paving the Path (II)".

Many people who consider themselves MQL5 programmers do not have the basic knowledge that I will outline in this article. Many people consider MQL5 to be a limited tool, but the actual reason is that they do not have the required knowledge. So, if you don't know something, don't be ashamed of it. It's better to feel ashamed for not asking. Simply forcing MetaTrader 5 to disable indicator duplication in no way ensures two-way communication between the indicator and the Expert Advisor. We are still very far from this, but the fact that the indicator is not duplicated on the chart gives us some confidence.
Published article "Custom Indicators (Part 1): A Step-by-Step Introductory Guide to Developing Simple Custom Indicators in MQL5".

Learn how to create custom indicators using MQL5. This introductory article will guide you through the fundamentals of building simple custom indicators and demonstrate a hands-on approach to coding different custom indicators for any MQL5 programmer new to this interesting topic.
Bestsellers in the Market:
The most downloaded free products:
3 new signals now available for subscription:
New publications in CodeBase
- RSI with channels standart RSI with dynamic levels
- MQL4 Implementation of onTrade Event Handler This is a simple code to mimic onTradeTransaction Event handler defined in MQL5
The most downloaded free products:
Most downloaded source codes this month
- iForexSessions Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).
- Slope Entry Points Indicator based on basic slope moving average and cloud around. Indicator shows two types of signals: prepearing - dot and entry - arrow.
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
Most read articles this month

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.

In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.

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.