通達信低買高成功率CCI指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2018-11-16 來源:互聯(lián)網(wǎng)
通達信低買高成功率CCI指標公式:
TYP:=(HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINESTICK,COLORRED,LINETHICK2;
跌:IF(CCI<REF(CCI,1),CCI,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(200,CCI),250,27);
DRAWICON( CROSS(CCI,-200),-250,26);
轉(zhuǎn)強:STICKLINE(CCI>0,0,CCI,2,0),COLOR770077;
STICKLINE(CCI>0,0,CCI,1.5,0),COLOR990099;
STICKLINE(CCI>0,0,CCI,0.8,0),COLORBB00BB;
STICKLINE(CCI>0,0,CCI,0.3,0),COLORFF00FF;
轉(zhuǎn)弱:STICKLINE(CCI<0,0,CCI,2,0),COLOR888800;
STICKLINE(CCI<0,0,CCI,1.5,0),COLORAAAA00;
STICKLINE(CCI<0,0,CCI,0.8,0),COLORDDDD00;
STICKLINE(CCI<0,0,CCI,0.3,0),COLORFFFF00;
弱轉(zhuǎn)強:=STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;
STICKLINE(弱轉(zhuǎn)強,-150,0,7,0),COLORYELLOW;
STICKLINE(弱轉(zhuǎn)強,-150,0,4,0),COLOR000099;
STICKLINE(弱轉(zhuǎn)強,-150,0,2,0),COLOR0000BB;
STICKLINE(弱轉(zhuǎn)強,-150,0,1,0),COLOR0000DD;
STICKLINE(弱轉(zhuǎn)強,-210,0,0.9,0),COLOR0000FF;
DRAWTEXT(弱轉(zhuǎn)強,-210,'買'),COLORYELLOW;
強轉(zhuǎn)弱:=STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLORGREEN;
STICKLINE(強轉(zhuǎn)弱,150,0,7,0)COLORWHITE;
STICKLINE(強轉(zhuǎn)弱,150,0,4,0),COLOR009900;
STICKLINE(強轉(zhuǎn)弱,150,0,2,0),COLOR00BB00;
STICKLINE(強轉(zhuǎn)弱,150,0,1,0),COLOR00DD00;
STICKLINE(強轉(zhuǎn)弱,210,0,0.9,0),COLOR00FF00;
DRAWTEXT(強轉(zhuǎn)弱,210,'賣'),COLORGREEN;
天頂線:=200,COLORRED;
地底線:-200,COLORCYAN;
牛熊線:100,POINTDOT,LINETHICK3,COLORWHITE;
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
MN:=MA(MM,3);
VAR24:=LLV(LOW,36);
VAR25:=HHV(HIGH,30);
VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;
{底背離:= IF((VAR26<10),-100,-150), COLORYELLOW,LINETHICK1;}
底背離:IF(MN<-4 ,-100,-150),COLORYELLOW,LINETHICK1;
頂背離: IF((VAR26>90),150,200), COLORGREEN,LINETHICK1;
量能:MA(100*(CLOSE- LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14)),3),COLORYELLOW,LINETHICK1;
通達信低買高成功率CCI指標公式實例圖解:
通達信低買高成功率CCI指標公式