指标说明:当CCI在绿线之上,股价回调,就是买点,CCI上升强势,若出现与股价顶背离,可离场。
CCI指标
TYP:=(HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,14))*100/(1.5*AVEDEV(TYP,14)),COLORRED;
涨:CROSS(CCI,0),COLOR0000FF;
强:CROSS(CCI,100),COLORYELLOW;
回:CROSS(100,CCI) AND CCI 0,COLORWHITE;
{以下设置副图显示方式}
STICKLINE(涨,0,100,4,0),COLORYELLOW;
DRAWTEXT(涨,80,'涨'),POINTDOT,COLOR0000FF;
STICKLINE(强,100,200,4,0),COLORFF00FF;
DRAWTEXT(强,200,'强'),POINTDOT,COLOR00FF00;
STICKLINE(回,150,50,4,0),COLORWHITE;
DRAWTEXT(回,120,'回'),COLOR00FF00;
STICKLINE(CCI =100,100,150,4,0),COLORYELLOW;
STICKLINE(CCI =150,150,200,4,0),COLORRED;
STICKLINE(CCI =-150,-150,-200,4,0),COLORFF6600;
平衡:0,COLOR00FF00;
强势:100,POINTDOT,COLORYELLOW;
风险:150,POINTDOT,COLOR0000FF;
超跌:-150,POINTDOT,COLORFF6600;