慢速CCI:飞狐指标源码公式_飞狐指标公式_000001在线网_Www.000001zx.com
慢速CCI:飞狐指标源码公式
input:m(14,1,20),q(3,1,10);
typq:=(hhv(h,q)+llv(l,q)+c)/3;
cciq:(TYPq-MA(TYPq,M*q))/(AVEDEV(TYPq,M*q))*150,linedot,coloryellow;
fillrgn(cciq>150,150,cciq),color3300cc;
fillrgn(cciq<-150,-150,cciq),color339900;
TYP :=(HIGH + LOW + CLOSE)/3;
cci:(TYP-MA(TYP,M))/(AVEDEV(TYP,M))*150,colorcyan;
异动力度:abs(cci),linethick;
偏离度:(TYP-MA(TYP,M)),linethick;
150,colorred;
-150,colorred;
0,colorgreen;
{000001在线www.000001zx.com};