CCI买卖点优化副图指标 源码 通达信 贴图

[复制链接]
查看46 | 回复0 | 2022-7-11 10:38:45 | 显示全部楼层 |阅读模式
给大家分享个自己用的买卖点指标,从传统CCI指标优化而来,提供买卖点预警和顶底背离预警。 CCI买卖点用B买S卖

201938913940852.jpg

201938913940852.jpg


2019389131255183.jpg

2019389131255183.jpg


CCI底背离,出笑脸底背离成立,出买点时再出手

2019389132995712.jpg

2019389132995712.jpg


2019389133225701.jpg

2019389133225701.jpg


CCI顶背离,出顶背离立即减仓

2019389134820703.jpg

2019389134820703.jpg



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),COLORGREEN,LINETHICK1;
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,LINETHICK1;
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; 顶部:100,COLORBLUE,LINETHICK1;
底部:-100,COLORRED,LINETHICK1;
STICKLINE(CCI>100,100,CCI,0.5,0), COLORGREEN;
STICKLINE(CCI<-100,-100,CCI,0.5,0), COLORRED;

201938915377998.rar

1.52 KB, 下载次数: 0

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

201938915377998.rar

回复

使用道具 举报

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

本版积分规则