以下是同花顺生命cci线源码附图
cci指标大家可能都知道, 专业的操盘手手几乎是离不开它的,对于买进卖出有极高的整合判断价值。让你看出股价现在是高是低的最好指标,像其他的什么kdj指标到100就钝化了,而cci属于顺势指标,一旦股价过高它会背离股价向下运行此时是最好的卖点,买点也是如此。觉得好的话鼓励鼓励。
CC1:CCI(25),COLORSTICK,COLOR40FF00;
DRAWICON(CROSS(200,CCI),250,2);
DRAWICON( CROSS(CCI,-200),-250,1);
转强:CCI>0,COLOR0000D5,NODRAW;
STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;
弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;
强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
生命CCI线:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
底部线:-100.00,coloryellow,LINETHICK2;
警戒线:300.00,colorwhite,LINETHICK2;
生命线:100.00,colorred,LINETHICK2;
警戒:=500.00,;
DRAWTEXT(CROSS(生命CCI线,底部线),底部线,\’★主升\’),colorred;
DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,\’★警惕\’),colorred;
DRAWTEXT(CROSS(生命CCI线,警戒),警戒,\’★极高点\’),coloryellow;
DRAWTEXT(CROSS(生命CCI线,生命线),生命线,\’★强\’),colormagenta;
{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}