此指标为变异后的MACD与CCI的组合,SIF,SEA为大周期二线,DIF,DEA为较小周期的MACD二线,大周期判断中长线,小周期与CCI结合判断中短线。
变异的内容主要在参数。下面贴图为飞狐,通达信的SIF与SEA之间的柱线与飞狐有差别可以适当减小柱宽参数5
源码:
STICKLINE(C 0,0,0,10,0),COLORGRAY;
Sif:EMA(C,21)-EMA(C,45),POINTDOT,COLORWHITE;
Sea:ema(SIF,15),POINTDOT,COLORAAAA00;
STICKLINE(SIF Sea,SIF,Sea,5,1),COLORBROWN;
STICKLINE(SIF Sea,Sif,Sea,5,1),COLORBLUE;
dif:EMA(C,7)-EMA(C,15),COLORMAGENTA;
dea:ema(DIF,5),COLORGREEN;
MACD:2*(DIF-DEA),COLORSTICK,COLORRED;
CCI:((MA(C,21)-C)/(AVEDEV(C,21)*3.15)),COLOR00CCCC;