double[] open = newdouble [20] ;
double[] high = newdouble [20] ;
double[] low = newdouble [20] ;
double[] close = newdouble [20] ;
I tried the microsoft C# examples for working with arrays but have problems initializing and using them. Are there any examples that can get me out of the woods on this? Initialization of values seems to be a problem, and where to place the declaration with the initializations seems tricky too. If I initialize under the OnBarUpdate section it seems to get initialized every tick, if I try to declare the arrays in the initialize section they are not available to the OnBarUpdate section, etc., etc., etc...
Comment