Q:=(SMA(HIGH,21,2)*1.06)*1.06;GH1:=100*VOL/CAPITAL>2;
Q1:=CROSS(SMA(CLOSE,2,1),SMA(LOW,5,1));
Q2:=CROSS(SMA(CLOSE,2,1),(SMA(HIGH,21,2)*1.05));
Q3:=IF(Q1,Q,SMA(LOW,5,1));GH:="MACD.MACD"<0;
Q4:=IF(Q2,(SMA(HIGH,21,2)*1.05)*1.10,(SMA(LOW,21,2)*0.95));
Q5:=Q3>SMA(LOW,5,1) AND CROSS(C,REF(MA(C,13),13/2+1)) AND VOL>0 AND GH1;
Q6:=REF(H/O<1.02,1) AND REF(C<O,1) AND GH;
抓牛行情:Q4>(SMA(LOW,21,2)*0.95) OR Q5 AND Q6;