你是要编写选股公式吧?是可以编写的,但是不表达的不是特别的清楚,大概是这样的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...
ma1:=ma(close,5);ma2:=ma(close,10);ma3:=ma(close,20);ma4:=ma(close,60);xg:count(cross(ma1,ma2),3)=1 and count(cross(ma1,ma3),3)=1 and count(cross(ma1,ma4),3)=1;
var1:=open;var2:=open(close,5)and open(close,10)and open(close,20);var3:=close>ma(close,5)and close>ma(close,10)and close>ma(close,20);var4:=cross(ma(close,5),ma(close,20));var1 and var2 and ...