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 20210311
a1:=ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,60)>ref(ma(c,60),1);vpt:=sum(vol*(close-ref(close,1))/ref(close,1),0);m**pt:=ma(vpt,6);a2:=vpt...
这是你说的意思的指标公式 dif:ema(close,12)-ema(close,26);dea:ema(dif,9);macd:(dif-dea)*2,colorstick;if(dif>ref(dif,1)and dif>dea and dif>0,dif,draw**),colorred,linethick2;if(dif(dif,1)and dif>dea and ...