公式如下:jc:if(sum(if(macd>0 and cross(macd.dif,macd.dea),1,0),0)-hhv(if(if(cross(macd.dea,0),1,0),sum(if(macd>0 and cross(macd.dif,macd.dea),1,0),0),0),0)=2 and sum(if(macd>0 and cross(macd.dif,...
jc:if(sum(if(macd>0 and cross(macd.dif,macd.dea),1,0),0)-hhv(if(if(cross(macd.dea,0),1,0),sum(if(macd>0 and cross(macd.dif,macd.dea),1,0),0),0),0)=2 and sum(if(macd>0 and cross(macd.dif,macd....
{二次金叉选股}jm:=cross("macd.diff"(12,26,9),"macd.dea"(12,26,9));jmcount:=count(jm,barslast("macd.dea"(12,26,9)>=0));jmtj:=1*("macd.dea"(12,26,9)<0 and count(j...