【同花順】極品CCI指標(biāo)公式
攻城獅 2015.11.11 04:36
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 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
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。