双飞雁通达信公式 源码 贴图
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;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
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,画红色
{股票指标网}
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
输出
南飞雁:DMAC的相反数,画绿色