六六公式网

 找回密码
 立即注册
微信扫一扫 分享朋友圈

已有 985 人浏览分享

开启左侧

CCI红绿波段副图指标(通达信 源码 贴图)

[复制链接]
985 0
指标说明:
有区间的都是震荡指标,所有震荡指标,弊端都是单边行情,
只在200以上和负200以下进场,到负200处,必出红箭头+拐头突破负200再进多

CCI红绿波段副图指标(通达信 源码 贴图)

CCI红绿波段副图指标(通达信 源码 贴图)




{DRAWGBK(O>C,RGB(40,40,40),RGB(0,0,40),0,'01',0);} {背景不要可删除}
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
RSI1:=CCI;
AA:=REF(RSI1,N)=HHV(RSI1,2*N+1);
BB:=BACKSET(AA,N+1);
CC:=FILTER(BB,N) AND RSI1=HHV(RSI1,N+1);
A1:=BARSLAST(REF(CC,1));
{顶背离:REF(CLOSE,A1+1)<CLOSE AND REF(RSI1,A1+1)>RSI1 AND CC;}
{DRAWLINE(CC,RSI1,FILTER(顶背离>0,5),RSI1,0),COLORFF0000,LINETHICK2;}
{DRAWICON(顶背离,CCI*0.9,6);}
AA2:=REF(RSI1,N)=LLV(RSI1,2*N+1);
BB2:=BACKSET(AA2,N+1);
CC2:=FILTER(BB2,N) AND RSI1=LLV(RSI1,N+1);
A2:=BARSLAST(REF(CC2,1));
{底背离:REF(CLOSE,A2+1)>CLOSE AND REF(RSI1,A2+1)<RSI1 AND CC2;}
{DRAWLINE(CC2,RSI1,FILTER(底背离>0,5),RSI1,0),COLORMAGENTA,LINETHICK2;}
{DRAWICON(底背离,CCI*1.1,5);}
上升:IF(CCI>REF(CCI,1),CCI,DRAWNULL),LINETHICK1,COLORRED,DOTLINE;
X:=CROSS(CCI,-100);
{DRAWICON(X,-150,7);}
M:=CROSS(100,CCI);
{DRAWICON(M,150,8);}
IF(CCI>=100,CCI,DRAWNULL),COLORGREEN;
IF(CCI<=-100,CCI,DRAWNULL),COLORRED;
顶部:220,COLOR0000FF,LINETHICK1;
底部:-220,COLOR00FF00,LINETHICK1;
STICKLINE(CCI>220,180,CCI,0.5,0), COLORGREEN;
STICKLINE(CCI<-220,-180,CCI,0.5,0), COLORRED;


举报 使用道具

回复

3709

关注

8

粉丝

11

主题
随机推荐
热门指标
精品推送
精品指标

QQ|Archiver|小黑屋|六六公式网

GMT+8, 2024-11-24 01:59 , Processed in 0.195507 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.