通达信CCI日周月牛熊线副图指标 源码
-
相关简介:{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; {} 月CCI:CCI.CCI#MONTH,COLORFF0080,LINETHICK4; 周CCI:CCI.CCI#WEEK,COLOR0080FF,LINETHICK3
-
文章来源:股海网作者:股海网发布时间:2019-03-05浏览次数:
{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;
{}
月CCI:"CCI.CCI#MONTH",COLORFF0080,LINETHICK4;
周CCI:"CCI.CCI#WEEK",COLOR0080FF,LINETHICK3;
日CCI:"CCI.CCI",COLORWHITE,LINETHICK1;
{}
DRAWTEXT(ISLASTBAR,月CCI,' ←月CCI'),COLORFF0080;
DRAWTEXT(ISLASTBAR,周CCI,' ←周CCI'),COLOR0080FF;
DRAWTEXT(ISLASTBAR,日CCI,' ←日CCI'),COLORWHITE;
{CCI月}
牛熊线:100,COLORGREEN;
牛股线:200,COLORMAGENTA;
JCD:=CROSS(月CCI,牛熊线);
交叉点: IF(CROSS(月CCI,牛熊线),100,0),COLORRED,NODRAW;
DRAWTEXT(JCD,110,' 交叉点 '),COLORRED;
STICKLINE(JCD,75,125,3,0),COLORRED;