中秋献礼双飞雁通用副图源码贴图说明
在中秋节之际,特此奉献双飞雁(变异双MACD)指标,祝朋友们中秋快乐!
红线为变异常规MACD线,此线与南飞雁(绿线配合)观察;DIFF,DEAD为大周期,DMAC为柱线。
DIF:=EMA(C+SLOPE(C,12),12)-EMA(C+SLOPE(C,26),26);
DEA:=EMA(EMA(DIF+SLOPE(DIF,9),9)+SLOPE(EMA(DIF+SLOPE(DIF,9),9),6),6);
MACD:(DIF-DEA)*2,COLORRED;
DIFF:EMA(C+SLOPE(C,21),21)-EMA(C+SLOPE(C,63),63);
DEAD:EMA(EMA(DIFF+SLOPE(DIFF,6),6)+SLOPE(EMA(DIFF+SLOPE(DIFF,6),6),4),4);
DMAC:(DIFF-DEAD)*2,COLORSTICK;
南飞雁:REVERSE(DMAC),COLORGREEN;