日月周CCI副图指标

买线:=EMA(C,2);

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

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

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

月CCI:"CCI.CCI#MONTH",COLORFF0080,LINETHICK4;

周CCI:"CCI.CCI#WEEK",COLOR0080FF,LINETHICK3;

日CCI:"CCI.CCI",COLORWHITE,LINETHICK2;

DRAWTEXT(ISLASTBAR,月CCI,'  ←月CCI'),COLORFF0080;

DRAWTEXT(ISLASTBAR,周CCI,'  ←周CCI'),COLOR0080FF;

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

(0)

相关推荐