tv1:=ref(v,2)<ma(v,5);tv2:=cross(c,ma(c,5)) and v>=ma(v,5);tv3:=ma(c,5)<ref(ma(c,5),1) and ma(c,10)<ref(ma(c,10),1);xg:tv1 and tv2 and tv3;仅供参考,希望能够帮助您,顺祝马年投资顺利!
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;(试通过,不过金叉股不好找啊.。一...
a1:=ma(c,5);a2:=ma(c,10);a3:=ma(c,20);a4:=ma(c,30);t1:=cross(a1,a2);t2:=cross(a3,a4);xg:t1 and t2;参考资料:http://tieba.baidu.com/f?kw=%b9%c9%c6%b1%b9%ab%ca%bd%d7%a8%bc%d2