联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

通达信自用CCI副图指标

2016-7-28 10:55:19点击:

STICKLINE(C>0,100,-100,10,0),COLOR2B5500;
STICKLINE(C,200,200,8,0.5),LINETHICK2,COLOR008000;
STICKLINE(C,-200,-200,8,0.5),LINETHICK2,COLOR008000;
STICKLINE(C,-100,-100,8,0),LINETHICK2,COLOR008000;
STICKLINE(C,100,100,8,0),LINETHICK2,COLOR008000;
STICKLINE(C,0,0,8,8),LINETHICK2,COLOR008000;
阶段卖: 150,COLORC6C600;底部:-150,COLORFF75FF;¥④:250,LINETHICK1,COLORBROWN;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLOR00A600,LINETHICK0;

CCI84:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),{COLOR00A600}COLORGREEN,LINETHICK1;
DRAWBAND(CCI84,RGB(135,255,35),0,RGB(240,160,0));
{DK:=CCI;
RC:=0;
STICKLINE(DK>0 AND DK>REF(DK,1),RC,RC+DK,1,0),COLOR006699;
STICKLINE(DK>0 AND DK<=REF(DK,1),RC,RC+DK,1,1),COLORFF00AA;
STICKLINE(DK<0 AND DK>REF(DK,1),RC,RC+DK,1,0),COLOR998800;
STICKLINE(DK<0 AND DK<=REF(DK,1),RC,RC+DK,1,1),COLOR009900;}
MACD2:=CCI;
STICKLINE((MACD2>=0),0,MACD2,1.5,1),COLOR0000AA;
STICKLINE(((MACD2>=0) AND (MACD2 < REF(MACD2,1))),0,MACD2,1.5,0),COLOR00AAFF;
STICKLINE((MACD2<0),0,MACD2,1.5,1),COLORFF7700;
STICKLINE(((MACD2<0) AND (MACD2 > REF(MACD2,1))),0,MACD2,1.5,0),COLORAA00BB;


{VAR3:=CCI84; 
IF(VAR3>=REF(VAR3,1) AND VAR3>=0,VAR3,DRAWNULL),COLORRED,LINETHICK4,POINTDOT;
IF(VAR3<REF(VAR3,1),VAR3,DRAWNULL),COLORYELLOW,LINETHICK4,POINTDOT;
IF(VAR3>=REF(VAR3,1) AND VAR3<0,VAR3,DRAWNULL),COLORGREEN,LINETHICK4,POINTDOT;};