tv1:=ref(v,2)<ma(v,5);tv2:=cross(c,ma(c,5)) and v>=ma(v,5);tv3:=ma(c,5)<ref(ma(c,5),1) and ma(c,10)<ref(ma(c,10),1);xg:tv1 and tv2 and tv3;仅供参考,希望能够帮助您,顺祝马年投资顺利!
lc:=ref(close,1);rsi1:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;time<=94500 and rsi1<20;这是盘中选股,意思是在9:30~9:45分钟内出现rsi1小于20的个股。不知符合你的思路吗?如果是想在15分钟图选股,则在条件选股下改变周期即可:将日线改为15分钟。