//雙線CCI股票公式
M:=89;
N:=14;
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI2:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
CCI3:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
a:100;
b:-100;
主要講解的是cci指標(biāo)中兩條線的走勢(shì)變化,與股價(jià)的對(duì)應(yīng)關(guān)系,其基本的走勢(shì)圖形如下:
但是在cci指標(biāo)的應(yīng)用中,也具有不同的應(yīng)用方法和技巧,其中極品應(yīng)用中對(duì)應(yīng)的操作源碼如下:
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;
強(qiáng)勢(shì)線:100,colorred,LINETHICK2;
趨勢(shì)線:CCI,colorgray,LINESTICK,LINETHICK1;
中軸線:0,coloryellow,LINETHICK1;
抄底線:-100,colorwhite;
弱勢(shì)線:-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
以上的源碼中講解了指標(biāo)應(yīng)用中的中軸線、抄底線、弱勢(shì)線、強(qiáng)勢(shì)線以及逃頂線的操作技巧和源碼識(shí)別,其中對(duì)應(yīng)的圖形如下:
而且在不同的走勢(shì)中需要進(jìn)行追漲或者是秒殺介入的時(shí)候,也可以運(yùn)用基本的指標(biāo)源碼進(jìn)行表述。
N:=2;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
WR1:EMA(100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),5),LINETHICK2;
90;
-90;
0;
秒殺CCI:EMA((TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),2.0332),colorwhite;
STICKLINE(秒殺CCI<-150,秒殺CCI,-150,2,0),COLOR0000BB;
STICKLINE(C>0,-150,-151,2,0),colorblue;
STICKLINE(秒殺CCI>150,秒殺CCI,150,2,0),COLOR0000BB;
STICKLINE(C>0,150,151,6,0),colorblue;
DRAWICON(CROSS(CCI,0) OR CROSS(秒殺CCI,WR1),0,7);
DRAWICON(CROSS(CCI,秒殺CCI) AND 秒殺CCI>100 ,秒殺CCI,15);
DRAWICON(CROSS(CCI,-130) ,-153,1);
DRAWICON(CROSS(153,秒殺CCI),153,2);
將其源碼公式導(dǎo)入軟件中,形成的圖例如下:
以上就是本文總結(jié)的關(guān)于cci指標(biāo)的走勢(shì)變化,其中主要講解了雙線cci股票公式、極品cci指標(biāo)公式以及秒殺cci指標(biāo)公式,希望投資者能夠從中選擇投資操作有用的源碼進(jìn)行分析和研究!
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:hbzcqc.cn
銷售熱線:0371-65350319
技術(shù)支持:13333833889