is this code correct?

 
Files:
 
Correct in what sense?
 
sorry,i am trying to get the values of both the red histogram line and yellow line on the previous bar (that is bar[1]) from the indicator attached above,and i came up with the lines below Yellow line=iCustom(NULL,0,"Val_Bands",BandsPeriod,BandsDeviation,1,1) Red line=iCustom(NULL,0,"Val_Bands",BandsPeriod,BandsDeviation,3,1) I hope i'm right? please any assistance will be highly appreciated. thanks.
 

somebody please assist me on this issue above.

thanks

 

11011980:
sorry,i am trying to get the values of both the red histogram line and yellow line on the previous bar (that is bar[1]) from the indicator attached above,and i came up with the lines below Yellow line=iCustom(NULL,0,"Val_Bands",BandsPeriod,BandsDeviation,1,1) Red line=iCustom(NULL,0,"Val_Bands",BandsPeriod,BandsDeviation,3,1) I hope i'm right?

yes

please any assistance will be highly appreciated. thanks.
 
qjol:


thanks a billion.