matlab寻找并删除连续停盘10天的股票
去除st:=ex**t(c/ref(c,1)>1.055,60);去除停牌:=dyna**(4)>0;{轨道线}upper:=(1+6/100)*ma(close,25);lower:=(1-6/100)*ma(close,25);ene:=(upper+lower)/2;{轨道线角度}gdjd1:=atan((upper/ref(upper,1)-1)*100)*57.3;gdjd2:=atan((lower/ref(lower,1)-1)*100)*57.3;gdjd3:=atan((ene/ref(ene,1)-1)*100)*57.3;hcsg:(count(l<upper,2)>=1 and c>o and c>upper) or (count(l<ene,2)>=1 and c>o and c>ene) or (count(l<lower,2)>=1 and c>o and c>lower) and gdjd2>30 and 去除st and 去除停牌; 20210311