"Array out of range" error on zero index
Your dynamic array is of size 0
You need to do a ArrayResize before you can use it.
Dominik Egert:
Your dynamic array is of size 0
You need to do a ArrayResize before you can use it.
Thnaks
Anytime I wanna set a value in my array do I need to call ArrayResize ? Or just once is enough?
Soroush:
You need to read carefully the Array documentation... Clearly you don't know how Arrays work in MQL5...
Thnaks
Anytime I wanna set a value in my array do I need to call ArrayResize ? Or just once is enough?
Flavio Jarabeck:
You need to read carefully the Array documentation... Clearly you don't know how Arrays work in MQL5...
You need to read carefully the Array documentation... Clearly you don't know how Arrays work in MQL5...
Hello traders
Look at this part of simple code. I receive "Array out of range" error when running this code. Everything seems correct. Why?