股票公式有哪些?飞狐逆风飞扬选股公式源码
2016-6-6 15:17:23 股票入门 http://rumen.southmoney.com
股票公式有哪些?飞狐逆风飞扬选股公式源码 附:飞狐飞刀筹码公式源码 南方财富网小编为您提供
【飞狐逆风飞扬选股公式源码】
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">H20:=HHV(HIGH,20);
DF20:=(H20-CLOSE)/H20*100;
H60:=HHV(HIGH,60);
DF60:=(H60-CLOSE)/H60*100;
H40:=HHV(HIGH,40);
DF40:=(H40-CLOSE)/H40*100;
H250:=HHV(HIGH,250);
DF250:=(H250-CLOSE)/H250*100;
H120:=HHV(HIGH,120);
DF120:=(H120-CLOSE)/H120*100;
YK:="KDJ.K#MONTH";
YD:="KDJ.D#MONTH";
YJ:="KDJ.J#MONTH";
ZK:="KDJ.K#week";
ZD:="KDJ.D#week";
ZJ:="KDJ.J#week";
ZRSI6:="RSI.RSI1#week";
ZRSI12:="RSI.RSI2#week";
YRSI6:="RSI.RSI1#MONTH";
YRSI12:="RSI.RSI2#MONTH";
ZRSI24:="RSI.RSI3#week";
YRSI24:="RSI.RSI3#MONTH";
ZF30:=(HHV(HIGH,30)-LLV(LOW,30))/LLV(LOW,30)*100;
HSL:=IF(CAPITAL=0,VOL/SUM(VOL,100),VOL/CAPITAL);
<%
vhsl = ffl.vardata("hsl")
last=ubound(vhsl)
for i=1 to last
vhsl(i) = vhsl(i-1) * (1 - vhsl(i)) * 12 / 13 + vhsl(i)
next
ffl.vardata("hsl") = vhsl
%>
CYF:=100*HSL;
K40:=DF40>30 AND CROSS(ZK,ZD);
K60:=DF60>30 AND CROSS(YK,YD);
K120:=DF120>30 AND CROSS(YK,YD);
K250:=DF250>50 AND CROSS(YK,YD);
R40:=DF40>30 AND CROSS(ZRSI6,ZRSI12);
R60:=DF60>30 AND CROSS(ZRSI6,ZRSI12) OR DF60>30 AND CROSS(ZRSI6,ZRSI24);
R120:=DF120>30 AND CROSS(YRSI6,YRSI12);
R250:=DF250>35 AND CROSS(YRSI6,YRSI12) OR DF250>35 AND CROSS(YRSI6,YRSI24);
H250:=HHV(CLOSE,250);
L250:=LLV(CLOSE,250);
RPY:=(CLOSE-L250)/(H250-L250)*100;
RP:=RPY<20 AND CROSS(YRSI6,YRSI12);
KR:=K40 OR K60 OR K120 OR K250 OR R40 OR R60 OR R120 OR R250 OR RP;
KRYZ:KR AND CLOSE<LLV(LOW,60)*1.35;
NFFY:=COUNT(KRYZ,5)>0;
附:【飞狐飞刀筹码公式源码】
获利盘:ma(WINNER(CLOSE)*100,20),colorRed,linethick2;
套牢盘:ma(100*(1-WINNER(C)),20),colorgreen,linethick2;
浮筹筹码:ma((winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100,5),color0050ff,linethick1;
底线:20;
顶线:80;
DRAWICON((套牢盘>80 and 浮筹筹码<20),low,1),colorred;
DRAWICON((获利盘>80 and 浮筹筹码<20),HIgh,2),colorred;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。