So I'm getting multiple "Class member declaration expected" and "] expected" errors in the following lines of code:
plArray.Set (Lows[1][0] );
phArray.Set (Highs[1][0] );
tlArray.Set (Low[0] );
thArray.Set (High[0] );
sigl=false;
for (int i=0;i<sl;i++) {
if (tlArray[0]<tlArray[1] && tlArray[0]>tlArray[sTime-aPIVOTL[i]-1] &&
plArray[0]<=plArray[sTime-aPIVOTL[i]-1]) {
the following is in the variables region:
private int sTime = 0;
private bool sigl = false;
private int sl = 0;
private int i = 0;
private int j = 0;
private Array aPIVOTL;
private Array aPIVOTS;
private DataSeries plArray;
private DataSeries phArray;
private DataSeries tlArray;
private DataSeries thArray;
and the following is in the initialize
tlArray = new DataSeries(this);
thArray = new DataSeries(this);
plArray = new DataSeries(ES);
phArray = new DataSeries(ES);
aPIVOTL = new Array(190);
aPIVOTS = new Array(190);
Can someone please help me get on the right track here? Any examples would be helpful.
Thanks
Comment