飞狐指标公式有哪些?飞狐均线变化指标公式的内容是什么?
2016-4-15 11:20:42 股票入门 http://rumen.southmoney.com
飞狐指标公式有哪些?飞狐均线变化指标公式的内容是什么?附:飞狐生命线主图指标公式 南方财富网小编为您提供
【飞狐均线变化指标公式】
均价:SUM(AMOUNT,1)/SUM(V,1)/100,LINETHICK0;
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-均价)/均价*100;
SMA5:=EMA(SMA(大于均价,3,2),3);
SMA8:=EMA(SMA(大于均价,3,2),8);
SM:=SMA((sma(SMA5,3,1)+SMA8)/2,5,4);
FILLRGN(1,HHV(HHV(SMA5,100),100),0 ),COLOR222266;
FILLRGN(1,llV(llV(SMA5,100),100),0 ),COLOR662222;
FILLRGN(SM>0,SM,0),COLOR00AA99;
FILLRGN(SM<0,0,SM),COLOR229955;
HHV(HHV(SMA5,60),100)*2/3,LINEDOT;
LLV(LLV(SMA5,60),100)*2/3,LINEDOT;
STICKLINE(SMA5>SMA8,SMA5,SMA8,7,0),COLOR33FFDD;
STICKLINE(SMA5<SMA8,SMA5,SMA8,7,0),COLORDDDD33;
STICKLINE(SMA5>SMA8 AND 大于均价>0,SMA5,SMA8,7,0),COLORAA33DD;
STICKLINE(SMA5<SMA8 AND 大于均价<0,SMA5,SMA8,7,0),COLORFFDD33;
STICKLINE(SMA5<SMA8 AND 大于均价<0,SMA5,SMA8,7,0),COLORFFDD33;
STICKLINE(SMA5>HHV(HHV(SMA5,60),100)*2/3,SMA5,HHV(HHV(SMA5,60),100)*2/3,7,0),COLOR5033FF;
STICKLINE(SMA5<LLV(LLV(SMA5,60),100)*2/3,LLV(LLV(SMA5,60),100)*2/3,SMA5,7,0),COLOR50FF50;
SM,COLOR99FF00,LINETHICK2;
PARTLINE(SM>=0,SM),COLORWHITE,LINETHICK2;//COLORFFffFF
PARTLINE(SM>=REF(SM,1),SM),COLORYELLOW,LINETHICK2;//COLOR99FFFF
PARTLINE(SM>=REF(SM,1) AND SM>0, SM),COLORRED,LINETHICK2;//COLOR2222FF
附:【飞狐生命线主图指标公式】
Aaa0:=(C-LLV(L,3))/(HHV(H,3)-LLV(L,3));
Aaa1:=SMA(Aaa0,2,1);
Aaa2:=SMa(Aaa1,2,1);
Aaa3:=3*Aaa1-2*Aaa2 ;
Aaa4:=2*Aaa3-0.5;
Aaa5:=C*(1-(Aaa4-Aaa2)/15);
生命线:Aaa5,PRECISION2,COLORGREEN;
fbars:=SYSPARAM(1)-1;
tj:=barssince(c)>fbars-50;
fc:=生命线;
fo:=生命线;
fl:=llv(生命线,2);
fh:=hhv(生命线,2);
<%
vbars=ffl.vardata("fbars")
vc=ffl.vardata("fc")
vo=ffl.vardata("fo")
vh=ffl.vardata("fh")
vl=ffl.vardata("fl")
vend=ubound(vc)
n=50
if vbars<=vend and vbars>vend-vbars+n then
redim temp(vend-vbars+n,3)
for i=2*vbars-vend-n to vbars
ii=i+vend-2*vbars+n
temp(ii,0)=2*vc(vbars)-vo(i)
temp(ii,1)=2*vc(vbars)-vh(i)
temp(ii,2)=2*vc(vbars)-vl(i)
temp(ii,3)=2*vc(vbars)-vc(i)
next
for i=vbars-n to vend
ii=vend-i
vo(i)=temp(ii,3)
vh(i)=temp(ii,2)
vl(i)=temp(ii,1)
vc(i)=temp(ii,0)
next
ffl.vardata("fc")=vc
ffl.vardata("fo")=vo
ffl.vardata("fh")=vh
ffl.vardata("fl")=vl
end if
%>
PARTLINE(tj,fc),shift50; {
VERTLINE(ISLASTBAR),COLORYELLOW,POINTDOT;}
HH:=H; LL:=L; OO:=O;
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。