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

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

This article examines the use of subwindows in MetaTrader 5 in detail and shows how the calculation direction in OnCalculate affects indicator buffers and the plotting of averages. Practical examples explain how indicators are linked using FIRST INDICATOR’S DATA and PREVIOUS INDICATOR’S DATA, the effect of cascading removal of dependent indicators, and how indicator_separate_window behaves. Readers will learn how to diagnose display issues and create indicators that work correctly in subwindows.

In the previous article, From Basic to Intermediate: Subwindows (I), we began discussing subwindows. Although this was just a brief introduction, what we saw there is extremely important for understanding what comes next. No matter how simple this introductory section may seem, don't assume that you already know how to work with subwindows just because you can do a few simple things with them. Subwindows open up some very interesting possibilities, and if you plan their use carefully in your code, you can implement solutions that would otherwise be impossible—or at least not as easy to implement.

Well, I don't want to digress for too long before getting to the main topic, so let's continue with our ritual. It's time to set aside all distractions and focus on what I'm about to explain. So, let's get down to business.


Author: CODE X