What should I write in Print to figure out what's wrong? 0_o
if you write Print(response); it gives out: 13369448
if (response == 0) {
Print("Что-то пошло не так");
// потом уже добавите диагностику из WinAPI
return false;
}
and before the normal return, print the result too
Print(" всё хорошо, результат:" toStr);
return toStr;
and run the whole code in a timer, e.g. once a minute. Practice on a resource that is sure not to get banned and gives different but predictable times, so you can check.
---- telepathically - if there really is a problem, either the initialization is wrong (I don't remember if WinSOCK should be initialized for InternetOpenW or not) Or some resource is not being freed.
How can I see the source code/libraries of the functions that come with MQL4? I'd like to look at their properties and make similar or better, who knows what on this subject?
Alexandr Sokolov: How can I use ArrayResize to change the size of a multidimensional array? It's just that the standard examples only use one-dimensional arrays.
You can only change the size of the first dimension of a multidimensional array. This is exactly the same as for a one-dimensional array.
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.
Onitit and ontick have been added! No change
you can get in trouble for ontick requests ;-) that is, get banned and blacklisted
Print diagnostics at return(false) - it will be clearer what's wrong.
You can get in trouble for OnTick requests ;-) that is, get into bans and blacklists.
Print the diagnostics for return(false) - it will make it clearer what is wrong.
What should I write in Print to figure out what's wrong? 0_o
if you write Print(response); it gives out: 13369448
What should I write in Print to figure out what's wrong? 0_o
if you write Print(response); it gives out: 13369448
if (response == 0) {
Print("Что-то пошло не так");
// потом уже добавите диагностику из WinAPI
return false;
}
and before the normal return, print the result too
Print(" всё хорошо, результат:" toStr);
return toStr;
and run the whole code in a timer, e.g. once a minute. Practice on a resource that is sure not to get banned and gives different but predictable times, so you can check.
----
telepathically - if there really is a problem,
either the initialization is wrong (I don't remember if WinSOCK should be initialized for InternetOpenW or not)
Or some resource is not being freed.
Examine the contents of the Include folder
So it's all there? I opened it up and looked at the calculations, which are quite complicated for me.
So it's all there? I opened it up and looked at the calculations, which are quite complicated for me.
I would like to do better :)
Forum for trading, automated trading systems & strategy testing
Any questions from newbies on MQL4, help and discussion on algorithms and codes
Seric29, 2019.03.26 23:32
How can I see the source code/libraries of the functions that come with MQL4? I'd like to look at their properties and make similar or better, who knows what on this subject?How can I use ArrayResize to change the size of a multidimensional array? It's just that the standard examples only use one-dimensional arrays.
You can only change the size of the first dimension of a multidimensional array. This is exactly the same as for a one-dimensional array.
The array must be dynamic in this case.
You can only change the size of the first dimension of a multidimensional array. It's exactly the same as for a one-dimensional array.
The array must be dynamic in this case.
Thank you!
Good day to you all!
I wasted two hours, but could not find anything.
Please tell me how in mq4, in the EA, intelligently
build one indicator on another using built-in functions
and it should be displayed in tests in the subwindow as it should be,
for example MA on RSI data?
e.g. MA on RSI data ?