Arpit Tailang:
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); ...

Documentation on MQL5: Array Functions / ArrayResize
- www.mql5.com
ArrayResize - Array Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Alexandre Borela #:
thanks
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:

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
For ArrayResize I want to write it with for loop
just to replace M1, M2, ... timeframes using for loop
but error is
'+' - variable expected
What i am doing wrong?