给你写出来了。但不知道你所指的几十天和几个月是多久,所以现在几十天是以30天计,几个月是以3个月计,然后再分别乗以90%得出27和81。你可以调整周期。a1:=ma(c,60);xg:count(c>a1,30)>27 and count(c>a1,90)>81 and a1>ref(a1,1); 20210311
(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)...