设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

股票的公式有哪些?飞狐庄股搜索公式源码

2016-6-8 11:17:28 股票入门 http://rumen.southmoney.com

股票的公式有哪些飞狐庄股搜索公式源码 附:飞狐牛熊级别公式源码  南方财富网小编为您提供


【飞狐庄股搜索公式源码】

Input:N1(5,1,100),N2(5,1,100),P(3,1,100);
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">CKDP:EMA(100*(C-COST(1))/(COST(99)-COST(1)),3),colorgreen;
ASR10:100*REF(EMA((WINNER(C*1.1)-WINNER(C*0.9)),N1),P),colorwhite;
ASR30:100*EMA(WINNER(C)-WINNER(C*0.7),N2);
STICKLINE({(VOL/FINANCE(7))<3 AND} ASR30>ASR10,ASR30,ASR10,2.8,1),COLORRED;
STICKLINE( ASR30>ASR10 and CKDP>=85,CKDP,ASR30,3.8,1),COLORYELLOW;
STICKLINE(ASR30<ASR10,ASR10,ASR30,2.8,1),COLORAAAAAA;
STICKLINE(CROSS(CKDP,MAX(ASR10,ASR30)) AND MAX(ASR10,ASR30)<=10,60,CKDP,2.8,1),COLORRED;
DRAWICON(CROSS(CKDP,MAX(ASR10,ASR30)) AND MAX(ASR10,ASR30)<=10,CKDP+20,1);

附:【飞狐牛熊级别公式源码】

N:=8;{Y1均线周期,其余均线依此以倍数联动}
CC:=CLOSE;0;
Y/2:=EMA(CC,N/2),COLORWHITE;
Y1:=EMA(CC,N),COLORYELLOW;
Y2:=EMA(CC,2*N),COLORMAGENTA;
Y3:=EMA(CC,3*N),COLORGREEN;
Y4:=EMA(CC,4*N),COLORFF9900;
Y6:=EMA(CC,6*N),COLORFFFF88;
Y9:=EMA(CC,
9*N),COLOR3F72CE;
Y13:=EMA(CC,13*N),COLOR99EBEB;
Y20:=EMA(CC,20*N),COLORBLUE;
A:=DATATYPE;{取当前周期状态,飞狐特殊函数}
NNN:=if(a=3,1920,if(a=4,960,if(a=5,480,IF(A=6,120,IF(A=7,24,IF(A=8,6,IF(A=9,2,IF(A=10,40,1000))))))));
NXH:=HHV(HIGH,NNN)*0.7;
NXL:=LLV(LOW,NNN)*1.3;
NXGN:=MA((NXH+NXL)/2,3),COLORRED;{牛熊概念线}
kk1:=if(y1>=y2,1,-1);
kk2:=if(y2>=y3,1,-1);
kk3:=if(y3>=y4,1,-1);
kk4:=if(y4>=y6,1,-1);
kk5:=if(y6>=y9,1,-1);
kk6:=if(y9>=y13,1,-1);
kk7:=if(y13>=y20,1,-1);
kk:kk1+kk2+kk3+kk4+kk5+kk6+kk7;
牛:cross(y1,nxgn)*3;
熊:cross(nxgn,y1)*(-3);

更多股票公式相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。