{百度3} n:=3;{大阳线实体的幅度,可调} n1:=3;{第一次大阳后调整的天数,可调} 涨幅:=(c/ref(c,1)-1)*100;大阳线:=(c/o-1)*100>n;选股:barslast(涨幅>5 and 大阳线)>=n1 and llv(l,barslast(涨幅>5 and 大阳线))>ref(l,barslast(涨幅>5 and 大阳线)...
rsvk:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsvk,3,1);d:=sma(k,3,1);j:=3*k-2*d;ma3:=ma(c,3);买入1:=cross(c,ma3) and ma3>=ref(ma3,1)*0.99;买入2:=c>ma3 and (c-ma3)/ma3<0.035 and ma...