rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;xg:ref(every(d>j and k>j,20),1) and cross(k,d);指标没问题,从历史看票很少。
不理解你的第二个条件(收盘价涨幅在1.5%以上)是n天前出现还是今日出现,如果是今日出现:syx:=syx:h/c>1.03 and (h-max(c,o))>(max(c,o)-l)*2;ref(syx,n)and c/ref(c,1)>1.015;第二个条件(收盘价涨幅在1.5%以上)n天前出现:syx:=syx:h/c>1.03 and (h-max(c,o))>...