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;
{ _最新股票指标公式}
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;