HGW1:=REF(CLOSE,1);
HGW2:=EMA(HHV(HIGH,1),8);
ABC1:=EMA(CLOSE,8);
ABC2:=((ABC1 < REF(ABC1,1)) AND (CLOSE < ABC1));
ABC3:=IF(((HGW2 < REF(HGW2,1)) OR ABC2),1,0);
HGW6:=SMA(MAX(CLOSE-HGW1,0),2,1)/SMA(ABS(CLOSE-HGW1),2,1)*100;
HGW7:=45;
HGW8:=20;
AAC:=HGW6< HGW7 AND REF(HGW6,1)>HGW7 ;
AAC3:=HGW6< HGW8 AND REF(HGW6,1)>HGW8;
抓牛:=(((((COUNT((ABC3 = 1),4) = 3) AND (ABC3 = 0))AND O< C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(AAC3,1) OR REF(AAC,1))) ;
STICKLINE(抓牛,0,72,2,1),COLORRED;
STICKLINE(抓牛,0,50,3,1),COLORMAGENTA;
STICKLINE(抓牛,0,72,0.6,0),COLORMAGENTA;
STICKLINE(抓牛,0,50,0.6,0),COLORRED;
STICKLINE(抓牛,0,20,4,0),COLORYELLOW;
DRAWICON(抓牛,76,9);
DRAWICON(抓牛,45,13);
DRAWICON(抓牛,25,9);
DRAWTEXT(抓牛,66,' ★抓牛'),COLORYELLOW;