涨停:=c=ztprice(ref(c,1),0.1) and h=c and not(h=l) ;ma5:=ma(c,5) ;ma5角度:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;xg1:=ma5角度>=75 and 涨停 and not(dyna**(4)=0);cc:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20); dd:=dma(close,cc); 通道3:=(1+7/100)*dd; fl:=ma(close,17)+abs(ma(close,17)-ref(ma(close,17),1));fs:=ma(close,17)+ma(close,17)-ref(ma(close,17),1);cg:=if(ma(close,17)<fs,fs,ma(close,17));xg2:=filter(通道3>ref(通道3,1) and cg>ref(cg,1),5) and c>通道3;xg:xg1 + xg2>=1; 20210311