1、求MACD零轴以上黏合公式 2、求MACD零轴附近黏合公式
爱约股解答:
{0轴上粘合}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DIF>0 AND ABS(MACD)<0.01;
==============
{0轴附近粘合}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
BETWEEN(DIF,-0.01,0.01) AND BETWEEN(DEA,-0.01,0.01) AND ABS(MACD)<0.01;