![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
You've filled a novice with useless information.)
Whether the information is useful or not is up to the beginner to decide
Well said, informative, thank you
This suggests that you should not flaunt your desires in such a way. Vladimir might as well have asked questions specifically about this or that function and received useful advice, rather than the nonsense of "experts" like learn C++ or learn assembler. You could start by studying punched cards.
Moving on:
Great!!! Vasily, you have a natural talent for teaching. Everything is clear and understandable, especially for those who are at a complete zero. Have you ever thought of writing a book similar to MQL4 Tutorial by Sergey Kovalev, only now it would be called MQL5 Tutorial by Vasily Sokolov?
Do you thinkthis subject matter will give a stimulus to such an initiative, don't you, Vasily?
Regards, Vladimir.
Vasily focuses your attention only on some particular aspects, believing that they are more important than others. For example, a Function or an Event. Read about Functions by S. Kovalev and you will find no less (and even more) detailed and accessible explanation, but without focusing on them, to the detriment of the other areas. Therefore, you have to read the textbook.
And you, Peter, can propose you and Vasily to do a good job together and write such a book on MQL5.
Writing a book is the best way to leave a trace in the history of mankind, particularly in the history of programming. Think about it!
Regards, Vladimir.
Peter, I propose you and Vasily to do a good job together and write such a book on MQL5.
Writing a book is the best way to leave a mark onhuman history, particularly in the history of programming. Think about it!
Regards, Vladimir.
Thanks for the offer, but Vasily easily "beats" me to a classical approach, which is exactly what I need in such a book. I can offer only abstract understanding of Object and Environment in their dynamic interaction through the prism of programming, but it will be the final chapter. ))))
I see. Now I would like to know Vasily's opinion on my book proposal.
I am currently studying his article "Universal Trading Expert Advisor: Working with Custom Trailing Stops (Part 6)".
Sincerely, Vladimir.
Continued at
It was clear from the post above that the focus was on functions. Everything was devoted to them and nothing but them. One might think that this is an obvious subjective bias or some arcane "philosophy". However, there is no philosophy here. And such attention to functions is not accidental. The point is that in programming, function is of fundamental importance. Moreover, the function is a very important and fundamental notion in mathematics. In the 20s of the last century, Alonzo Church developed a system of calculus based on functions. This was called lambda-calculus. This system formalized the notion of calculability and tightly bound computer calculations and mathematics. The leading programmers of the world developed so-called functional programming languages based on lambda-calculus, in which functions take the leading place. For example, in a functional Haskell programming language, there is not even a for loop or something similar. Instead, it is proposed to call a function in a special way, recursively, to calculate the desired value. It can be proven that with only functions and no assignment, it is possible to write a Turing complete programming language. This is a language that would allow to write everything that is possible in any other turing-complete language, such as procedural or OOP language.
MQL is not a functional language, but rather a procedural one, extensible by classes, with strict typing and rich subject-oriented API (in the form of the same functions, oh surprise). On the other hand, the theory of functions is based on a solid mathematical foundation and offers simple and effective patterns of using any programming language where there are functions, so it is at least not far-sighted to abandon functions and mathematical basis behind them. This is why I pay so much attention to functions. It doesn't matter how well you understand the array design, or if you make a mistake with a certain data type. This can be quickly fixed and corrected. But if you don't understand functions and how they are related, you won't even become an average programmer.
Thus, to learn how to normally prog, ie linearly over time to expand the functionality of your program, you need to learn the following:
Functions seem simple. "What's there to learn. You just need to read a paragraph here, and that's all. And then arrays, for, while..." - No, they're not. Functions do seem simple (and that's fine). But for them to really solve tasks efficiently, functions must have certain properties and be combined with each other in a certain way. How to do all this perhaps I will write later.
I see. Now I would like to know Vasily's opinion on my book proposal.
I am currently studying his article "Universal Trading Expert Advisor: Working with Custom Trailing Stops (Part 6)".
Sincerely, Vladimir.
No. There will be no book. Maybe some articles. But not in the nearest time for sure.
Peter, I can suggest you and Vasily to do a good job together and write such a book on MQL5.
I don't think so. My views with Peter and I are too different. You can take a look at some of our codes to see how different they are.)