MA(C,5);
MA(C,10);
MA(C,20);
MA(C,60);
去ST科创:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1) AND IF(CODELIKE('68'),0,1);
ABC1:=EMA(MA(C,5),5);
ABC2:=(ABC1-REF(ABC1,1))/REF(ABC1,1)*10000;
ABC3:=crOSS(ABC2,0);
ABC4:=EMA(C,12)-EMA(C,26);
ABC5:=EMA(ABC4,9);
擒牛1:=CROSS(ABC2,0) AND ABC2>0 AND CROSS(ABC4,ABC5) AND MA(C,18)>=REF(MA(C,18),1);
ABC6:=IF(H<REF(H,1) AND REF(H,1)<REF(H,2),REF(H,2),0);
ABC7:=VALUEWHEN(ABC6>0,ABC6);
ABC8:=IF(L>REF(L,1) AND REF(L,1)>REF(L,2),REF(L,2),0);
ABC9:=VALUEWHEN(ABC8>0,ABC8);
ABC10:=IF(C>ABC7,-1,IF(C<ABC9,1,0));
ABC11:=VALUEWHEN(ABC10<>0,ABC10);
擒牛2:=ABC11=-1;
双绝擒牛:=FILTER(擒牛1,10) AND 擒牛2 AND 去ST科创;
STICKLINE(双绝擒牛,C,O,3,0),COLORYELLOW;
DRAWTEXT(双绝擒牛,L*0.98,'双绝擒牛'),COLORYELLOW;
DRAWICON(双绝擒牛,L,34);