Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1596
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
Vladimir, just in case I ask: do you understand the difference between the terms "MQL5 programming language developer" and "developer using the MQL5 programming language"? I was talking about the former, and you probably meant the latter. But I could be wrong, of course.
I answered from my smartphone during the day, and it is not quite convenient to write long texts on it. Now I'll answer more thoroughly. I had the desire to understand at the developer's level back in the times of the Soviet Union, when I worked as an electronic engineer and studied the element base of EC series computers. It seemed to be enough to know that microcircuit K155LA3 has 4 logic elements 2I-NE, but I had to "get into" the circuit solution of one of the logic elements to understand more deeply all the processes that occur when input signals arrive. This made it possible not to stupidly change the first microcircuit suspected of malfunction, but to change it with understanding. Although in the Soviet Union there were no problems with spare parts and microcircuits, but when I came to a call, I saw how local electronic engineers were watching me and evaluating all my actions from the outside. If I had stupidly changed all chips suspected of malfunctioning, it would have taken considerable time and the machine (in the sense of the computer) would be idle. Just throwing the board from the spare parts and leaving the object was considered a mauvais in our time, because the faulty board had to be repaired later anyway. The highest class in repair was considered to be quick fault detection and its elimination, but not at the expense of spare parts. The board from the spare parts was usually used to localise the problem, and then everything depended on the level of training. That's why we had to study the element base at the developer's level. )
By the way, after I finished the repair, local electronic engineers almost always came up and clarified why I had changed that particular microcircuit and not another one.
For a complete understanding of the whole picture, our RDC received a repair request only when the local electronic technicians could no longer eliminate the fault on their own.
Regards, Vladimir.
Explain. I don't get it.
Pay attention to the last parameter: type of price for calculation, or indicator handle.
I.e. MA is calculated either on the data of the specified price, or on the data of the indicator, the handle of which is passed to the function.
What difference does it make which place this parameter is placed in the function?
and I was thinking about the wrong thing.
The desire to understand at the developer level
according to classical classics - a handle is a pointer (index) of some table where there are more detailed descriptors, the essence of which an application developer does not need to know :-) In especially lazy systems - just a pointer :-) Academically: unique objects marshalled in int/long.
and not classically there is no table and they are mixed and random.
in ancient systems the interrupt number is an index in the interrupt table. cin,cout,cerr and other file ones are numbers in the table of process file descriptors. Also handles.
It is absolutely senseless to draw any (even any) conclusions from their numerical representation. Comparing them by more/smaller is also silly. Only on equality=equivalence
According to the classical classics - a handle is a pointer (index) of some table where there are more detailed descriptors, the essence of which an application engineer does not need to know :-) In especially lazy systems - just a pointer :-) Academically: unique objects marshalled in int/long
and not classically there is no table and they are mixed and random.
in ancient systems the interrupt number is an index in the interrupt table. cin,cout,cerr and other file ones are numbers in the table of process file descriptors. Also handles.
It is absolutely senseless to draw any (even any) conclusions from their numerical representation. Comparing them by more/smaller is also silly. Only on equality=equivalence
Thanks, Maxim!
Everything is clear, but I'd better go and shoot myself! )))
Regards, Vladimir.
Handle, from the English word hand.
From the English-Russian dictionary:
Handel, as a noun: handle, handle, handle, handle.
Handel, as a verb: to take with one's hands, to hold in one's hands, to do something with one's hands, to control, to regulate.
For example, handle-bar is the handlebars of a bicycle.
Handel can be compared to the number on a football player's back. Computer, aka -- iron. The name and surname are "chiselled" for him, but he can cope with numbers.
The same football player, but the computer just addresses/communicates with him by number.
Handle can be compared to the number on a football player's back. A computer, aka -- iron. The name and surname are "tooth-grinding" for him, but he can cope with the numbers with flying colours.
The same football player, but the computer just addresses/communicates with him by number.
Basically, I'm already clear on the handle thing. ) Thanks!
Regards, Vladimir.
as it is in translation - handle...as from a suitcase - the suitcase is taken by the handle, system (and not only) objects by handles. A well-established term.
handles represented in int or long can only be compared for equivalence and correctness.
(if two numeric representations are equal, we are talking about handles of one suitcase, if a handle has a special value, 0 or -1 as a tradition, it means "handle without suitcase").
Hello Maxim, I have finally found the most understandable explanation of what a handle is in one article on the MQL5 website.
Handle is a unique identifier created to work with the indicator we need. It is represented as an integer and stored in a variable of type int. There are 2 ways to obtain an indicator handle in MQL5: Calling the function IndicatorCreate(), which will return the indicator handle if successful, or -1 if unsuccessful. Calling one of the technical indicator functions. The result is the same.Regards, Vladimir.
Hello Maxim, I have finally found the clearest explanation of what a handle is in one article on the MQL5 website.
Regards, Vladimir.
Hello, Vladimir.
Your last post may well illustrate the difficulty that authors of educational materials inevitably face: it is not known what set of concepts a potential reader can operate with. Based on your words in your last post, you have a normal idea of the meaning of the foreign word "identifier". Though judging by your question about the word "handle", it was impossible to assume such a thing in advance. That's why everyone who tried to answer you tried to randomly choose some different set of basic concepts that you most likely know exactly. And on their basis to give you a definition of hendle that is understandable to you. Hence the differences in explanations.