根据题意,选股公式如下:dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg1:macd>0 and ref(macd,1)<0 and ref(macd,2)<0 and ref(macd,3)<0 and ref(macd,4)>0; 20210311
xg:filter(count(cross((c-ma(c,5))/ma(c,5)*100,0),3)>=1 and(c-ma(c,30))/ma(c,30)*100>ref((c-ma(c,30))/ma(c,30)*100,1)and ma(c,5)>ref(ma(c,5),1)and(c/ref(c,1)-1)*100>5 and ref(c,1)(c,30),10)...
b1:=sum(v,2)/2/ref(ma(v,5),2)>2 and c/ref(c,2)>1.1;b2:=barslast(b1); b3:= b2>2 and b2<90; d1:=c=hhv(c,b2+1);d2:=barslast(d1); d3:=llv(c,d2+1); d4:=d3/hhv(c,b2+1)>0.7; xg:b3 and hhv(c,b2...