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?
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?
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?
multiplicator: 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.
Предполагается, что читатель знаком с оптимизацией кода индикатора для того, чтобы этот индикатор пересчитывался на новых тиках только на непосчитанных барах. На мой взгляд, начинать изучение программирования на языке MQL4 следовало бы именно с этих вещей. Если вы всерьёз собрались использовать своего эксперта в реальной торговле и доверять...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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.