ABC1:=9;
ABC2:=3;
ABC3:=3;
ABC4:=0.5;
SWX:=0.8;
XWX:=0.2;
DWX:=1;
DWX1:=0;
ABC5:=(CLOSE-LLV(LOW,ABC1))/(HHV(HIGH,ABC1)-LLV(LOW,ABC1))*100;
ABC6:=SMA(ABC5,ABC2,1);
ABC7:=SMA(ABC6,ABC3,1);
好股网:(3*ABC6-2*ABC7)/100 DOTLINE;
HGW:SMA(好股网,2,1);
潜龙:IF(HGW>REF(HGW,1),HGW,DRAWNULL);
出海:IF(HGW<=REF(HGW,1),HGW,DRAWNULL);
ABC8:=MA(CLOSE,5);
ABC9:=MA(CLOSE,10);
ABC10:=MA(CLOSE,20);
ABC11:=MA(CLOSE,120);
ABC12:=ABC11/LLV(LOW,5)>1.25;
ABC13:=HIGH/ABC11>1.3;
ABC14:=CLOSE>ABC8 AND CLOSE>ABC9;
ABC15:=CROSS(CLOSE,ABC8) AND CROSS(CLOSE,ABC9) AND CROSS(CLOSE,ABC10);
ABC16:=CROSS(ABC8,CLOSE) AND CROSS(ABC9,CLOSE) AND CROSS(ABC10,CLOSE);
去杂毛:=C>MA(C,5);
DRAWICON(CROSS(好股网,HGW) ,HGW*1.002,5);
DRAWICON(CROSS(HGW,好股网) ,HGW*1.002,6);
买入:ABC12 AND CROSS(好股网,0.15) AND 去杂毛 COLORRED LINETHICK3;
DRAWICON(买入,1,9);
DRAWTEXT(买入,1,' ★买入'),COLORRED;