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日均线,这样信号就比较少了。再加...
根据你的要求条件,我使用通达信南京证券版来写,公式为:公式名称:30日上60日公式类型:指标条件选股代码如下:ma30:=ema(c,30);ma60:=ema(c,60);上穿多头:=ma30>ma60 and ma30>ref(ma30,1) and ma60>ref(ma60,1) and cross(ma(c,30),ma(c,60));上穿多头;我试过可以选出股票.