%> 通达信共振CCI指标公式_股票教程网
通达信共振CCI指标公式 3310

{CCI月周日}

换手:VOL/CAPITAL*100,NODRAW,COLORRED;

牛熊线:100,COLORGREEN,DOTLINE;

{CCI日周月}

月C:("CCI.CCI#MONTH"(14)),COLORRED,LINETHICK3;

周C:("CCI.CCI#WEEK"(14)),COLORYELLOW,LINETHICK2;

日C:=("CCI.CCI"(14)),COLORLIGRAY,LINETHICK2;

QS:=周C>=月C AND 周C>=200 AND 月C>=110;

STICKLINE(QS,-115,-105,3,0),COLORRED;

DRAWICON(CROSS(日C,100) AND 周C>=月C AND 周C>=200 AND 月C>=110,日C,38);

{RSI波段}

LC:=REF(CLOSE,1);

RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,LINETHICK2;

MA6:=MA(RSI6,6),COLORGREEN;

短波:=IF(MA6>REF(MA6,1) OR RSI6>MA6,MA6,DRAWNULL),COLORRED,LINETHICK2;

{游侠副图}

TYPD:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;

游侠CCI:=EMA((TYPD-MA(TYPD,36.0270012))/(0.015*AVEDEV(TYPD,36.0270012)),2.0332),COLORWHITE,LINETHICK2;

日:游侠CCI,COLORWHITE,LINETHICK2;

粉低吸:EVERY(游侠CCI<-150 AND 游侠CCI<REF(游侠CCI,1),3),NODRAW,COLORFF00FF;

STICKLINE(游侠CCI<-150,游侠CCI,-150,2,0),COLORFF80FF;

STICKLINE(C>0,-150,-151,2,0),COLORBLUE;

DRAWICON(CROSS(游侠CCI,100) AND 周C>=月C AND 周C>=200 AND 月C>=110 ,游侠CCI,34);

DRAWICON(CROSS(游侠CCI,110) AND 周C>=月C AND 周C>=200 AND 月C>=0 AND 短波,游侠CCI,1);

{CCI日周月}{改编 BY SHUHONG}

{BSQJ指标}{买卖区间}

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

STICKLINE(买线>=卖线,0,10,2,1),COLOR2040FF;

STICKLINE(买线<卖线,0,-10,2,1),COLOR6CE424;

DRAWTEXT(ISLASTBAR,月C,' ←月C'),COLORRED;

DRAWTEXT(ISLASTBAR,周C,' ←周C'),COLORYELLOW;

DRAWTEXT(ISLASTBAR,日,' ←日'),COLORWHITE;



 

{股票教程网-http://gwgz.net/承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}