ma1:=ma(c,5);ma2:=ma(c,10);ma3:=ma(c,20);ma4:=ma(c,30);天数1:=barslast(cross(ma1,ma2));天数2:=barslast(cross(ma1,ma3));xg:天数1>天数2 and 天数2>0 and cross(ma1,ma4);(5日均线上穿十日均线再上穿20均线再上穿30日均线,这样信号就比较少了。再加...
ma20:=ma(c,20);ma30:=ma(c,30);ma60:=ma(c,60);ld:=ma20<ma30 and ma30<ma60;jd:=atan((ma20/ref(ma20,1)-1)*100)*180/3.1416;xg:ld and jd<0 and c<ma20;希望能够帮助您,顺祝马年投资顺利!