cc:=if(****(new),pre,new);tt:=barscount(cc);线:=sum(subsameday(&vol)*cc,0)/vol;上均:=均线 + **edev(cc,tt)*2;时长:=if(formattime(1)>60,1,0);涨:=(cc>pre)>1.02;跌幅:=(cc/pre)<0.98;:=((hhv(cc,tt)-llv(cc,tt))/cc)<0.05;yy:=sma(vol,30,1);放量:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30))>0.95;幅:=涨幅 or 跌幅;横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and cross(cc,上均) ;yj:filter(横涨,100) and c>=ref(c,1) and c/ref(c,1)/ref(c,1)<=1.03; 20210311