'+' - variable expected
For ArrayResize I want to write it with for loop
just to replace M1, M2, ... timeframes using for loop
but error is
What i am doing wrong?
https://www.mql5.com/en/docs/array/arrayresize
Does not receive a string as first parameter, you can't concatenate strings and generate reference to variables.
You either will need a multidimensional array or do it manually:
ArrayResize(ZZ_M1, symbolCount); ArrayResize(ZZ_M2, symbolCount); ArrayResize(ZZ_M3, symbolCount); ...
- www.mql5.com
https://www.mql5.com/en/docs/array/arrayresize
Does not receive a string as first parameter, you can't concatenate strings and generate reference to variables.
You either will need a multidimensional array or do it manually:
For ArrayResize I want to write it with for loop
just to replace M1, M2, ... timeframes using for loop
but error is
'+' - variable expectedWhat i am doing wrong?