X_1:=REF(CLOSE,1);
X_2:=EMA(HHV(HIGH,1),8);
X_3:=EMA(CLOSE,8);
X_4:=X_3<REF(X_3,1) AND CLOSE<X_3;
X_5:=IF(X_2<REF(X_2,1) OR X_4,1,0);
X_6:=SMA(MAX(CLOSE-X_1,0),2,1)/SMA(ABS(CLOSE-X_1),2,1)*100;
X_7:=45;
X_8:=20;
X_9:=X_6<X_7 AND REF(X_6,1)>X_7;
X_10:=X_6<X_8 AND REF(X_6,1)>X_8;
擒牛:(COUNT(X_5=1,4)=3 AND X_5=0 AND OPEN<CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065)*10>=10 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065 AND (REF(X_10,1) OR REF(X_9,1))),COLORYELLOW;