{上面二公式是一样的,再不放心,你用这个公式对比验证一就知道了}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:cross(j,k) and j>k and k>d;
hs:=v/capital*100;s1:=between(hs,3,30);lb:=v/ref(ma(v,5),1);s2:=between(lb,1.3,30);st:=if(namelike('st')or namelike('*st'),0,1);s3:=c/ref(c,1);xz:s1 and s2 and s3>1.02 and st and v>1 and c;
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a1:=close/ref(close,1);a2:=a1>1 and a1;b1:=vol/ref(vol,1);b2:=b1>1 and b1;c1:=100*ma(vol,5)/capital;every(c>o,3) and ref(mac...