股票的公式有哪些?飞狐能量潮公式源码
2016-6-12 10:35:52 股票入门 http://rumen.southmoney.com
股票的公式有哪些?飞狐能量潮公式源码 附:飞狐老雕主图公式源码 南方财富网小编为您提供
【飞狐能量潮公式源码】
ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,1)),0)/25000,1);
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">M1:=EMA(ABV,3);
tj:=(abv-m1)*5;
tj3:=(abv-m1)/m1>0.1;
STICKLINE(tj3,abv,REF(abv,1),tj,1), COLOR999999;
STICKLINE(abv>m1,abv,REF(abv,1),8,0),COLORRED;
STICKLINE(abv<m1,abv,REF(abv,1),8,0), COLOR00ff00 ;
STICKLINE(abv=m1,abv,REF(abv,1),8,0), COLORwhite;
M11:EMA(ABV,2),colorwhite,linethick1;
M12:EMA(ABV,3),colorff9900,linethick1;
M13:EMA(ABV,4),colorff9900,linethick1;
M14:EMA(ABV,5),colorff9900,linethick1;
M15:EMA(ABV,6),colorff9900,linethick1;
M16:EMA(ABV,7),colorff9900,linethick1;
M17:EMA(ABV,8),colorff9900,linethick1;
M18:EMA(ABV,9),colorff9900,linethick1;
M22:EMA(ABV,24),linethick1,coloryellow;
obv:MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,1),colorwhite;
A1:=REF(MA(OBV,2),5)=HHV(MA(OBV,2),2*5+1);
B1:=FILTER(A1,5);
C1:=BACKSET(B1,5+1);
HD:=FILTER(C1,5);
A2:=REF(MA(MA(OBV,2),2),5)=LLV(MA(MA(OBV,2),2),2*5+1);
B2:=FILTER(A2,5);
C2:=BACKSET(B2,5+1);
LD:=FILTER(C2,5);
A:=REF(MA(OBV,2),BARSLAST(HD));
B:=REF(MA(OBV,2),BARSLAST(LD));
t1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
t2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波峰:IF(t1,A,A),coloryellow,POINTDOT;
STICKLINE(t1,A,A,9,0),coloryellow;
波谷:IF(t2,B,B),Color80FF00,POINTDOT;
OBV1:=CROSS(OBV,MA(OBV,5));
v1:=HHV(obv,1);
DRAWSL(obv=v1[DATACOUNT],obv,0,0,0),coloryellow;
Var2:=PPART(10)+PWINNER(5,CLOSE);
HHV(AbV,500),color00ff00;
HHV(AbV,120),color00ff00;
月K:="KDJ.K#MONTH";
月D:="KDJ.D#MONTH";
周K:="KDJ.K#WEEK";
周D:="KDJ.D#WEEK";
周金叉:=CROSS(周K,周D);
DRAWTEXT(周金叉,ABV,'周金叉'),Color00FF00;
DRAWICON(周金叉,ABV,10);
月金叉:=CROSS(月K,月D);
DRAWTEXT(月金叉,ABV,'月金叉'),Color0080FF;
DRAWICON(月金叉,ABV,10);
PARTLINE(m11>M12,m11),Color0000FF,linethick1;
PARTLINE(M12>M13,M12),ColorFF00FF,linethick1;
PARTLINE(M13>M14,M13),ColorFF00FF,linethick1;
PARTLINE(M14>M15,M14),ColorFF00FF,linethick1;
PARTLINE(M15>M16,M15),ColorFF00FF,linethick1;
PARTLINE(M16>M17,M16),ColorFF00FF,linethick1;
PARTLINE(M17>M18,M17),ColorFF00FF,linethick1;
PARTLINE(M18>M22,M18),ColorFF00FF,linethick1;
附:【飞狐老雕主图公式源码】
KLINE(O,H,L,C,0);
PT := REF(HIGH,1)-REF(LOW,1);
CDP : (HIGH + LOW +2* CLOSE)/4,COLORBLUE,SHIFT1;
AH : (HIGH + LOW +CLOSE)/3 + PT,SHIFT1,COLORGRAY,LINEDOT;
AL : (HIGH + LOW +CLOSE)/3 - PT,SHIFT1,COLORGRAY,LINEDOT;
NH : 2*(HIGH + LOW +CLOSE)/3-LOW,SHIFT1,COLORYELLOW;
NL : 2*(HIGH + LOW +CLOSE)/3-HIGH,SHIFT1,COLORYELLOW;
DRAWICON(CROSS(C,REF(AH,1)),H,4),PXUP10;
DRAWICON(CROSS(REF(AL,1),C),L,5),PXDN10;
DRAWICON(CROSS(C,REF(NH,1)),H,8),PXUP30;
DRAWICON(CROSS(REF(NL,1),C),L,9),PXDN30;
{这个盘后选:c>=ref(nh,1);是个基本强势的选择
可以自己括展如:c>=ref(nh,1) AND c>=ref(Ah,1);
在用涨排序排下.老雕选的票基本在前面几位,第2天开盘用量排序下,根据自己操作风格选择
不过这类是刀尖上的舞步.3个选股公式.还在测试中,用的小心,
XG:C>=REF(AH,1) AND C>=REF(NH,1) and strfind(STKNAME,'S',1)=0,LINETHICK;{强势}
TJ1:=IF(CROSS(C,REF(NH,1)),1,IF(CROSS(REF(NL,1),C),-1,0));
SX:REF(TJ1,BARSLAST(TJ1<>0)),LINETHICK;
XZ1:CROSS(C,REF(NH,1)) AND REF(SX,1)=1,LINETHICK;{整理后上冲}
A1:=ABS(CLOSE-OPEN)/OPEN<0.015;
A2:=COUNT(A1,2)=2;
A3:=COUNT(XG,3)>=1;
XZ2:A2 AND A3,LINETHICK;{强势整理}
XZ3:CROSS(AH,NH) AND COUNT(C/REF(C,1)>1.04,3)>=1,LINETHICK;{强势回}
}
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。