通达信CCI升级版副图指标 源码 贴图

[复制链接]
查看25 | 回复0 | 2022-7-11 10:31:44 | 显示全部楼层 |阅读模式

2019779255355454.png

2019779255355454.png



N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
DRAWTEXT(CROSS(200,CCI),250,'下穿逃顶线'),COLORGREEN;
DRAWTEXT(CROSS(100,CCI),100,'下穿强势力线'),COLORGREEN;
DRAWTEXT( CROSS(CCI,-200),-150,'上穿弱势线'),COLORYELLOW;
DRAWTEXT( CROSS(CCI,-100),-100,'上穿抄底线'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,1,0),COLORRED;
STICKLINE(CCI<0,0,CCI,1,0),COLORLIGREEN;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK4;
差值:=CCI70-REF(CCI70,1);
IF(差值>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK4;
IF(差值<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK4;
逃顶线:200,COLORGREEN;
强势线:100,COLORRED,LINETHICK2;
中轴线:0,COLORYELLOW,LINETHICK1;
抄底线:-100,COLORLIRED;
弱势线:-200,COLORGREEN;
DRAWICON(CROSS(CCI,-100) OR (REF(CCI,1)>-100 AND REF(CCI,1)<-95 AND CCI>REF(CCI,1)),CCI-0.03,1);
DRAWICON(CROSS(100,CCI) OR (REF(CCI,1)<100 AND REF(CCI,1)>95 AND CCI<REF(CCI,1)),CCI+0.03,2);

2019779263751004.rar

2.85 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2019779263751004.rar

回复

使用道具 举报

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

本版积分规则