CCI引力公式,真正好看又中用(通达信公式 副图 源码 测试图)
CCI引力,超短线、短线、波段、大波段、抄底、逃顶。。。,
此指标都可以参考,关键在于领悟,真正好看又中用的指标公式。
TYP:=(HIGH+LOW+CLOSE)/3;CCI84:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORFF00FF;DRAWBAND(CCI84,RGB(250,0,0),-100,RGB(0,0,250));CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLOR00FFFF,LINETHICK2;DRAWBAND(CCI14,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;MA30:=MA(C,30);MA72:=MA(C,72);MA引力:=(MA30+MA72)/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;CCI14A:CCI14,COLOR00FFFF,LINETHICK2;CCI买卖:CCI84,COLORFFFF00,LINETHICK2;引力乖离:BIASL,COLORFFFFFF,LINETHICK2;DRAWICON(CROSS(CCI14A,-100),-108,5);DRAWICON(CROSS(CCI14,100),92,13);DRAWICON(CROSS(CCI84,-100),-92,23);DRAWICON(CROSS(CCI84,100),108,34);DRAWICON(CROSS(BIASL,0),0,1);DRAWICON(CROSS(100,CCI14A),108,14);DRAWICON(CROSS(100,CCI84),92,35);DRAWICON(CROSS(0,BIASL),0,2);
此指标都可以参考,关键在于领悟,真正好看又中用的指标公式。
TYP:=(HIGH+LOW+CLOSE)/3;CCI84:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORFF00FF;DRAWBAND(CCI84,RGB(250,0,0),-100,RGB(0,0,250));CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLOR00FFFF,LINETHICK2;DRAWBAND(CCI14,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;MA30:=MA(C,30);MA72:=MA(C,72);MA引力:=(MA30+MA72)/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;CCI14A:CCI14,COLOR00FFFF,LINETHICK2;CCI买卖:CCI84,COLORFFFF00,LINETHICK2;引力乖离:BIASL,COLORFFFFFF,LINETHICK2;DRAWICON(CROSS(CCI14A,-100),-108,5);DRAWICON(CROSS(CCI14,100),92,13);DRAWICON(CROSS(CCI84,-100),-92,23);DRAWICON(CROSS(CCI84,100),108,34);DRAWICON(CROSS(BIASL,0),0,1);DRAWICON(CROSS(100,CCI14A),108,14);DRAWICON(CROSS(100,CCI84),92,35);DRAWICON(CROSS(0,BIASL),0,2);