通达信CCI吸筹副图指标源码

[复制链接]
查看76 | 回复0 | 2021-8-26 22:35:34 | 显示全部楼层 |阅读模式

以下是通达信CCI吸筹副图指标源码(无源码的请下载附件导入)

TYP:=(HIGH+LOW+CLOSE)/3;
 C1:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
 C2:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
注意了结:200,COLORRED;
底部区域:-150,COLORLIGREEN;
 VARA:=REF(LOW,1);
 VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;
 VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);
 VARD:=LLV(LOW,30);
 VARE:=HHV(VARC,30);
 VARF:=IF(MA(CLOSE,58),1,0);
 VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;
 VARH:=IF(VARG>50,50,VARG);
吸筹:STICKLINE(VARH>-120,0,VARH,6,1),COLOR0FFFFF;
强弱吸筹:IF(吸筹,1,0),COLOR0FFFFF;
 RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
买入时机: IF(CROSS(C1,-150),-150,-200),COLORFF00FF,LINETHICK2;
 LL:=REF(CLOSE,1);
 MM:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100;
分批出: IF(CROSS(80,MM),200,250),COLORCYAN,LINETHICK2;
牛启动: IF(CROSS(C2,-70),-100,-150),COLORGREEN,LINETHICK2;

1947300345.jpg

1947300345.jpg

回复

使用道具 举报

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

本版积分规则