v simple, why is it that if i have SMA(4)[2] in the if statement i get nothing on chart or in output window
but when I change it to SMA(4)[0] it works?
what do i have to do to get it to work with 2 etc.?
if (CurrentBar < 1) return;
double sum = 6;
if (SMA(4)[2] > 0) ;
Print ("3<0 pos sum " + sum + " SMA2 " + SMA(4)[0]);
TF.Set(sum/6);
Comment