{使用说明:1.上轨向上,股价大于中轨,站上BBI多头排列买,破BBI卖;2.上轨向下,守住本金,就是空仓。}
NOTEXT顶:250,COLORGRAY;
NOTEXT底:-150,COLORGRAY;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE;
C2:=(TYP-MA(TYP,28))/(0.015*AVEDEV(TYP,28));
C3:=(TYP-MA(TYP,68))/(0.015*AVEDEV(TYP,68));
CCI2:EMA(C2,2),COLORYELLOW;
CCI3:EMA(C3,2),COLORMAGENTA;