通達信CCI資金運作指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 超買超賣
- 畫線方法: 副圖
- 日期:2023-04-04 來源:互聯(lián)網(wǎng)
通達信CCI資金運作指標公式:
N:=34;M:=3;
個股資金指數(shù):EMA(((100 * (CLOSE - LLV(LOW,N))) / (HHV(HIGH,N) - LLV(LOW,N))),M);
STICKLINE(個股資金指數(shù) > (0 - 5),100,(0 - 5),2,2),COLOR000000;
STICKLINE(個股資金指數(shù) > 20,個股資金指數(shù),20,2,2),COLORDB43E7;
DRAWICON(CROSS(個股資金指數(shù),50),個股資金指數(shù),10);
DRAWICON(CROSS(50,個股資金指數(shù)),個股資金指數(shù),11);
市場資金指數(shù):EMA(((100 * (INDEXC - LLV(INDEXL,N))) / (HHV(INDEXH,N) - LLV(INDEXL,N))),M),COLORWHITE;
DRAWICON(CROSS(50,市場資金指數(shù)),50,5);
DRAWICON(CROSS(市場資金指數(shù),50),50,4);
資金運作安全區(qū):STICKLINE((市場資金指數(shù) > 50),20,5,5,0),COLOR7BBEB2;
博弈線:80;
20;
50;
{CCI}
{CCI賣點對于短期內(nèi)暴漲的股票賣出非常適合}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORRED,LINETHICK0;
CCI高度關(guān)注:IF(REF(CCI,1)<-99 AND CCI >-98,1,0),COLORWHITE;
STICKLINE(CCI高度關(guān)注,20,40,6,1),LINETHICK3,COLORWHITE;
CCI逃逸:IF(REF(CCI,1)>99 AND CCI <98 AND 個股資金指數(shù) >45,1,0),COLORGREEN;
STICKLINE(CCI逃逸,80,95,6,0),LINETHICK3,COLORGREEN;
弱勢1:=IF(CCI<-100,CCI/5+20,20);
STICKLINE(弱勢1,20,弱勢1,1,0),LINETHICK1,COLOR47FD6F;
弱勢2:=IF(CCI<-50 AND CCI >-101,CCI/5+20,20);
STICKLINE(弱勢2,20,弱勢2,1,0),LINETHICK1,COLORYELLOW;
買入1:IF(REF(CCI高度關(guān)注,1)=1 AND CCI>-50,1,0);
買入2:IF(REF(CCI高度關(guān)注,2)=1 AND CCI>-50 AND REF(CCI,1)>-50,1,0);
買入3:IF(REF(CCI高度關(guān)注,3)=1 AND CCI>-50 AND REF(CCI,1)>-50,1,0);
買入4:IF(REF(CCI高度關(guān)注,4)=1 AND CCI>-50 AND REF(CCI,1)>-50 AND REF(CCI,2)>-50,1,0);
STICKLINE(買入1,20,60,3,0),LINETHICK1,COLORRED;
STICKLINE(買入2,20,65,3,0),LINETHICK1,COLORRED;
STICKLINE(買入3,20,70,3,0),LINETHICK1,COLORRED;
STICKLINE(買入4,20,75,3,0),LINETHICK1,COLORRED;
買入選股:IF(買入1 OR 買入2 OR 買入3 OR 買入4,1,0);
通達信CCI資金運作指標公式實例圖解:
通達信CCI資金運作指標公式