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日均线,这样信号就比较少了。再加...
ma13:=ma(c,13);ma34:=ma(c,34);ma55:=ma(c,55);xg1:=ma13>=ref(ma13,1) and ma34>=ref(ma34,1) and ma55>=ref(ma55,1);xg2:xg1 and l<ma13 and c>ma13 and c>ma34 and c>ma55;