N:=6; S1:=HHV(H,N)/LLV(L,N)<=1.11;{限制大阳出现之后N个交易日内震荡小于11%} S2:=REF(C,N)/REF(C,N+1)>=1.093 AND REF(H,N)!=REF(O,N);{N天前涨停板大阳线,不是一字板} S3:=L>REF(L,N) AND H/REF(H,N)<=1.08 AND LLV(L,N)>=REF(L,N); S4:=C>MA(C,30); S5:S1 AND S2 AND S3 AND S4;