通达信短线CCI指标公式
2020/10/24 18:25:49
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
大底:=-200,COLORRED;
中底:-100,COLORYELLOW;
STICKLINE(CROSS(CCI,大底),大底,0,1,0),COLORRED;
STICKLINE(CROSS(CCI,中底),大底,中底,1,0),COLORYELLOW;
大顶:=200,COLORRED;
中顶:100,COLORYELLOW;
STICKLINE(CROSS(中顶,CCI),大顶,中顶,1,0),COLORYELLOW;
STICKLINE(CROSS(大顶,CCI),大顶,0,1,0),COLORRED;
XG:(CROSS(CCI,中底));
DRAWTEXT(XG,中底,'买入'),COLORYELLOW;
DRAWTEXT(CROSS(CCI,大底),大底,'关注'),COLORRED;
DRAWTEXT(CROSS(中顶,CCI),中顶,'卖出'),COLORYELLOW;
DRAWTEXT(CROSS(大顶,CCI),大顶,'关注'),COLORRED;
投股 票网 www.tou 18.cn
股市公式下载推荐