N:=12;M:=26;DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);DEA:=EMA(DIFF,9); MA(C,8),COLORWHITE; MA(C,21),COLORYELLOW; :STICKLINE(DIFF>DEA,C,O,3,-1),COLORRED; STICKLINE(DIFF>DEA,H,L,0,0),COLORWHITE; :STICKLINE(DIFF<=DEA,C,O,3,0),COLORWHITE;STICKLINE(DIFF<=DEA,H,L,0,0),COLORWHITE;DRAWTEXT(OSS(DIFF,DEA),L*0.98,'买'),COLORYELLOW; DRAWTEXT(CROSS(DEA,DIFF),H*1.02,'卖'),COLORGREEN;DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA1:=EMA(DIFF1,9);MA(C,8),COLORWHITE; MA(C,21),COLORYELLOW; 多头1:STICKL