九毛八公式指标
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,MACD,1,0),COLORRED; STICKLINE(MACD>REF(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;