{n天内,缺省30天内跳空缺口不闭,且每股收益高于p,缺省0.1元}
tkqk:=low > (ref (high,1)+0.001);{跳空缺口的条件,当天最低价高于前一天最高价}
d1:=barslast(tkqk);{跳空缺口到今天的天数}
t1:=d1<n;
t2:=llv (low,d1+1)>(ref(high,d1+1)+0.001);
z:=hhv(high,d1+1);
bottom:=llv(low,d1+1);
t3:=z<bottom(1+z/100);
t4:=z<ma(c,60)1.2;
xg:t1 and t2 and t3 and (finance(33)>p) and t4;