BBI:=MA(CLOSE,10);
ZDZX:=BARSLAST(ZIG(3, 19)>REF(ZIG(3,19),1) AND REF(ZIG(3,19), 1)<REF(ZIG(3,19), 2)); {上次最低高之字转向距离今天的数}
TS:= BARSLAST(C<O AND V>LLV(V,5)*5);{上一个巨量距今天数}
A2:= IF(REF(L,TS)>REF(H,TS+1),REF(C,TS+1),REF(O,TS));{放量当天最低价}
A4:= C>=A2 AND BETWEEN(L/A2,1.035,0.97);{价格条件}
A3:= BETWEEN(TS,2,13); {天数条件}
A5:= V<REF(V,1) AND V<MA(V,5);{成交量条件}
A6:= ABS(C/O)<1.05;{K线条件}
A7:= LLV(C,TS)>=A2;{单阳不破}
A8:=A3 AND A4 AND A5 AND A6 AND A7;
A9:BBI>=A2 AND C>=BBI AND LLV(L,TS)<A2*1.045 AND A8 AND ZDZX;