I have the need to set up an internal "Array" as variable to store certain Values. But it's not the typical DataSeries Class which is always linked exactly to the numbers of Bars. What I need it's variable to store internal calculations to access later in other loops, so since I can't find anything regards to this in the NT Help Guide, I was search in the NET and I find this, so I'd like to know if this could work correctly ( not like NT DataSeries ) or either there's a better way to do it.
First declaring the variable:
double[] balance;
Second Initialize the Array:
double[] balance = new double[10];
Hoping to get any hint here
Thanks
Comment