條件是:漲停板后調(diào)整1-8天,,收盤價不能小于最近漲停板的最低價(如果收盤價小于漲停板的最低點,則條件不成立),,然后股價再次上漲突破5日均線時做選股,。如圖示
參考這個漲停回馬槍來修改:
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:= EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
TS:= BARSLAST(C/REF(C,1)>1.085);{上一個漲停距今天數(shù)}
A2:= IF(REF(L,TS)>REF(H,TS+1),REF(C,TS+1),REF(O,TS));{漲停當(dāng)天最低價}
A3:= BETWEEN(TS,2,13); {天數(shù)條件}
A4:= C>=A2 AND BETWEEN(L/A2,1.035,0.97);{價格條件}
A5:= V=A2;{單陽不破}
A8:= MACD>-1;{MACD條件}
左側(cè)低吸: A3 AND A4 AND A5 AND A6 AND A7 AND A8;
A9:=MA(C,5)>=A2 AND C>A2 AND C>=MA(C,5) AND REF(C,1)REF(COUNT(C =REF(L,ZT),ZT)=ZT,1) AND CROSS(C,MA(C,5)) AND REF(ZT =1 AND ZT =8,1);