Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1736

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
(93,32) it's in this place code ...High[i].
Please advise what it means. Everything goes well on history, but when I have 14 candlesticks to check (it checks a total of 100), I get this error
(93,32) it's in this place code ...High[i].
Please advise what it means. Everything goes well on history, but when I have 14 candlesticks to check (it checks a total of 100), I get this error
(93,32) it's in this place code ...High[i].
Please advise what it means. Everything goes well on history, but when I want to check 14 candlesticks (it checks a total of 100), I get this error
(93,32)- this is the place where the error goes beyond the array, while the error is in a different place. Code on the studio
The value of i variable is greater than the maximum index of the High array.
(93,32) is where the array is out of range, and the error is elsewhere. Studio code.
I'm the moron, I didn't put break in the right place, for going into minus.
Thanks for the feedback.
For example, OnTimer is set to 1 second and the code is executed for 2-3 seconds
Please tell me, after OnTimer time passes, what happens to the under-executed code? (if there is a lot of it, or it is not optimized). Is it forced to stop or does it go to the end?
For example, OnTimer is set to 1 second and the code is executed for 2-3 seconds
Queued for execution
ZS. How much code does it have to be to run for 2-3 seconds?
Queued up for execution
Thank you, accepted.
ZS. How much code does it have to be to run for 2-3 seconds?
And the log entries, if they go on for a few seconds, do they affect the operation? Or is the code executed regardless of when the terminal reports?
Thank you, I've got it.
I must be misunderstanding the terminal's operation:And the log entries, if they are several seconds long, do they affect the operation? Or the code is executed regardless of when the terminal reports?
Of course, the program is not waiting for the terminal in a separate thread to log some data.