DIF:EMA(C,5)-EMA(C,30),COLORSTICK; DEA:=EMA(DIF,5); DIF,COLORWHITE; DEA,COLORYELLOW; 零上金叉买:0,COLORBLUE,CROSSDOT,LINETHICK2; IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK2; IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA; IF(DIF>0 AND DIF>DEA,零上金叉买,DRAWNULL),COLORRED,LINETHICK2,CROSSDOT; DRAWICON(CROSS(DIF,DEA),DEA,1); DRAWICON(CROSS(DEA,DIF),DEA,2);
看股 吧公式 www.kangu ba.com