Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1411
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
You need to check, it's not certain that you have bars_quantity there
Changed the code, still array out of range in the same place
If there is no error, it does not mean that all the data quantity is present. The bars_quantity is just your order and what will give is another matter.
If there is no error, it does not mean that all the data quantity is present. The bars_quantity is just your order and what will give is another matter.
Good day to you all!
There is a simple code in MQL4 that initializes each value of an array and on each iteration prints the value of each element of the array in the Print() function. At the end of this loop, Print() will print 30 times in the log.
QUESTION .
Which language construct in MQL4 or function in MQL4 in above code Print() will print() only 1 time at the end of the loop, with all array elements filled in one line, i.e. it will take the following form
Print("---LoY[0]--", 1.6104, "---LoY[1]--". , 1.6106,"---LoY[2]--", 1.6108,"---LoY[3]--", 1.6110,"---LoY[4]--", 1.6112,................"---LoY[30]--", 1.6164);
I would be very grateful if you could write an example of such code and not just explain it in words.
Thanks for your help.
Good day to you all!
There is a simple code in MQL4 that initializes each value of an array and prints the value of each element of the array in the Print() function at each iteration. At the end of this loop, Print() will print 30 times in the log.
QUESTION .
Which language construct in MQL4 or function in MQL4 in above code Print() will print() only 1 time after the end of loop with all elements of the array filled to the same line, i.e. it will take the following form
Print("---LoY[0]--", 1.6104, "---LoY[1]--". , 1.6106,"---LoY[2]--", 1.6108,"---LoY[3]--", 1.6110,"---LoY[4]--", 1.6112,................"---LoY[30]--", 1.6164);
I would be very grateful if you could write an example of such code and not just explain it in words.
Thanks for your help.
How many seconds ahead of me? ))))
Thank you for your help
Thank you for your help.