Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 867

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
forgot how to update... just downloaded from robot...
I'm not interested in the test, but in the optimisation - which is impossible... because they (the values you set) are reset...
Optimization is a multiple test with different parameters. So the test and optimization is the same for this problem. At the beginning of the test/optimization there is a printout in the journal with which the Expert Advisor was launched. You can pause right after the start and read the log after opening it. And if it is launched with modified parameters, they will be visible in the "Parameters" tab.
As this is a new installation, it's safe to say it's the 2007 release version. This is the second company with this problem. I wonder if running it on MQ will this problem occur? You can update by connecting, or opening a new MetaQuotes-Demo account. And also through the menu
The optimization is a multiple test with different parameters. So the test and optimization are the same for this problem. At the beginning of the Optimization test the journal has a printout with which parameters the Expert Advisor is running. You can pause right after the start and read the log after opening it. And if you run it with changed parameters, they will be visible in the "Parameters" tab.
As this is a new installation, it is safe to say that this is the 2007 release version. This is the second company with this problem. I wonder if running on MQ will this problem appear? You can update by connecting, or opening a new MetaQuotes-Demo account. You can also do it through the menu.
Why are extern variables not displayed in MQL5 indicator input parameters?
add
And don't use old language constructs, use input instead of extern, I don't remember, but there was a bug with extern, it seems they can be modified in the code, and during a new initialization they are reset to initial values and the compiler does not generate warnings like with input. I may be wrong though.
add
And don't use old language constructs, use input instead of extern, I don't remember, but there was a bug with extern, it seems they can be modified in the code, and during a new initialization they are reset to initial values and the compiler does not generate warnings like with input. I may be wrong though.
Differences:
input
extern
add
And don't use old language constructs, use input instead of extern, I don't remember, but there was a bug with extern, it seems they can be modified in the code, and on new initialization they are reset to initial values and the compiler does not generate warnings like with input. I may be wrong though.
That also does not work for some reason.
Differences:
input
extern
I've flipped through it, but there are a lot of questions that aren't interesting ))))
if extern works as written in help, why can't i declare it in function body? - I checked, there is a compiler error:
extern' - unexpected token !!! test11.mq4 35 4
And on a global level, why it is not possible to declare complex data types, like this:
in general, use of extern raises more questions than the need to use it.
extern is an external global variable that is used to describe variables in other plugins; it may be that MQL libraries need this behavior, but very few people write libraries, all use #include
That didn't work either for some reason
checked in indicator even without#property strict
shows the input variables tab, don't know what your problem is, here is my code
That didn't work either for some reason
You were told: input and #property strict
They even gave you a link to help.
You were told: input and #property strict
They even gave you a link to help.
Here is my code