飞狐CCIKD公式源码是什么?附:飞狐慢速CCI公式源码
2016-4-29 13:49:28 股票入门 http://rumen.southmoney.com
飞狐CCIKD公式源码是什么?附:飞狐慢速CCI公式源码 南方财富网小编为您提供
【飞狐CCIKD公式源码】
N:=9;P1:=3;P2:=3;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">均价:=(C+H+L)/3;
CCI:(均价-wMA(均价,98))/(0.015*AVEDEV(均价,98))/8+30;
做多:(3*SMA(CCI,5,1)+2*SMA(SMA(CCI,5,1),3,1))/5,COLORRED;
FILLRGN(CCI>做多,cci,做多),COLORBROWN;
FILLRGN(CCI<做多,cci,做多),COLORAAAA00;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:WMA(RSV,P1)-10,COLORWHITE;
D:SMA(K,P2,1),COLORYELLOW;
0,COLORGREEN;40,COLORWHITE;80,COLORRED;
附:【飞狐慢速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;
更多飞狐公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。