Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 793
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
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 ?