Errors, bugs, questions - page 2247
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
build 1755\1795 compiles without errors. So it's up to the doctor... Especially since it's fine without the template... and how could the template affect it?!
I am using 1816. Yes, it compiles in 1795 without any problems. Looked at another 1881 - it doesn't compile. So, about the doc, that was a strong point.
A usability example would be nice to see.
Since STL comes from C++, examples of usability can be seen there. The point of porting to MQL is to replicate as much as possible the principle of container abstraction and generalization of algorithms. In particular, you can simplify the programming style - write in one line what is otherwise usually written as several loops with calculations.
Since STL comes from C++, you can see examples of how to use it there.
Unfortunately, I don't understand this language.
Is it correct that in indicators global variables are reset to zero when the period is changed ????
In theory it should be like in EAs, they should not reset.....
How do I save the global variable data when I change period?
Guys, is it correct that the global variables are reset when you change period in the indicators ????
I find it abnormal that they are not zeroed in EAs
Such variables should be reset if necessary.
A global variable should not be reset when the period is changed...
We have no way to save the data when the period changes...Such variables should be reset if necessary.
A global variable should not be reset when the period is changed...
We don't have the option to save data when the period changes...How is that not possible?
There are a lot of options.
The most convenient one seems to me to be through a resource.
I myself have been using it for a long time now.
How can it not be?
There are plenty of options.
The most convenient for me seems to be through rusursy.
I myself have long been using.
Give me an example please...
Such variables should be reset if necessary.
A global variable should not be reset when the period is changed...
We don't have the option of saving the data when the period changes...Why shouldn't it? New period --> new indicator instance. And what can a variable of a deleted indicator instance have to do with a new one?
Give me an example please...
Click on the TF and you will see that everything is ok.