(max(ma(c,60),ma(c,120))-min(ma(c,60),ma(c,120)))/max(ma(c,60),ma(c,120))<0.025 and ma(c,120)>=ref(hhv(ma(c,120),20),1) and c>ma(c,20) and c<ref(c,1)*1.05 and count(cross(ma(c,20),ma(c,60)...
因为这几个条件一般不会同时满足,你的原意应该 是在一指定的天数n内达到这些条件。因此我在公式中给你加了一个参数n,你试试。 ma5:=ma(c,5);ma10:=ma(c,10);ma30:=ma(c,30);ma130:=ma(c,130);xg:count(cross(ma5,ma10),n)>0 and count(cross(ma5,ma30),n)>0 and count(c...