AA:=CLOSE-REF(MA(CLOSE,20),10);M3:EMA(AA,3),LINETHICK1,COLORMAGENTA;STICKLINE(M3>=REF(M3,1),M3,REF(M3,1),3,1),COLORYELLOW;STICKLINE(M3<REF(M3,1),M3,REF(M3,1),3,1),COLORFF9900;买:EMA(AA,10),COLORBLUE;DRAWTEXT(OSS(M3,买),REF(M3,1),'买'),COLORRED;STICKLINE(CROSS(M3,买),M3,REF(M3,1),3,0),COLORRED;DRAWTEXT(CROSS(买,M3),REF(M3,1)*1.2,'卖'),COLORGREEN;STICKLINE(CROSS(买,M3),M3,REF(M3,1),3,0),COLORGREEN;