Discussing the article: "From Basic to Intermediate: Struct (III)"

 

Check out the new article: From Basic to Intermediate: Struct (III).

In this article, we will explore what structured code is. Many people confuse structured code with organized code, but there is a difference between these two concepts. This is exactly what will be discussed in this article. Despite the apparent complexity you may feel when first encountering this type of code writing, I have tried to approach the topic as simply as possible. However, this article is just the first step toward something greater.

In the previous article "From Beginner to Intermediate Level: Indicator (IV)", we showed how to do something in a simple and clear way that would be very difficult for many beginners. Now everyone knows a simple and easy way to bring their ideas to life. The goal was to create an indicator that, using colors, would display a certain trading system. Of course, there we showed how to implement the inside bar pattern. But this knowledge can be applied to any pattern where the candlestick color pattern indicates (or does not indicate) a trading opportunity.

Well, that was very interesting. However, I think we can address another issue that, in my opinion, is also quite fun and interesting. And we began to consider this issue at the end of the previous article. But we need to do a brief retrospective before moving on to the issue we will be addressing starting from this article.

In the articles about structures, especially on the website "From Beginner to Intermediate Level: Struct (II)", we explained how to work with structures to create record blocks. In those two articles, we mentioned that structures are a special type of data where you can place various information, but in a logical and simplified way. However, since we hadn't shown anything else before, delving into the details of structures would have been difficult and even unnecessary. But the previous article created a sufficient foundation for us to delve into some other issues. Essentially, we now want to show that structures can be used not only for organizing record data.


Author: CODE X