DIF:EMA(C,5)-EMA(C,30),COLORSTICK; DEA:=EMA(DIF,5); DIF,COLORWHITE; DEA,COLORYELLOW; 波段泰斗:0,COLORGRAY; IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK2; IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA; DRAWICON(CROSS(DIF,DEA),DEA,1); DRAWICON(CROSS(DEA,DIF),DEA,2);
爱约股解答:
DIF:=EMA(C,5)-EMA(C,30);