你是要编写选股公式吧?是可以编写的,但是不表达的不是特别的清楚,大概是这样的dif:=ema(close,short)-ema(close,long);dea:=ema(dif,mid);ref(dif,3)>ref(dea,3) and ref(dif,4)<ref(dea,4) and ref(dif,2)>ref(dea,2) and ref(dif,1)>ref(d...
hs:=v/capital*100;s1:=between(hs,3,30);lb:=v/ref(ma(v,5),1);s2:=between(lb,1.3,30);st:=if(namelike('st')or namelike('*st'),0,1);s3:=c/ref(c,1);xz:s1 and s2 and s3>1.02 and st and v>1 and c;
ma2:=ema(c,2);ma5:=ema(c,5);ma13:=ema(c,13);ma34:=ema(c,34);ma55:=ema(c,55);ycx:=ma5>=ref(ma5,1);h1:=max(max(ma5,ma13),ma34);l1:=min(min(ma5,ma13),ma34);金蜘蛛:h1<c and o<l1 and ycx and ma2>r...