Can you tell me what happens to the under-executed code after the OnTimer time has passed? (if there is a lot of it, or it is not optimised). Is the execution forced to stop or does it reach the end?
For example, OnTimer is set to 1 second and the code is executed for 2-3 seconds
Ivan Butko #: 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?
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.
(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.