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(c<ma(c,21),21) ,1) and ex**t(cross(d,j),21)=1 and c>ma(c,21);
副图指标:dif:ema(close,short)-ema(close,long);dea:ema(dif,9);macd:(dif-dea),colorstick;cd:=macd>ref(macd,1) and ref(macd,1)=llv(macd,5);drawtext(cd ,0*0.88,'买'),coloryellow;选股指标:dif:=ema(close,...