挺好的指标cci


 

N:=14;

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(CCI<0,0,CCI,1,0),colorligreen;

STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),coloryellow;

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;

逃顶线:200,colorgreen;

强势线:100,colorred,LINETHICK2;

趋势线:CCI,colorgray,LINESTICK,LINETHICK1;

中轴线:0,coloryellow,LINETHICK1;

抄底线:-100,colorwhite;

弱势线:-200,colorgreen;

DRAWICON(CROSS(CCI,-100) OR (REF(CCI,1)>-100 AND REF(CCI,1)<-95 AND CCI>REF(CCI,1)),CCI-0.03,1);

DRAWICON(CROSS(100,CCI) OR (REF(CCI,1)<100 AND REF(CCI,1)>95 AND CCI<REF(CCI,1)),CCI+0.03,2);





来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图