{结合网上的资料,如下修改可通过。但是,我发现选出的大部分股票是项部,如果在大牛市不妨一用,现在的行情觉得将它做为一个逃项公式比较好}n:=5; n1:=21;均5:=ma(c,5);均10:=ma(c,10);均60:=ma(c,60);均120:=ma(c,120);角度5:=atan((均5/ref(均5,1)-1)*100)*180/3.1416;角度10:=atan((均10/ref(均10,1)-1)*100)*180/3.1416;角度60:=atan((均60/ref(均60,1)-1)*100)*180/3.1416;角度120:=atan((均120/ref(均120,1)-1)*100)*180/3.1416;a1:="macd.dif";a2:="macd.dea";量比:=vol/ma(vol,5);s1:=close > 均5 and 均5>均10 and 均10>均60 and 均60>均120 and 角度5>0 and 角度10>0 and 角度60>0 and 角度120>0 and 量比>2 and a1>0 and a2>0 and a1>a2; s2:=ref(((hhv(high,n)-llv(low,n))/llv(low,n)),1)<=(n1/100) and close>=ref(hhv(high,n),1) and barscount(close)>n;sg:s1 and s2; 20210311
ma2:=ema(c,2);ma5:=ema(c,5);ma13:=ema(c,13);ma34:=ema(c,34);ma55:=ema(c,55);ycx:=ma5>=ref(ma5,1);h1:=max(max(ma5,ma13),ma34);l1:=min(min(ma5,ma13),ma34);金蜘蛛:h1<c and o<l1 and ycx and ma2>r...