Bestsellers in the Market:
Most downloaded source codes this month
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
- b-clock Show minutes and seconds left before new candle is appeared.
- 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.
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.

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.
The most popular forum topics:
1 new signal now available for subscription:
Published article "DoEasy. Controls (Part 16): TabControl WinForms object — several rows of tab headers, stretching headers to fit the container".
In this article, I will continue the development of TabControl and implement the arrangement of tab headers on all four sides of the control for all modes of setting the size of headers: Normal, Fixed and Fill To Right.
Published article "Data Science and Machine Learning (Part 08): K-Means Clustering in plain MQL5".

Data mining is crucial to a data scientist and a trader because very often, the data isn't as straightforward as we think it is. The human eye can not understand the minor underlying pattern and relationships in the dataset, maybe the K-means algorithm can help us with that. Let's find out...
The most downloaded free products:
Bestsellers in the Market:
3 new signals now available for subscription:
| Growth: | 99.26 | % |
| Equity: | 7,037.11 | AUD |
| Balance: | 7,040.59 | AUD |
Published article "Learn how to design a trading system by Fractals".

This article is a new one from our series about how to design a trading system based on the most popular technical indicators. We will learn a new indicator which Fractals indicator and we will learn how to design a trading system based on it to be executed in the MetaTrader 5 terminal.
Published article "DIY technical indicator".

In this article, I will consider the algorithms allowing you to create your own technical indicator. You will learn how to obtain pretty complex and interesting results with very simple initial assumptions.
The most downloaded free products:
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.
- PivotPoint This indicator draws pivot points, resistances and supports.
- MACD Histogram, multi-color [v04] MACD indicator with MACD line, Signal line and multi-color histogram.
Most read articles this week

Learn how to design a trading system by Alligator
In this article, we'll complete our series about how to design a trading system based on the most popular technical indicator. We'll learn how to create a trading system based on the Alligator indicator.

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
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:
The most popular forum topics:
- Machine learning in trading: theory, models, practice and algo-trading 31 new comments
- SendNotification() throws "function is not allowed for call" 10 new comments
- Writing data to a certain line in a file 7 new comments
Bestsellers in the Market:
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- Open Order With Trade Management A Simple Trade Management Script
- Closing All Open Orders This Script Closed All Open Orders At Once (Except Pending Orders)
Published article "Market math: profit, loss and costs".

In this article, I will show you how to calculate the total profit or loss of any trade, including commission and swap. I will provide the most accurate mathematical model and use it to write the code and compare it with the standard. Besides, I will also try to get on the inside of the main MQL5 function to calculate profit and get to the bottom of all the necessary values from the specification.
Published article "Developing a trading Expert Advisor from scratch (Part 27): Towards the future (II)".

Let's move on to a more complete order system directly on the chart. In this article, I will show a way to fix the order system, or rather, to make it more intuitive.
The most downloaded free products:
Bestsellers in the Market:
The most popular forum topics:
- Machine learning in trading: theory, models, practice and algo-trading 45 new comments
- VPS Ping 11 new comments
- Questions from Beginners MQL5 MT5 MetaTrader 5 11 new comments
Bestsellers in the Market:
Published article "DoEasy. Controls (Part 15): TabControl WinForms object — several rows of tab headers, tab handling methods".
In this article, I will continue working on the TabControl WinForm object — I will create a tab field object class, make it possible to arrange tab headers in several rows and add methods for handling object tabs.
Published article "Developing a trading Expert Advisor from scratch (Part 26): Towards the future (I)".

Today we will take our order system to the next level. But before that, we need to solve a few problems. Now we have some questions that are related to how we want to work and what things we do during the trading day.
Published article "Developing a trading Expert Advisor from scratch (Part 25): Providing system robustness (II)".

In this article, we will make the final step towards the EA's performance. So, be prepared for a long read. To make our Expert Advisor reliable, we will first remove everything from the code that is not part of the trading system.
The most downloaded free products:
Bestsellers in the Market:
Most downloaded source codes this month
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
- VWAP - Volume Weighted Average Price VWAP is an intra-day calculation used primarily by algorithms and institutional traders to assess where a stock is trading relative to its volume weighted average for the day.
- News Detector for Mt4 & MT5 One code that works for both Mt4 and Mt5 combined. Salient features of the code: -Filter News by High, Low or Medium Volatility -Filter By currencies -Filter by News Keyword -Auto GMT offset check -Dashboard to show upcoming News (Can be enabled or disabled) -Lines on chart for all Upcoming events -Code can be easily modified to place trade at certain time before or after an event or to just stop trading during events.
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.
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.

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.
Published article "Developing a trading Expert Advisor from scratch (Part 24): Providing system robustness (I)".

In this article, we will make the system more reliable to ensure a robust and secure use. One of the ways to achieve the desired robustness is to try to re-use the code as much as possible so that it is constantly tested in different cases. But this is only one of the ways. Another one is to use OOP.

























