CODE X / Publications
Articles
From Basic to Intermediate: Queues, Lists, and Trees (VIII) for MetaTrader 5
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
From Basic to Intermediate: Queues, Lists, and Trees (VII) for MetaTrader 5
In this article, we will clearly and simply demonstrate and explain how to remove a node from a tree. This process usually confuses beginners rather than helping them understand how it's done and why it needs to be done that way
From Basic to Intermediate: Queues, Lists, and Trees (VI) for MetaTrader 5
In this article, we will return to the tree implementation. Now that we are familiar with the basic principles of constructors and destructors, we can finally fix the code presented in the previous article. Get ready for a real adventure in MQL5 programming
From Basic to Intermediate: Classes (III) for MetaTrader 5
In this article, we will explore the best ways to manage code when working with object-oriented programming. Although we are just beginning to learn about object-oriented programming, what we will cover here will help you understand its various aspects. This will also help dispel any doubts that may
From Basic to Intermediate: Classes (II) for MetaTrader 5
This article is intended to be as educational as possible, since the topic we will be discussing often causes considerable confusion in itself. Therefore, dear reader, please try to put what is explained here into practice. If you have any questions, be sure to leave a comment—after all
From Basic to Intermediate: Classes (I) for MetaTrader 5
In this article, we explain what a class is and why this concept came about. Although the topic is interesting, we will focus here on the principles underlying MQL5 programming. This article is just an introduction
From Basic to Intermediate: Queues, Lists, and Trees (V) for MetaTrader 5
In this article, we implemented the first components of a tree structure. Since I realize that this structure can be very complex at the beginning of the learning process, we will introduce it gradually, step by step. This way, everyone will be able to understand how a tree works and when it is best
From Basic to Intermediate: Queues, Lists, and Trees (IV) for MetaTrader 5
In this article, we will conclude the section on the implementation and explanation of the linked list. However, the implementation presented here omits one detail that can be implemented in a linked list. We will discuss this later, in another article
From Basic to Intermediate: Queues, Lists, and Trees (III) for MetaTrader 5
In this article, we will take the next step in understanding what a linked list is and how it works. Although the content of this article may seem rather complex and confusing to beginners, I will try to explain it in the simplest terms possible. This will help you understand why and when to use
From Basic to Intermediate: Queues, Lists, and Trees (II) for MetaTrader 5
This is an article that you, dear reader, should study carefully. That is due to the nature of the material presented here. Although we have tried to present the material as simply and informatively as possible, the information provided here can certainly seem quite complex to those who are just









