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
以下是修改过的,按问题要求做的股票选股公式,用软件实际测试过能达到要求,可以使用: za1:=sma(close,2,1);za2:=ema(c,2);za3:=ema(slope(c,24)*20+c,42);bu:=cross(za2,ref(za2,1)*1.017);sel:=cross(za3,za2);zmin:bu and cross(za2,za3*1.008)and za1>...