DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:=EMA(DIF,MID); MACD:=(DIF-DEA)*2; EVERY(DIF>REF(DIF,1),N) AND EVERY(DEA>REF(DEA,1),N) AND EVERY(MACD>REF(MACD,1),N) {AND EVERY(V>REF(V,1),N);}; {用法:N取(1,360天,缺省1,),使用MACD指标参数,选出MACD上升强牛}