mtm:=close-ref(close,12);mtmma:=ma(mtm,6);rsv:=(close-llv(low,5))/(hhv(high,5)-llv(low,5))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;cross(mtm,mtmma) and k>d and k>50;
rsv:=ema((close-llv(low,9))/(hhv(high,9)-llv(low,9))*100,3);k:=ema(rsv,3);d:=ma(k,3);jx:=cross(k,d);x:=barslast(jx)+2;t1:=k 2 and count(t1=1,ref(x,1))=ref(x,1);应该是你想要的效果 有什么问题可以私聊联系我.