(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)),4)=1 and count(cross(ma(c,20),ma(c,120)),4)=1已测试,如符合要求及时采纳 20210311
a1:=ma(c,5);a2:=ma(c,10);a3:=ma(c,20);a4:=ma(c,30);t1:=cross(a1,a2);t2:=cross(a3,a4);xg:t1 and t2;参考资料:http://tieba.baidu.com/f?kw=%b9%c9%c6%b1%b9%ab%ca%bd%d7%a8%bc%d2