dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);v1:=ma(v,5);v2:=ma(v,10);ma1:=ma(c,5);ma2:=ma(c,10);三线:if(cross(dif,dea) and cross(ma1,ma2) and cross(v1,v2),20,0),linestick,colorred;(试通过,不过金叉股不好找啊.。一...
朋友,以下是你要的选股公式: aa:=ma(c,5);bb:=ma(c,10);cc:=count(aa>bb,5)=5 and count(aa(aa,1),3)>=1;dd:=count(aa/bb>0.98,3)>=1;ee:=aa-bb;ee>ref(ee,1)and dd and cc;我试选了下,得到的股票如图所示。