股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 1886|回复: 0
打印 上一主题 下一主题

大智慧实用CCI指标公式

[复制链接]

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
4
跳转到指定楼层
楼主
发表于 2016-6-29 16:45 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
TYP := (HIGH + LOW + CLOSE)/3;
CCI14: (TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI24: (TYP-MA(TYP,24))/(0.015*AVEDEV(TYP,24)),LINETHICK2,COLORgreen;
CCI84: (TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),LINETHICK1,COLORSTICK;
CCI084: (TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),LINETHICK3,COLORYELLOW;
CCI168: (TYP-MA(TYP,168))/(0.015*AVEDEV(TYP,168)),LINETHICK4,COLORblue;
CCI840: (TYP-MA(TYP,840))/(0.015*AVEDEV(TYP,840)),LINETHICK4,COLORred;
底背离14: LLV(L,55)=L AND NOT(LLV(CCI14,55)=CCI14);
底背离84: LLV(L,55)=L AND NOT(LLV(CCI84,55)=CCI84);
顶背离14: hhv(h,55)=h AND NOT(hhv(CCI14,55)=CCI14);
顶背离84: hhv(h,55)=h AND NOT(hhv(CCI84,55)=CCI84);
DRAWTEXT(底背离14>0,150,'底' ),COLORyellow;
DRAWTEXT(底背离14>0,50,'背' ),COLORyellow;
DRAWTEXT(底背离14>0,0,'离' ),COLORyellow;
DRAWTEXT(底背离84>0,100,'底' ),COLORgreen;
DRAWTEXT(底背离84>0,50,'背' ),COLORgreen;
DRAWTEXT(底背离84>0,0,'离' ),COLORgreen;
DRAWTEXT(顶背离14>0,150,'顶' ),COLORRED,linethick2;
DRAWTEXT(顶背离14>0,50,'背' ),COLORRED;
DRAWTEXT(顶背离14>0,0,'离' ),COLORRED;
DRAWTEXT(顶背离84>0,200,'顶' ),COLORwhite,linethick2;
DRAWTEXT(顶背离84>0,50,'背' ),COLORBLUE;
DRAWTEXT(顶背离84>0,0,'离' ),COLORBLUE;
DIFF := EMA(CLOSE,7) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
顶背离m:=hhv(h,55)=h AND NOT(hhv(DIFF,55)=DIFF);
100,POINTDOT,COLORRED;
200,POINTDOT;
0;
-200,POINTDOT;
d:=CCI84<CCI168;f:=count(d,12)>9 and CCI24>CCI84 and not(顶背离m) and cci14>cci24 ;
xg:c<ref(c,1) and cross(CCI14,CCI24);DRAWICON(xg,0,5 );
xg波段:f and cross(CCI84,CCI168);DRAWICON(xg波段,350,7);DRAWTEXT(xg波段,330,'抄' ),LINETHICK3,COLORYELLOW; DRAWTEXT(xg波段,300,'底' ),LINETHICK3,COLORYELLOW;
a:=ref(xg波段,1) and c<ref(c,1);
bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
woxg:count(a,10)>0 and cross(c,bbi); DRAWTEXT(woxg,300,'!' ),LINETHICK3,COLORYELLOW;
ZTJ:=cross(CCI168,CCI840) and CCI840>0;
主升浪:ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE(ZTJ)=0); DRAWTEXT(主升浪,480,'主升浪' ),LINETHICK3,COLORmagenta;
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-12-5 10:12 , Processed in 0.127425 second(s), 20 queries .

Powered by Discuz! X3.2

© 2004-2014 早晨网股票论坛欢迎您!..

快速回复 返回顶部 返回列表