在线检测未来函数

飞狐慢速CCI指标公式

来源:Internet,编辑:股旁网,2016-10-19

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;

飞狐慢速CCI指标公式

相关文章