你要求的要全部,几乎选股票。略加修改,看在你的要内。v1:=ma(v,5);v2:=ma(c,60);a1:=c>ref(c,1)*1.099;a2:=barslast(a1);a3:=every(v<ref(v,1),3);b1:=v1>v2;xg:a2=4 and a3 and b1 and c<o;
t1:=ma(c,5)>ma(c,10) and ma(c,10)>ma(c,30) and ma(c,30)>ma(c,60) and ma(c,60>ma(c,120));t2:=count(c>ma(c,5),3)=3;t3:=count(((c/ref(c,1)-1)*100)>8,10)>0;t4:=c
选股公式:lc:=ref(close,1);rsi6:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);选股:rsi6>ref(rsi6,1) and ref(rsi6,1)<ref(rsi6,2) and vol<ma(vo...