DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA), COLORSTICK; STICKLINE(MACD0,0,MACD,1,0),COLORGREEN; STICKLINE(MACDREF(MACD,1)AND MACD>0,0,MACD,1,0),COLORMAGENTA; 强弱分界:0,COLORWHITE,LINETHICK1;
爱约股解答:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
REF(MACD,1)<REF(MACD,2)AND REF(MACD<0,1) AND MACD>REF(MACD,1)AND MACD>0;