N:=30;
VAR1:=IF(YEAR>2010 AND MONTH>=2,0,1);
VAR2:=MA(CLOSE,N);
VAR3:=VAR2+2*STD(CLOSE,N);
VAR4:=VAR2-2*STD(CLOSE,N);
(VAR3-VAR4)/VAR2*100*VAR1;
N:=30;
VAR1:=IF(YEAR>2010 AND MONTH>=2,0,1);
VAR2:=MA(CLOSE,N);
VAR3:=VAR2+2*STD(CLOSE,N);
VAR4:=VAR2-2*STD(CLOSE,N);
(VAR3-VAR4)/VAR2*100*VAR1;