If i want to use an array of preset length, where should I define it?
This works;
public class AA1 : Indicator { private Series<double> lastMomSeries; private double[] testArray1 = new double[10]; }
public class AA1 : Indicator { private Series<double> lastMomSeries; private int arrayLength = 10; private double[] testArray1 = new double[arrayLength]; }
The name 'arrayLength' does not exist in the current context.
Thanks for any insight.