手机通达信:=1;
指标选股:=(2*CLOSE+HIGH+LOW)/4;
ccfff1: 80, POINTDOT;
ccfff2: 20;
xxddd3:=IF(YEAR>=2099 AND MONTH>2,0,1);
xxddd4:=LLV(LOW,5);
xxddd5:=HHV(HIGH,4);
seww1: EMA((指标选股-xxddd4)/(xxddd5-xxddd4)*100,4)*xxddd3*手机通达信;
seww2: EMA(0.667*REF(seww1,1)+0.333*seww1,2)*xxddd3*手机通达信;
xxddd6:=(HHV(HIGH,4)-指标选股)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
xxddd7:=(指标选股-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
seww3: SMA(xxddd6,4,1)*手机通达信;
xxddd8:=SMA(xxddd7,2,1);
seww4: SMA(xxddd8,2,1)*手机通达信;
seww5: 12;
DRAWTEXT(CROSS(seww1,seww2) AND seww1<50 AND 29<seww1,20,''),COLOR00FF00;
DRAWTEXT(CROSS(seww2,seww1) AND seww1>40 AND 71>seww1,50,''),COLOR00FFFF;
DRAWTEXT(CROSS(seww1,seww2) AND seww1<30,0,''),COLOR3399CC;
DRAWTEXT(CROSS(seww2,seww1) AND seww1>70,75,''),COLORFFFF33;
DRAWICON(CROSS(seww1,seww2) AND seww1<30,20,1);
DRAWICON(CROSS(seww2,seww1) AND seww1>70,80,2);
xxddd9:=CLOSE-REF(CLOSE,5);
xxdddA:=EMA(EMA(xxddd9,5),5)/EMA(EMA(ABS(xxddd9),5),5)*100;
xxdddB:=EMA(EMA(xxddd9,10),10)/EMA(EMA(ABS(xxddd9),10),10)*100;
xxdddC:=EMA(EMA(xxddd9,20),20)/EMA(EMA(ABS(xxddd9),20),20)*100;
seww7: IF(xxdddA>0 AND CROSS(xxdddC,xxdddA),-40,0);
DRAWTEXT(seww7,-30,''),COLOR0033FF;
DRAWICON(seww7<0,-25,2);