通達信CCI精靈優(yōu)化指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2022-03-07 來源:互聯網
通達信CCI精靈優(yōu)化指標公式:
N:=14;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力進場:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
洗盤:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;
趨勢線:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , COLORAABBDD;
BB:=((REF(趨勢線,1)<REF(趨勢線,2) AND 趨勢線<-20 AND 趨勢線>-25) AND 趨勢線>=REF(趨勢線,1)) OR (REF(CROSS(-20,趨勢線),1) AND CROSS(趨勢線,-20));
DRAWTEXT(BB,80,'見底信號'),COLOR41B5FA;
見底信號:IF(BB,80,-1),COLORRED;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI20:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)) COLORYELLOW;
K:=SMA(CCI20,3,1);
D:=SMA(K,3,1);
指數TYP:=(INDEXH+INDEXL+INDEXC)/3;
指數CCI:=(指數TYP-MA(指數TYP,N))/(0.015*AVEDEV(指數TYP,N));
DRAWBAND(K,RGB(255,50,100),D,RGB(0,200,0));
IF(CCI20<REF(CCI20,1),CCI20,DRAWNULL),COLORFFFF00,LINETHICK1;
IF(CCI20>REF(CCI20,1),CCI20,DRAWNULL),COLOR0000EA,LINETHICK2;
超跌:-175,POINTDOT,COLORCYAN,LINETHICK4;
STICKLINE(CCI20<=-185,-185,-200,2,0),COLOR377CF0;
頂部:150,POINTDOT,COLORGREEN,LINETHICK4;
STICKLINE(CCI20>=150,158,168,2,0),COLORGREEN;
強勢買入:STICKLINE(C,100,100,-1,0),COLORLIMAGENTA;
反彈買入:STICKLINE(C,-100,-100,-1,0),COLOR0099FF;
抄底:IF(CROSS(CCI20,反彈買入),-100,0),STICK,COLORYELLOW,LINETHICK2;
DRAWTEXT( CURRBARSCOUNT=45,198,'★主力進場 見底 CCI背離 先價突破 先機分時確認★'),COLORCYAN;
通達信CCI精靈優(yōu)化指標公式實例圖解:
通達信CCI精靈優(yōu)化指標公式