通达信cci源码指标公式

[复制链接]
查看17 | 回复0 | 2022-7-24 07:34:19 | 显示全部楼层 |阅读模式

TYP:=(HIGH+LOW+CLOSE)/3;
 CCI20:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)),COLORFF00FF;
 DRAWBAND(CCI20,RGB(250,0,0),-100,RGB(0,0,250));
 CCI4:=(TYP-MA(TYP,4))/(0.015*AVEDEV(TYP,4)),COLOR00FFFF,LINETHICK2;
 DRAWBAND(CCI4,RGB(200,150,0),-100,RGB(0,150,0));
 STICKLINE(1,100,100,5,0),COLOR00FFFF;
 STICKLINE(1,-100,-100,5,0),COLOR00FF00;
 STICKLINE(1,60,60,2,0),COLOR00FFFF;
 STICKLINE(1,-40,-40,2,0),COLOR0000FF;
 MA9:=MA(C,9);
 MA20:=MA(C,20);
 MA引力:=(MA9+MA20)/2,COLOR00FFFF,LINETHICK2;
 BIASL:=(CLOSE-MA(CLOSE, MA引力))/MA(CLOSE, MA引力)*1000,COLORFF00FF,LINETHICK2;
 DRAWBAND(BIASL,RGB(200,0,200),0,RGB(0,200,200));
 0,COLOR0000FF,LINETHICK2;
 CCI4A:CCI4,COLOR00FFFF,LINETHICK2;
 CCI买卖:CCI20,COLORFFFF00,LINETHICK2;
 引力乖离:BIASL,COLORFFFFFF,LINETHICK2;
 DRAWICON(CCI买卖<引力乖离 AND CCI买卖<-50 AND C<REF(C,1),-100,1);
 DRAWICON(CCI4A<-100 AND CCI买卖>0 AND 引力乖离>-30,200,1);
 200,DOTLINE;

 

2031577353.JPG

2031577353.JPG

CCI就是 线穿0轴和100轴的时候威力要大

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则