AB1:=(LOW+HIGH+CLOSE*2)/4;
AB2:=MA(AB1,4);
AB3:=HHV(AB2,10);
AB4:=MA(AB3,3);
AB5:=1.25*AB4-0.25*AB3;
好股网:=IF(AB5>AB3,AB3,AB5);
AF1:=LLV(AB2,10);
AF2:=MA(AF1,3);
AF3:=1.25*AF2-0.25*AF1;
周线擒牛:=IF(AF3< AF1,AF1,AF3);
MA13:=MA(C,13);
周线级别:=CROSS(C,周线擒牛) AND CROSS(C,MA13) AND CROSS(C,好股网);
周线大牛:=CROSS(C,MA13) AND CROSS(C,好股网);
大牛:IF(周线级别 OR 周线大牛,1,0);
DRAWTEXT(大牛,0.8,' ★擒牛'),COLORRED;
DRAWICON(大牛,1,25);