HGW1:=CROSS(CLOSE,MA(CLOSE,5));
HGW2:=CROSS(CLOSE,MA(CLOSE,8));
HGW3:=CROSS(CLOSE,MA(CLOSE,24));
HGW4:=CROSS(CLOSE,MA(CLOSE,55));
HGW5:=CROSS(CLOSE,MA(CLOSE,60));
HGW6:=CROSS(CLOSE,MA(CLOSE,75));
HGW7:=CROSS(CLOSE,MA(CLOSE,120));
HGW8:=CROSS(CLOSE,MA(CLOSE,188));
HGW9:=CROSS(CLOSE,MA(CLOSE,240));
HGW10:=HGW1 AND HGW2 AND HGW3 OR HGW4 OR HGW5;
HGW11:=CROSS(OBV,MA(OBV,5));
HGW12:=CROSS(MA(OBV,5),MA(OBV,10));
HGW13:=CROSS(MA(OBV,5),MA(OBV,20));
HGW18:=CROSS(MA(OBV,5),MA(OBV,60));
形态好:HGW10 OR HGW6 OR HGW7 OR HGW8 OR HGW9,NODRAW,COLORRED;
量能足:HGW11 OR HGW12 OR HGW13 OR HGW18,NODRAW,COLORFF00FF;
大盘环境好:INDEXC>REF(INDEXC,1),NODRAW,COLORYELLOW;
HGW19:=形态好 AND 量能足 AND 大盘环境好;
STICKLINE(形态好,1,1.5,1,0),COLORRED;
STICKLINE(量能足,0.5,1,2,0),COLORFF00FF;
STICKLINE(大盘环境好,0,0.5,3,0),COLORYELLOW;
DRAWICON(HGW19,1.59,38);