Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 961
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
What do I have to say: does it happen and is it also due to some kind of cracks in the quotes or am I writing something wrong?
Do you want me to tell you that the MT4 tester is not working correctly? - You won't hear your screenshot with errors in ticks or bars - the tester will generate everything from any possible low TF
the developers have always answered questions like yours - write the codes correctly!
i showed you an example of how to write your code.... i can't see it, and it's not interesting :))) - busy, reading articles, I'll get to work on my codes
Do you want me to tell you that the MT4 tester is not working correctly? - You won't hear your screenshot with errors in ticks or bars - the tester will generate everything from any possible low TF
the developers have always answered questions like yours - write the codes correctly!
i showed you an example of how to write your code.... i can't see it, and it's not interesting :))) - busy, reading articles, I'll get to work on my codes
Okay! Thank you
Okay! Thank you
Might come in handy: https://www.mql5.com/ru/forum/165405#comment_5602248
Good afternoon, comrades. I'm learning to write simple things in mql4, now I'm trying to work with arrays. I can't understand the error in this piece of code:
It's crashing on the last two lines with the wording integer expression expected. As far as I understood, an index in an array can be set using a formula. It is needed to search through the array strings and sequentially record the quotes and the number of bars containing such a quote. The formula gives an integer value (from 0 and higher in increments of one), so what is the error?
Good afternoon, comrades. I'm learning to write simple things in mql4, now I'm trying to work with arrays. I can't understand the error in this piece of code:
It's crashing on the last two lines with the wording integer expression expected. As far as I understood, an index in an array can be set using a formula. It is needed to search through the array strings and sequentially record the quotes and the number of bars containing such a quote. The formula returns an integer value (from 0 and higher in steps of one), so what is the error?
Make the array index an int type, not double. The array index should be an integer.
Might come in handy: https://www.mql5.com/ru/forum/165405#comment_5602248
Good afternoon, comrades. I'm learning to write simple things in mql4, now I'm trying to work with arrays. I can't understand the error in this piece of code:
It's crashing on the last two lines with the wording integer expression expected. As far as I understood, an index in an array can be set using a formula. It is needed to search through the array strings and sequentially record the quotes and the number of bars containing such a quote. The formula returns an integer value (from 0 and higher in steps of one), so where is the error?
Use an explicit type conversion
Thanks, I fixed the error, but still no result: the array is not filled. What can this be connected to? Variables d, d1, d2 work exactly
Thanks, I fixed the error, but still no result: the array is not filled. What can this be about? Variables d, d1, d2 work exactly
Don't forget to put
Fix all the errors and maybe everything will work out. Learn to use the debugger. With step-by-step execution all problems are revealed.