{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 游侠CCI:=EMA((TYPD-MA(TYPD,36.0270012))/(0.015*AVEDEV(TYPD,36.0270012)),2.0332),COLORWHITE,LINETHICK2; 日:游侠CCI,COLORWHITE,LINETHICK2;