Q:=crOSS(SMA(CLOSE,2,1),SMA(LOW,5,1));
Q1:=(SMA(HIGH,21,2)*1.05)*1.05;
Q2:=IF(Q,Q1,SMA(LOW,5,1));
Q3:=CROSS(SMA(CLOSE,2,1),(SMA(HIGH,21,2)*1.05));
Q4:=IF(Q3,(SMA(HIGH,21,2)*1.05)*1.10,(SMA(LOW,21,2)*0.95));
Q5:=Q2>SMA(LOW,5,1) AND CROSS(C,REF(MA(C,13),13/2+1)) AND vol>0;
Q6:=REF(H/O<1.02,1) AND REF(C<O,1);
找牛:=Q4>(SMA(LOW,21,2)*0.95) OR Q5 AND Q6;
找主升抓牛:找牛;