飞狐羊年第一标主图公式源码是什么?
2016-5-23 9:57:44 股票入门 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">此指标作为羊年第一标,奉献给一直以来关注我的朋友,在下载指标后,需要叠加画K线函数,考虑到各软件的函数不同,请自己加上,否则有时柱线会遮挡K线。另外,此指标是飞狐版本,如果是其它软件请酌情调整画柱线参数6,比如通达信应该把6调整为小于4.
VV:=AMOUNT/100000000;
LB:=MA(VV,1)/HHV(VV,0);
B5:COST(5),COLORFAABEC,POINTDOT;
DB5:=DMA(B5,LB),COLOR00bb00,POINTDOT;
STICKLINE(B5>=DB5,B5,DB5,6,0),COLORFAABEC;
STICKLINE(B5<DB5,B5,DB5,6,1),COLOR00bb00;
B15:COST(15),COLOR0099FF,POINTDOT;
DB15:=DMA(B15,LB),COLORCYAN,POINTDOT;
STICKLINE(B15>=DB15,B15,DB15,6,0),COLOR0099FF;
STICKLINE(B15<DB15,B15,DB15,6,1),COLORCYAN;
B50:COST(50),COLORWHITE,POINTDOT;
DB50:=DMA(B50,LB),COLORGRAY,POINTDOT;
STICKLINE(B50>=DB50,B50,DB50,6,0),COLORWHITE;
STICKLINE(B50<DB50,B50,DB50,6,1),COLORGRAY;
B85:COST(85),COLOR00CCCC,POINTDOT;
DB85:=DMA(B85,LB),COLORAAAA00,POINTDOT;
STICKLINE(B85>=DB85,B85,DB85,6,0),COLOR00CCCC;
STICKLINE(B85<DB85,B85,DB85,6,1),COLORAAAA00;
B95:COST(95),COLORMAGENTA,POINTDOT;
DB95:=DMA(B95,LB),COLORFF5B90,POINTDOT;
STICKLINE(B95>=DB95,B95,DB95,6,0),COLORMAGENTA;
STICKLINE(B95<DB95,B95,DB95,6,1),COLORFF5B90;
WR:((EMA(c,1)+EMA(c,2))/2+EMA(c,3)+EMA(c,6))/3;
sb:(EMA(c,6)+EMA(c,12)+EMA(c,24))/3;
so:(EMA(c,24)+EMA(c,48)+EMA(c,96))/3;
附:【飞狐忽悠量解多空力道副图公式源码】
此指标通用,力道与多空线的关系配合筹码分布操作较为理想
VV:=AMOUNT/100000000;
xs:=2;
LB:=MA(VV,1)/HHV(VV,0);
VAR1:=VV/(2*(HIGH-LOW)-ABS(CLOSE-OPEN));
BV:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VV/2))*LB;
SV:=IF(CLOSE>OPEN,(0-VAR1*((HIGH-CLOSE)+(OPEN-LOW))),IF(CLOSE<OPEN,(0-VAR1*(HIGH-LOW)),(0-VV/2)))*LB;
力道:(3)*EMA(BV,24),COLORWHITE,LINETHICK2;
参考:DMA(力道,LB/XS),COLORMAGENTA;
多空:DMA(SV,LB/XS/XS/XS)+(LLV(力道,135)+HHV(力道,135))/2,COLORGREEN,LINETHICK2;
更多飞狐公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。