DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);LX:=IF(BARSLASTCOUNT(CLOSE>OPEN)>=2 AND BARSLASTCOUNT(DIFREF(DIF,2)>REF(DIF,3) AND REF(C,2)>REF(O,2) LX>0;{沟通3385478641}以上是你想要的代码,有什么不对的地方,可以沟通