二号线:EMA(C,25),COLOR00FF00,LINETHICK1;
九号线:EMA(CLOSE,99),LINETHICK1;
MA120:EMA(CLOSE,120),LINETHICK1;
生命线:EMA(CLOSE,453),LINETHICK1,COLORRED;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
DRAWTEXT((CROSS(SK,SD) AND SK -0.04 AND (C-REF(C,1))/REF(C,1) =0.03) OR (CROSS(SK,SD) AND SK =-0.14 ) OR (CROSS(SK,SD) AND SK =0.05 AND (V/MA(V,5) 2 OR C/REF(C,1) 0.035)) ,L*0.99,'短线'),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK -0.04 AND (C-REF(C,1))/REF(C,1) =0.03) OR (CROSS(SK,SD) AND SK =-0.14 ) OR (CROSS(SK,SD) AND SK =0.05 AND (V/MA(V,5) 2 OR C/REF(C,1) 0.035)),H,L,0.5,0),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK -0.04 AND (C-REF(C,1))/REF(C,1) =0.03) OR (CROSS(SK,SD) AND SK =-0.14 ) OR (CROSS(SK,SD) AND SK =0.05 AND (V/MA(V,5) 2 OR C/REF(C,1) 0.035)),O,C,10,1),LINETHICK3,COLORRED;