macd指标主图表现,背离,大小堆,金叉一目了然
DIFF :=EMA(C,12) - EMA(C,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
M价:(REF(MACD,1)/2 +(26-1)*REF( EMA(C,26),1)/(26+1)
-(12-1)*REF( EMA(C,12),1)/(12+1)+ 2*DIFF/(9+1)
+(9-1)*REF( DEA,1)/(9+1)) /2/(1 /(12+1)-1/(26+1) ),DOTLINE;
WDIF:=EMA(EMA(EMA(C,3),3),3)+DIFF;
WDEA9:EMA(WDIF,9),COLORGREEN;
MA60:MA(CLOSE,60),COLORLIGRAY;