Dif与dea金叉呢。。怎么表达?
追答DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
MACD>REF(MACD,1);
金叉:CROSS(DIF,DEA);
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
MACD>REF(MACD,1);
把这一条加一个,收盘价在所有均线之上,可以吗?