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;
来源:Internet,编辑:股旁网,2013-03-08
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;