简单明了CCI跟踪指标公式源码 大智慧 飞狐版 通达信通用[其他软件公式]
相关标签: 飞狐cci上穿 、 cci指标的简单用法 、 cci 、 cci选股公式 、 cci指标实战技巧图解 、 cci指标 、 cci指标炒股绝招 、 cci精准选股指标公式 、 cci指标 最佳参数 、
CCI指标大家再熟悉不过了,在实战中使用率非常高,关于常规用法论坛里有很多,在这里就不再浪费资源了.
炒股就是一个收集信息的过程,能否操作得好就看对收集来的信息的敏感程度了,只可惜这个敏感程度并非一日之功!
下面简介的CCI指标并非选股指标,只不过将CCI进行数据分段处理,将它变得更直观些,从而培养我们的条件反射能力!
大智慧新一代源码:
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
DRAWTEXT(CROSS(200,CCI),250,'下穿200'),COLORGREEN;
DRAWTEXT( CROSS(CCI,-200),-150,'上穿-200'),COLORYELLOW;
DRAWTEXT( CROSS(CCI,-100),-100,'上穿-100'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,4,0),COLORRED;
STICKLINE(CROSS(CCI,-200) AND CCI>ref(CCI,1),CCI,0,4,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<ref(CCI,1),0,CCI,4,0),COLORGREEN;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=4 OR CXH=9));
DRAWTEXTREL(10 ,10 ,' ');
DRAWTEXTREL(10,10,'转强 CCI>0 红柱'),COLORRED;
DRAWTEXTREL(10,80,'弱转强 CCI上穿-200 黄柱'),COLORYELLOW;
DRAWTEXTREL(10,150,'强转弱 CCI下穿200 绿柱'),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),colorYELLOW,LINETHICK2;
差值:=CCI70-ref(CCI70,1);
partline(CCI70,差值>0,RGB(255,255,0),差值<0,RGB(0,0,255)),LINETHICK2;
周CCI:"cci.aa#week",LINETHICK2,COLORWHITE;
0,COLORYELLOW;
飞狐源码:
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
DRAWTEXT(CROSS(200,CCI),250,'下穿200'),COLORGREEN;
DRAWTEXT( CROSS(CCI,-200),-150,'上穿-200'),COLORYELLOW;
DRAWTEXT( CROSS(CCI,-100),-100,'上穿-100'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,4,0),COLORRED;
STICKLINE(CROSS(CCI,-200) AND CCI>ref(CCI,1),CCI,0,4,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<ref(CCI,1),0,CCI,4,0),COLORGREEN;
DRAWTEXTEX(C,1,10,10,'转强 CCI>0 红柱'),COLORRED;
DRAWTEXTEX(C,1,10,80,'弱转强 CCI上穿-200 黄柱'),COLORYELLOW;
DRAWTEXTEX(C,1,10,150,'强转弱 CCI下穿200 绿柱'),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),colorYELLOW,LINETHICK2;
差值:=CCI70-ref(CCI70,1);
partline(差值>0,CCI70),COLORYELLOW,LINETHICK2;
partline(差值<0,CCI70),COLORBLUE,LINETHICK2;
0,COLORYELLOW;
通达信版源码:
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
DRAWTEXT(CROSS(200,CCI),250,'下穿200'),COLORGREEN;
DRAWTEXT( CROSS(CCI,-200),-150,'上穿-200'),COLORYELLOW;
DRAWTEXT( CROSS(CCI,-100),-100,'上穿-100'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,1,0),COLORRED;
STICKLINE(CROSS(CCI,-200) AND CCI>ref(CCI,1),CCI,0,1,0),COLORYELLOW;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,' '),COLORRED;
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,LINETHICK2;
差值:=CCI70-ref(CCI70,1);
IF(差值>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(差值<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK2;
0,COLORYELLOW;
周CCI:"CCI.CCI#WEEK",LINETHICK2,COLORWHITE;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容