TYP:=(HIGH+LOW+CLOSE)/3;
cci:(TYP-MA(TYP,24))/(0.015*AVEDEV(TYP,24));
boll:MA(CCI,24),COLORRED,LINETHICK2;
UPPER:BOLL+2*STD(CCI,24),POINTDOT,COLORLIBLUE;
LOWER:BOLL-2*STD(CCI,24),POINTDOT,COLORLIBLUE;
中轨:(MA(CCI,3)+MA(CCI,6)+MA(CCI,12)+MA(CCI,24))/4,COLORBLUE;
IF(中轨>REF(中轨,1),中轨,DRAWNULL),LINETHICK1,COLORMAGENTA;
{-股票公式网站 }
IF(BOLL<REF(BOLL,1),BOLL,DRAWNULL),LINETHICK2,COLORGREEN;
UPR:中轨+6*STD(中轨,11),COLORGRAY;
DWN:中轨-6*STD(中轨,11),COLORGRAY;