Discussing the article: "From Basic to Intermediate: Subwindows (IV)"

Check out the new article: From Basic to Intermediate: Subwindows (IV).

In this article, we'll see that things aren't quite what many people initially think they are. One of the most interesting aspects of programming is that we can guarantee that everything will always turn out exactly as we planned. So please read this article carefully to understand some of the most confusing concepts related to the use of subwindows. If you understand what is explained here, you'll be able to understand much of what we'll be doing next.

In the previous article, “From Basic to Intermediate: Subwindows (III)”, we explained how to handle certain situations involving subwindows. The main idea of that article revolves around the properties we can assign to a specific indicator. These properties allow us to tell the compiler how a particular subwindow should or should not be created.

As explained in the previous article, there are times when WE DO NOT WANT our indicator to have a second instance. We'll take a closer look at this type of situation in another article later on, when we start using certain properties to better control what MetaTrader 5 actually needs to do.

So we still have a lot to cover from what I consider to be the fundamentals of MQL5. Although MetaTrader 5 was primarily designed as a trading platform, we can make many changes to use it for a completely different purpose.

Remember that we can make MetaTrader 5 do anything. In many cases, we will have to resort to methods that go beyond what MQL5 offers by default. In such cases, we'll have to switch to C or C++ and use some method to link the MQL5 code with C or C++. Once you've done that, the gates of paradise—or perhaps hell—will open before you.



Author: CODE X

Write an article on how to create two sub-windows in a single indicator; that would be a real step forward!

Write an article on how to create two subwindows in a single indicator – that would be progress!