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

 

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

In this article, we'll look at how you can do something very similar to what's implemented in languages like C, C++, and Java. I am talking about passing a virtually infinite number of parameters inside a function or procedure. While this may seem like a fairly advanced topic, in my opinion, what will be shown here can be easily implemented by anyone who has understood the previous concepts. Provided that they were really properly understood.

In the previous article From Basic to Intermediate: Arrays (III), we explained how to use arrays to pass data between functions and procedures. We also discussed some important details regarding initialization and basic precautions that should be taken to avoid creating unsustainable code in the long run. I believe many of you might think that what has been shown so far may have limited value or might rarely find practical application. But in this article, we're finally going to start having some real fun. Up until now, we've been applying certain concepts and simple rules in examples. But it's time for us to start diving into what MetaTrader 5 is really all about.

However, before we jump into practice, there are some things we need to see - the things many of you might not know, and others may have absolutely no idea how they work. Now, things start to become both more interesting and more complex. So, I ask that you approach the topics covered here and in the following articles with patience. Understanding what we're about to explore will greatly help you grasp other concepts that come into play when developing real-world applications for MetaTrader 5.

The first thing we'll explore is how to utilize memory better using arrays. Yes, we're still not finished with the topic of arrays. And if you thought this was something you could fully master quickly — forget it. This topic is broad and extensive. Therefore, we will continue covering arrays in smaller sections, together with other subjects as we move forward. This approach should help keep the material from becoming tiresome or overwhelming.


Author: CODE X