同花顺CCI红绿带指标公式
2021/5/25 18:43:43
N:=14;
DIFF:EMA(CLOSE,9)-EMA(CLOSE,17);
DEA:EMA(DIFF,8),colorcyan;
MACD : 2*(DIFF-DEA);
Zero : 0,,colorwhite,LINETHICK2;
量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW;
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
STICKLINE(IF(RRD,-120,0),-120,0,8,0),colorliblue;
【黄金坑】:IF(RRD,-120,0),coloryellow,LINETHICK2;
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
a:100;
b:-100;
d:180;
换手率:VOL/SHGZG*100,nodraw;
MA20:MA(C,20);
MA60:MA(C,60);
DRAWGBK(C<MA(C,60),STRIP(RGB(0,100,0),RGB(0,99,0),1));
DRAWGBK(C>MA(C,60) AND C/MA(C,60)<1.10,STRIP(RGB(99,0,0),RGB(99,0,0),1));
DRAWGBK(C/MA(C,60)>1.1,STRIP(RGB(99,0,99),RGB(99,0,99),1));
DRAWICON(CROSS(CCI,b),b,'buy');
DRAWICON(CROSS(d,CCI),CCI,'sell');
看股 吧公式 www.kang uba.com
其它股票公式列表