{__STYLE__}
你好,1、0轴上方第一次金叉选股公式:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);select:cross(diff,dea)anddea>-1.0anddea<0.5andCLOSE>ref(CLOSE,1)andCLOSE>=ma(c,60);或:DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);XG:DIF>0ANDDEA>0ANDCROSS(DIF,DEA);2、0轴上方二次金叉的选股公式:JC:IF(SUM(IF(MACD>0ANDCROSS(MACD.DIF,MACD.DEA),1,0),0)-HHV(IF(IF(CROSS(MACD.DEA,0),1,0),SUM(IF(MACD>0ANDCROSS(MACD.DIF,MACD.DEA),1,0),0),0),0)=2ANDSUM(IF(MACD>0ANDCROSS(MACD.DIF,MACD.DEA),1,0),0)>REF(SUM(IF(MACD>0ANDCROSS(MACD.DIF,MACD.DEA),1,0),0),1),10,0);