k:="kdj.k";d:="kdj.d";j:="kdj.j";kdj金叉:cross(j,0);{也许应该是kdj金叉:cross(k,d) and d<20;看你是如何要求的}macd金叉:=cross("macd.macd",0);sum(kdj金叉 and macd金叉,3)>0;最后一句也可能应...
{ma2、ma4--自定义}ref(cross(ma2,ma4),1) and ma2<ref(ma2,1);========================================={举例说明:ma2---5日均线;ma4---10日均线,整个公式就为:}ma2:=ma(c,5);ma4:=ma(c,10);选股:ref(cross(ma2,ma4),1) and ma2<r...