TYP:=(HIGH+LOW+CLOSE)/3;
短CCI5:(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5)),color00ffff,linethick3;
中CCI14:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),color00ff00,linethick3;
长CCI55:(TYP-MA(TYP,55))/(0.015*AVEDEV(TYP,55)),color0000ff,linethick3;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
DIF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
cci主力:COUNT(MACD 0,10)=10,COLORRED;
STICKLINE(cci主力,0,MACD*200,8,0),COLORRED;
100,colorff9900;
0,colorffa2af,linethick3;
-100;
-100,STICK;
-200,pointdot;
200,pointdot;