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

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
INIT_PARAMETERS_INCORRECT
Designed to indicate an incorrect set of input parameters to the programmer, the result string with this return code will be highlighted in red in the general optimization table.
Testing will not be performed for this set of Expert Advisor parameters.
Something is not highlighted in red.
Is it so for everyone?
here is the code in oninit:
The journal generates the following errors:
Is it strange that it writes like this?
You specifically in onInit() return INIT_PARAMETERS_INCORRECT
What you wrote in your code is what you get in the terminal/tester; if you return INIT_FAILED, it means wrong initialization and no testing ... so what you wrote, you get, so what is the question?
INIT_PARAMETERS_INCORRECT
Designed to indicate an incorrect set of input parameters to the programmer, the result string with this return code will be highlighted in red in the general optimization table.
Testing will not be performed for this set of Expert Advisor parameters.
Something is not highlighted in red.
Is it so for everyone?
this is the code in OnInit:
The journal generates errors like these:
Where is the optimization table itself that would show what you are asking about?
is it strange that it writes like this?
You specifically in onInit() and return INIT_PARAMETERS_INCORRECT
What you wrote in the code is what you get in the terminal/tester; if you return INIT_FAILED, it means wrong initialization and no testing... what you wrote is what you got, so what's the question?
question is not highlighting red. )
I understand, I don't have a terminal handy, but it seems that only error logs in the meta-editor are highlighted in red, while in the terminal and in the tester only the icon is red, and the text itself does not seem to "redden"
I see, I don't have a terminal handy, but it seems that only the error logs in the meta-editor are highlighted in red, while in the terminal and in the tester only the icon is red, and the text itself does not seem to "redden"
I've never gone red, neither from embarrassment, nor from stress.
Good day. Please help me to put the indicator in my EA. Where do I copy it?
void OnTick()
void OnTick()
Tried
no indicator window property is defined, indicator_chart_window is applied 0 0
Good day. Help to put the indicator in the EA. Which sections should I copy it to?
copying does not help, you need to read, here is the articlehttps://www.mql5.com/ru/articles/1456
copying won't help, you need to read, here's the articlehttps://www.mql5.com/ru/articles/1456
Ok, thank you.