ma1:=ma(c,5);ma2:=ma(c,10);ma3:=ma(c,20);ma4:=ma(c,30);bias1:=(close-ma(close,5))/ma(close,5)*100;bias2:=(close-ma(close,10))/ma(close,10)*100;aa:=dma.dif>0.5 and dma.ama>0.5;bb:=bias1<20 and...
a1:=cross(ma(c,5),ma(c,10));a2:=barslast(a1);xg:count(c(c,1),a2)=1 and c(c,1);公式意义:5日线金叉10日均线之后的第一次下跌选股。公式已经测试通过!参考资料:http://tieba.baidu.com/f?kw=%b9%c9%c6%b1%b9%ab%ca%bd%d7%a8%bc%d2