网友求助:

求助,请老师写个diff dea 大于0 且小于macd的公式
 

 

解答如下:

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DIF>0 AND DEA>0 AND DIF<MACD AND DEA<MACD;