通达信CCI与上周线指标公式

通达信买入时机选股指标公式

通达信CCI与上周线指标公式:

DRAWGBK(C>0, RGB(1,1,1),RGB(1,1,1),0,'0',0);

stICKLINE(C>0,0,0,28,-1)COLOR323232;

STICKLINE(C>0,100,100,28,-1)COLOR323232;

STICKLINE(C>0,-100,-100,28,-1)COLOR323232;

STICKLINE(cci.CCI>EMA(CCI.CCI,5),CCI.CCI,EMA(CCI.CCI,5),2,0)COLORRED;

STICKLINE(CCI.CCI<EMA(CCI.CCI,5),CCI.CCI,EMA(CCI.CCI,5),2,0)COLORLIGREEN;

CCI:CCI.CCI,COLORWHITE;

上周线:REF(CCI.CCI#WEEK,WEEkdAY)COLORMAGENTA;

NOTEXT0:IF(CCI>上周线,上周线,DRAWNULL),LINETHICK1,COLORMAGENTA;

NOTEXT1:IF(CCI<上周线,上周线,DRAWNULL),LINETHICK1,COLORCYAN;

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

通达信超级顶低主图指标公式