MA3:=MA(C,3);
MA10:=MA(C,10);
MA20:=MA(C,20);
角度:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.14159;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
AA:=C/REF(C,1)>=1.096 AND H>O;
BB:=COUNT(REF(AA,1),4)>=1 AND O
擒牛A:FILTER(CC,2) AND ((crOSS(C,MA10) AND 角度>40)),COLORRED,LINETHICK2;
擒牛B:FILTER(BB,2) AND (C>MA10) AND 角度>10 AND O
买:=擒牛A OR 擒牛B;
卖:=H/REF(C,BArslAST(买))>=1.05 AND BARSLAST(买)<=10;
出货:=TFILTER(买,卖,1);
信号次数:SUM(买,0),NODRAW,COLORWHITE;
盈利次数:SUM(出货,0),NODRAW;
成功率:盈利次数/信号次数*100,NODRAW,COLORRED;