iffa:=ema(close,12) - ema(close,26);deaa:=ema(diff,9);macda:=2*(diff-dea);趋势选股:cross(iffa,deaa) and deaa>0 and sum(cross(iffa,deaa),barlast(cross(iffa,0)))=1;
qdif:=ema(close,12)-ema(close,26);qdea:=ema(qdif,9);qmacd:=(qdif-qdea)*2;m5:=ma(c,5);m10:=ma(c,10);m20:=ma(c,20);dxw1:=if((zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2))and (re...