「翔博精选指标」CCI日周月(通达信公式 副图 源码 测试图)
2021-12-21原创 编 辑:翔博软件
{CCI日周月}
{}
{BSQJ指标}{买卖区间}
买线:=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,LINETHICK3;
周CCI:"CCI.CCI#WEEK",COLOR0080FF,LINETHICK2;
日CCI:"CCI.CCI",COLORWHITE,LINETHICK1;
{}
DRAWTEXT(ISLASTBAR,月CCI,' ←月CCI'),COLORFF0080;
DRAWTEXT(ISLASTBAR,周CCI,' ←周CCI'),COLOR0080FF;
{}
{BSQJ指标}{买卖区间}
买线:=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,LINETHICK3;
周CCI:"CCI.CCI#WEEK",COLOR0080FF,LINETHICK2;
日CCI:"CCI.CCI",COLORWHITE,LINETHICK1;
{}
DRAWTEXT(ISLASTBAR,月CCI,' ←月CCI'),COLORFF0080;
DRAWTEXT(ISLASTBAR,周CCI,' ←周CCI'),COLOR0080FF;
DRAWTEXT(ISLASTBAR,日CCI,' ←日CCI'),COLORWHITE;