![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Why?
И?...
I can't keep up with your thinking, I'm sorry.
И?...
И... then...
Andrey, it's simple: out[ i ] cannot be higher than 10000, and as soon as it is higher, the array value is zeroed - by convention. Starting from u=10001, it will always be zeroed.
From here on, we will start adding even larger values of u to zero. But not too big, no more than 4 billion for sure. Hence, the value of the array is positive and exactly greater than 10000. Therefore, it is zero again. And so on. And then, outside the loop, we add i to zero.
This is understandable. What's not clear is why my Out[] array will contain the same thing as Vladimir's array:
Because outside the loop, when the array value is already zero, i = get_global_id(0) is added to it.
Well go ahead and print out all the values.
I've almost got the sli of the 590 together, when's the next test?
I've almost got the sli of the 590 together when is the next test going to take place?