Not possible. Create static array with same size inside the condition and do arraycopy e.g:
bool listOfIsNewCandle_Temp[6] ={isNewCandle_6min,isNewCandle_5min,isNewCandle_4min,isNewCandle_3min,isNewCandle_2min,false}; ArrayCopy(listOfIsNewCandle,listOfIsNewCandle_Temp,0,WHOLE_ARRAY);
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
i want to do
But i get error
Is it not possible to do late initialization of array like i am trying to do above?
I feel if i initialise every array index seperately its too verbose. So i wanted to code it like above.