Use function ArrayRange() to detect the count of elements in the given dimension of the array.
![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
if i have a 3 dem array like test[2][][3] and the secod dem i don't know how many of it, and use it store some values. how to use it ? if i dem it like thiks test [2][][3] and use this test[2][1][3] to store value , it can get nothing.
and if i use tem like this test[2][300][3] and test[2][1][3] it can store. my question is if i don't know how many elements in it , how to use array ? thank you.