公式用法说明:
收盘价高于昨日,但cci指标走平,这是顶背离卖点
收盘价高于昨日,但cci指标却拐头向下是卖点
{自用CCI副图 源码}
TYP:=(HIGH+LOW+CLOSE)/3;
QSX:=(TYP-MA(TYP,12))/(0.015*AVEDEV(TYP,12)),COLORWHITE;
CCI:QSX/500,LINETHICK2,COLORFF33FF;
{CCI 100 -100 }
STICKLINE(C 0,100/500,100/500,1,-1)COLORWHITE;
DRAWTEXT(ISLASTBAR,100/500,''),COLORWHITE;
STICKLINE(C 0,-100/500,-100/500,1,-1)COLORWHITE;