n1:=6;bias1:=(close-ma(close,n1))/ma(close,n1)*100;天数:=barslast(ref(cross(bias1,ref(bias1,1)),1));xg:cross(bias1,ref(bias1,1)) and bias1>ref(bias1,天数+1) and c<ref(c,天数+1) and bias1<-6;(小于-6信号...
diff:=ema(close,12) - ema(close,26);dea:=ema(diff,9);a1:=barslast(ref(cross(diff,dea),1));b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);xg:filter(b1>0,5);