dif:=ema(close,9)-ema(close,150);dea:=ema(dif,12);macd0:=2*(dif-dea);xg:macd0<0 andmacd0>ref(macd0,1)and ref(macd0,1)(macd0,2) and ref(macd0,2)(macd0,3) and ref(macd0,3)(macd0,4);
var1:=close>ref(close,1) and close>ref(close,2);var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2);var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2);va...
variable:p1=0;p2:=intpart(ref(cyc(5),1)*100)/100;p3:=intpart(ref(cyc(5),1)*0.96*100)/100;vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);p41:=intpart(ref(maxcyc,1)*100)/100;p4:=p1=0 and c>p2 o...
以下是修改过的,按问题要求做的股票选股公式,用软件实际测试过能达到要求,可以使用: 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>...