I have this statement, (( Array:IntraBarPersist Days[120,1](0); )) and I would like the number 120 was an input.
is it possible? I tried to do
but does not work.
Questions about MultiCharts and user contributed studies.
4 posts • Page 1 of 1
fibdax wrote:I have seen, there is a correct way to do this'?
You could use a simple numeric variable as input, and use that to resize a dynamic array. The only restriction is it has to be a 1-dimensional array, not 2 as you appear to be using. So, if you can relax that condition, you could use something like:
arrays: IntraBarPersist array1(0);