Discussing the article: "From Basic to Intermediate: Objects (II)"

 

Check out the new article: From Basic to Intermediate: Objects (II).

In today's article, we will look at how to control some object properties in a simple way using code. We will also see how a custom application can place more than one object on the same chart. In addition, we will begin to understand the importance of assigning a short name to any indicator we plan to implement.

In the previous article From Beginner to Intermediate Level: Objects (I) we were introduced for the first time to the graphical objects available in MQL5, and we also demonstrated how these objects can be placed on a chart and manipulated in a relatively simple, although generally not very efficient, way. This is because we are not interested in building applications yet; our goal is to keep the code as simple and clear as possible.

I must admit that the previous article was quite interesting. However, it is nowhere near as complex as what we are going to do today. The point is that once we start manipulating and controlling objects through code, things that used to seem impossible become increasingly common.

But since we are still at the very beginning, there are a few points we need to deal with before we can unleash our imagination and turn MetaTrader 5 into something truly interesting from a programmer's point of view. From a user's point of view, what we are going to do may seem pointless. So, as usual, let us start a new topic.


Author: CODE X