大智慧CCI买卖主图指标公式

input: n(14),m(100,50,200);

TYP := (HIGH + LOW + CLOSE)/3;

cci买: ma(typ,n)-0.015*m*AVEDEV(typ,n),color0080ff;

CCI卖: ma(typ,n)+0.015*m*AVEDEV(typ,n),color00ff80;

操盘线: typ,color00e0e0,linethick2;

{www.zhibiaow.com 指标网_大智慧股票指标公式}

VERTLINE(cross(操盘线,CCI买),2),color0080FF;

VERTLINE(cross(CCI卖,操盘线),2),color00FF80;

DRAWTEXTAbs(0,0,'红垂线买入'),color0080FF;

DRAWTEXTABS(65,0,'绿垂线卖出'),color00ff80;