飞狐量价主图均价变化MACD趋势一组指标公式是什么?
2016-4-25 11:18:20 股票入门 http://rumen.southmoney.com
飞狐量价主图均价变化MACD趋势一组指标公式是什么?附:飞狐看庄均线副图公式源码 南方财富网小编为您提供
【飞狐量价主图均价变化MACD趋势一组指标公式】
量价主图 + 均价变化 + MACD趋势 (一组公式)
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">
{价量主图--理想“君俊”}
DRAWLINE(l=sysparam(5),l,barpos=SYSPARAM(3)-1,l,1),Color006A6A,linethick2,ColorFF15A6;
DRAWLINE(h=sysparam(4),h,barpos=SYSPARAM(3)-1,h,1),Color65636A,linethick2,ColorFF15A6;
x:ma(c,5);
n1:=sysparam(3);
n:=n1-sysparam(2)+1;
hh:=hhv(x,n);
ll:=llv(x,n);
tsh:=hhvbars(x,n);
tsl:=llvbars(x,n);
最高:hh[n1],POINTDOT;
最低:ll[n1],POINTDOT;
drawicon(barpos=n1-tsh[n1],l,5);
drawicon(barpos=n1-tsl[n1],l,4);
dx:=ma(indexc,5);//大盘的--代码再重复一遍
dn1:=sysparam(3);
dn:=dn1-sysparam(2)+1;
dhh:=hhv(dx,dn);
dll:=llv(dx,dn);
dtsh:=hhvbars(dx,dn);
dtsl:=llvbars(dx,dn);
d最高:=dhh[dn1];
d最低:=dll[dn1];
drawicon(barpos=dn1-dtsh[dn1],l,11);
drawicon(barpos=dn1-dtsl[dn1],l,10);
dzf: d最高/d最低*sgn(dtsl[dn1]-dtsh[dn1]),linethick0,colorred;//大盘涨幅
gzf: (最高/最低)*sgn(tsl[n1]-tsh[n1]),linethick0,colorred;//个股涨幅
indexc/d最低,linethick0,colorgreen;
c/最低,linethick0,colorgreen;
a:=(hhv(h,3)+llv(l,2))/2;
b:=ema((ema(a,3)+a)/2,2);
z:=if(a>b,a,b);
z0:=ema(z,2);
z1:if(z>z0,z,z0),linethick2;
f:=abs(z1-ref(z1,1));
stickline(c=o and c>ref(c,1),c,o,8,0),Color0000FF;
stickline(c=o and c<ref(c,1),c,o,8,0),ColorA6FF00;
stickline(c=o and c>ref(c,1),h,l,0,0),Color0000FF;
stickline(c=o and c<=ref(c,1),h,l,0,0),ColorA6FF00;
stickline(c=o and c<=ref(c,1),c,o,8,0),ColorA6FF00;
stickline(c>o,h,l,0,0),Color0000FF;
stickline(c<o,h,l,0,0),ColorA6FF00;
stickline(c>o,c,o,8,0),Color0000c8;
stickline(c>o,c,o,6,0),Color0000d4;
stickline(c>o,c,o,4,0),Color0000ef;
stickline(c>o,c,o,2,0),Color0000fd;
stickline(c>o,c,o,1,0),Color0000FF;
stickline(c<o,c,o,8,0),ColorA6cc00;
stickline(c<o,c,o,6,0),ColorabFf0c;
stickline(c<o,c,o,4,0),Colorbbef15;
stickline(c<o,c,o,2,0),Colorcff32e;
stickline(c<o,c,o,1,0),ColorA6FF00;
a:=SYSPARAM(4)-sysparam(5);//画面高低差幅
ab:=sysparam(4)+a/3;
P1:=0;
P2:=VOL;
N1:=SYSPARAM(2);
N2:=SYSPARAM(3);
FOR I=N1 TO N2 DO
BEGIN
IF P1<P2[I] THEN
P1:= P2[I];
END;
b:=p1;//最大量
d:=b/a*2;//倍数系数
e:=sysparam(5)-a/2;//最低位置
vx:=v/d+e;
stickline((c>o or c>ref(c,1)),e,vx,6,0),Color0090FF;
stickline(c<o or c<=ref(c,1),e,vx,6,0),COLORCYAN;
STICKLINE(C>=REF(C,1),e,vx,8,0),Color0000B7;
STICKLINE(C>=REF(C,1),e,vx,7,0),Color0000D5;
STICKLINE(C>=REF(C,1),e,vx,6,0),Color0000EC;
STICKLINE(C>=REF(C,1),e,vx,5,0),Color0000FF;
STICKLINE(C>=REF(C,1),e,vx,4,0),Color2F2FFF;
STICKLINE(C>=REF(C,1),e,vx,3,0),Color4444FF;
STICKLINE(C>=REF(C,1),e,vx,2,0),Color5B5BFF;
STICKLINE(C>=REF(C,1),e,vx,1,0),Color7575FF;
{STICKLINE(C>=REF(C,1),e,vx,0.8,0),ColorAAAAFF;
STICKLINE(C>=REF(C,1),e,vx,0.2,0),ColorCACAFF;}
STICKLINE(C<REF(C,1),e,vx,8,0),Color262626;
STICKLINE(C<REF(C,1),e,vx,7,0),Color262626;
STICKLINE(C<REF(C,1),e,vx,6,0),Color333333;
STICKLINE(C<REF(C,1),e,vx,5,0),Color3A3A3A;
STICKLINE(C<REF(C,1),e,vx,4,0),Color4C4C4C;
STICKLINE(C<REF(C,1),e,vx,3,0),Color717171;
STICKLINE(C<REF(C,1),e,vx,2,0),Color8F8F8F;
STICKLINE(C<REF(C,1),e,vx,1,0),ColorB0B0B0;
{STICKLINE(C<REF(C,1),e,vx,0.8,0),ColorC5C5C5;
STICKLINE(C<REF(C,1),e,vx,0.2,0),ColorE7E7E7;}
jl:fft(ma(vx,3),20)COLORMAGENTA,coloryellow,linethick2;
cl:=ema(forcast(vx,5),55),linethick2;
partline(cl>ref(cl,1),cl),Color8450EE,linethick2;
partline(cl<ref(cl,1),cl),Color008244,linethick2;
PARTLINE(jl<ref(jl,1),jl),colorblue,linethick2;
DRAWTEXT(SYSPARAM(2)=BARSCOUNT(C),sysparam(4),'[版块]:'+BLKNAME),Color00A600;
wtm:=(cross(ma(c,5),ref(ma(c,5),1)) or ma(c,5)>ref(ma(c,5),1)) and c/ma(c,5)>1.028;
stickline(wtm,ma(c,5)*1.03,ma(c,5)*1.03,10,0);
ema(x+abs(ema(z1-x,2))*2,2),linethick2;
DRAWLINE(v=b,vx,barpos=SYSPARAM(3)-1,vx,1),ColorFF15A6,linethick2;
附:【飞狐看庄均线副图公式源码】
看庄均线
投机线:ma(c,5)-ma(c,200),colorwhite;
操作线:ma(c,21)-ma(c,200)coloryellow;
底线:ma(c,55)-ma(c,200),colorgreen;
0,pointDOT;
STICKLINE( c>O,h-ma(c,200) ,l-ma(c,200) ,1 ,0 ),COLORred;
STICKLINE( c>O,C-ma(c,200) ,O-ma(c,200) ,4 ,0 ),COLORred;
STICKLINE( O>=C,h-ma(c,200) ,l-ma(c,200) ,1 ,0 ),COLORcyan;
STICKLINE( O>=C,O-ma(c,200) ,C-ma(c,200) ,4 ,0 ),COLORcyan;
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。