A:IF(CURRBARSCOUNT=1 AND PERIOD=5,AMOUNT*240/FROMOPEN,0),NODRAW;
B:=IF(A>0,A,AMOUNT);
VAR1:=SMA(O*B/10000000,N,1);
VAR2:=VAR1;
VAR3:=REF(VAR2,1);
STICKLINE(VAR2>VAR3,VAR2,VAR3,2,0),COLORRED;
STICKLINE(VAR2<VAR3,VAR2,VAR3,2,0),COLORGREEN;
MA5:EMA(VAR1,5),COLORCYAN;
个股生命线: EMA(VAR1,10);
MA30: EMA(VAR1,30);
MA250: EMA(VAR1,250),COLORGREEN,LINETHICK2;
MA60: EMA(VAR1,60),COLORFFFF00,LINETHICK2;
上:MA(VAR1,26)+1.8*STD(VAR1,26),COLOR999999,DOTLINE;
STICKLINE(VAR2>VAR3 AND VAR2>=上,VAR2,VAR3,2,0),COLORFFFFFF;