好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式上传自己用来看盘的分时主图公式 飞狐源码上传指标 源码

上传自己用来看盘的分时主图公式 飞狐源码上传指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-10-11 15:08:44
  • 指标公式标签:看盘
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:上传自己用来看盘的分时主图公式 飞狐源码上传指标 源码

【好公式网提示:源码中需引用的公式:涨幅引用xx 没有提供,公式不能使用

a1:=f10find('◆ 控盘情况 ◆',500);
a2:=f10find('点评',a1);
b1:=f10text(a2,120);
drawtextex(c,1,0,1850,b1),colorwhite;
c1:=f10text(a2+120,200);
drawtextex(c,1,0,1900,c1),colorwhite;
input:n(2,1,100);
rq:=date;//取日期
a:=blkname;
hy:=if(strfind(a,',',1)>0,strleft(a,strfind(a,',',1)-1),a);//drawtext(barpos=sysparam(2),2,hy);
hys:=stkcount(hy);
dyzb:=if(x=1,'涨幅引用xx.zdf',if(x=2,'涨幅引用xx.hsh','涨幅引用xx.cc'));
das:=datacount;
d0:=rq[das];//取最后日期
variable:dm[hys]='',vcp[hys]=0,vci[hys]=0,tp=0;
for k=1 to hys do begin
ddd:=stkfromblk(hy,k);
dm[k]:=ddd;
tmp:=stkindi(ddd,dyzb,0,6);
tmpd:=stkindi(ddd,'涨幅引用xx.dd',0,6);
vcp[k]:=tmp[das];
vci[k]:=if(tmpd[das]=d0,tmp[das],-1000);//去除当天停牌股
tp:=tp+if(vci[k]=-1000,1,0);
end;
px1:=sortpos(vci,1,1,hys);
khys:=hys-tp,linethick;
bkxs:='当前股所属行业: '+hy;
z,:=if(x=3,' 元',' %');
lbs:=if(x=3,'收盘价',if(x=1,'涨跌幅','换手率'));
wz:=intpart((sysparam(3)-sysparam(2))/10);
hst:=' \n\n';
kg:='领涨';
//
col1:=hst+kg+' ①'+stknameex(dm[vci[1]])+' '+numtostr(vcp[vci[1]],2)+z,+
' ②'+stknameex(dm[vci[2]])+' '+numtostr(vcp[vci[2]],2)+z,+
if(khys>3,' ③'+stknameex(dm[vci[3]])+' '+numtostr(vcp[vci[3]],2)+z,,'')+
if(khys>4,' ④'+stknameex(dm[vci[4]])+' '+numtostr(vcp[vci[4]],2)+z,+' ⑤'+stknameex(dm[vci[5]])+' '+numtostr(vcp[vci[5]],2)+' ⑥'+stknameex(dm[vci[6]])+' '+numtostr(vcp[vci[6]],2)+z,+' ⑦'+stknameex(dm[vci[7]])+' '+numtostr(vcp[vci[7]],2)+z,
+' ⑧'+stknameex(dm[vci[8]])+' '+numtostr(vcp[vci[8]],2)+z,+' ⑨'+stknameex(dm[vci[9]])+' '+numtostr(vcp[vci[9]],2)+z,
+' ⑩'+stknameex(dm[vci[10]])+' '+numtostr(vcp[vci[10]],2)
+z,,'');//领
drawtextex(c,1,1,1590,col1),colorwhite;
zq:=datatype;
r:=openminutes(time);
zs:=ref(c,r);
zsr:=dynainfo( 3);
j:=sum(c*v,sumbars(vol,capital))/sum(v,sumbars(vol,capital));
jj:=sum(c*v,0)/sum(v,0);
jj1:=sum(c*v,r)/sum(v,r)linethick0;
jja:=if(zq=6,jj,if(zq=1,jj1,jj));
zsa:=if(zq=6,zsr,if(zq=1,zs,zsr));
cr:=if(zq=6,c>0,if(zq=1,r>1,c>0));
partline(cr,zsa),colorgray,pointdot;
dk:=(sma(c,2,1)-sma(c,6,1))*2.1,linethick0;
stickline(dk>0and jja>0 ,zsa,zsa+dk,0.1,0),color5050ff;
stickline(dk<=0and jja>0 ,zsa,zsa+dk,0.1,0),colorcyan;
fv:=v;
pv:=fv;
fh:=h;
ph:=fh;
fl:=l;
pl:=fl;
a:=sortpos(pv,1,1,datacount);
a:=sortpos(ph,1,1,datacount);
a:=sortpos(pl,0,1,datacount);
h1:=fh[ph[1]];
l1:=fl[pl[1]];
v1:=fv[pv[1]];
jh:=(max(zs,h1)-min(zs,l1))/n;
jl:=min(zs,l1)-jh;
xs:=jh/v1;
vs:=v*xs;
stickline(c>0,jl,jl+vs,0.1,1)coloryellow;
a1:=ema(((((2 * close) + high) + low) / 4),34);
a2:=ema(a1,3);
a3:=ema(a2,3);
a4:=ema(a3,3);
a5:=ema(a4,3);
a6:=ema(a5,3);
a7:=ema(a6,3);
a8:=ema(a7,3);
a9:=ema(a8,3);
a10:=ema(a9,3);
a11:=ema(a10,3);
a12:=ema(a11,3);
a13:=ema(a12,3);
a14:=ema(a13,3);
a15:=ema(a14,3);
a:=ref(hhv(high,240),1);
aa:=a[datacount];
b:=ref(llv(low,240),1);
bb:=b[datacount];
zj1:=(((high + low) + (2 * close)) / 4);
zj2:=(((zj1 - ema(zj1,21)) / std(zj1,21)) * 100);
zj3:=ema(zj2,5);
zj4:=ema(zj3,2);
zj5:=ema(zj4,2);
zj6:=(((3 * zj4) - (2 * zj5)) / 2);
if((zj6 > 90),(aa * 0.995),aa),linethick2,coloryellow;
if((zj6 < (0 - 95)),(bb * 1.005),bb),linethick2,colordd66aa;
var41:=if(dynainfo( 7)<ref(askprice(1),1) and ref(bidvol(1),1)>0 and ref(askvol(1),1)>0,buyvol,0);
var42:=if((buyvol>ref(askvol(1),1) and dynainfo( 7)=ref(askprice(1),1) and ref(bidvol(1),1)>0),buyvol,0);
var42a:=if(var42>0,var42-ref(askvol(1),1),0);
var4b:=var41+var42a;
var51:=if(buyvol>ref(askvol(1),1) and dynainfo( 7)>ref(askprice(1),1) and dynainfo( 7)<ref(askprice(2),1),buyvol,0);
var52:=if(buyvol>(ref(askvol(1),1)+ref(askvol(2),1)) and dynainfo( 7)=ref(askprice(2),1) and ref(bidvol(1),1)>0,buyvol,0);
var52a:=if(var52>0,var52-(ref(askvol(1),1)+ref(askvol(2),1)),0);
var5b:=var51+var52a;
var61:=if(buyvol>ref(askvol(1),1)+ref(askvol(2),1) and dynainfo( 7)>ref(askprice(2),1) and dynainfo( 7)<ref(askprice(3),1),buyvol,0);
var62:=if(buyvol>(ref(askvol(1),1)+ref(askvol(2),1)+ref(askvol(3),1)) and dynainfo( 7)=ref(askprice(3),1) and ref(bidvol(1),1)>0,buyvol,0);
var62a:=if( var62>0,var62-(ref(askvol(1),1)+ref(askvol(2),1)+ref(askvol(3),1)),0);
var6b:=var61+var62a;
vara2:=if(sellvol>ref(bidvol(1),1) and dynainfo( 7)=ref(bidprice(1),1) and ref(askvol(1),1)>0,sellvol,0);
varaa:=if(vara2>0,sellvol-ref(bidvol(1),1),0);
varb1:=if(sellvol>ref(bidvol(1),1) and dynainfo( 7)<ref(bidprice(1),1) and dynainfo( 7)>ref(bidprice(2),1),sellvol,0);
varb2:=if(sellvol>(ref(bidvol(1),1)+ref(bidvol(2),1)) and dynainfo( 7)=ref(bidprice(2),1) and ref(askvol(1),1)>0,sellvol,0);
varba:=if(varb2>0,sellvol-(ref(bidvol(1),1)+ref(bidvol(2),1)),0);
varab:=varb1+varba;
varc1:=if(sellvol>ref(bidvol(1),1)+ref(bidvol(2),1) and dynainfo( 7)<ref(bidprice(2),1) and dynainfo( 7)>ref(bidprice(3),1),sellvol,0);
varc2:=if(sellvol>(ref(bidvol(1),1)+ref(bidvol(2),1)+ref(bidvol(3),1)) and dynainfo( 7)=ref(bidprice(3),1) and ref(askvol(1),1)>0,sellvol,0);
varca:=if(varc2>0,sellvol-(ref(bidvol(1),1)+ref(bidvol(2),1)+ref(bidvol(3),1)),0);
varac:=varc1+varca;
varf:=if(askvol(1)<ref(askvol(1),1) and askprice(1)=ref(askprice(1),1) and dynainfo( 7)<ref(askprice(1),1) and (ref(askvol(1),1)-askvol(1))<>sellvol,ref(askvol(1),1)-askvol(1),0);
var10:=if(askvol(3)<ref(askvol(3),1) and askprice(3)=ref(askprice(3),1) and dynainfo( 7)<ref(askprice(3),1),ref(askvol(3),1)-askvol(3),0);
var11:=if((ref(bidvol(1),1)+ref(bidvol(2),1)+ref(bidvol(3),1))=0 and ref(askvol(1),1)>0 and (ref(askvol(1),1)-askvol(1))<sellvol and askvol(1)<ref(askvol(1),1) and askprice(1)=ref(askprice(1),1) and dynainfo( 7)<ref(askprice(1),1),ref(askvol(1),1)-askvol(1),0);
var12:=if(askvol(2)<ref(askvol(3),1) and askprice(2)=ref(askprice(3),1) and dynainfo( 7)<ref(askprice(3),1),ref(askvol(3),1)-askvol(2),0);
var13:=if(askvol(3)<ref(askvol(2),1) and askprice(3)=ref(askprice(2),1) and dynainfo( 7)<ref(askprice(2),1),ref(askvol(2),1)-askvol(3),0);
var14:=if(bidvol(1)<ref(bidvol(1),1) and bidprice(1)=ref(bidprice(1),1) and dynainfo( 7)>ref(bidprice(1),1) and ref(bidvol(1),1)-bidvol(1)<>buyvol,ref(bidvol(1),1)-bidvol(1),0);
var15:=if(bidvol(3)<ref(bidvol(3),1) and bidprice(3)=ref(bidprice(3),1) and dynainfo( 7)>ref(bidprice(3),1),ref(bidvol(3),1)-bidvol(3),0);
var16:=if(ref(askvol(1),1)+ref(askvol(2),1)+ref(askvol(3),1)=0 and ref(bidvol(1),1)>0 and ref(bidvol(1),1)-bidvol(1)<buyvol and bidvol(1)<ref(bidvol(1),1) and bidprice(1)=ref(bidprice(1),1) and dynainfo( 7)=ref(bidprice(1),1),ref(bidvol(1),1)-bidvol(1),0);
var17:=if(bidvol(2)<ref(bidvol(3),1) and bidprice(2)=ref(bidprice(3),1) and dynainfo( 7)>ref(bidprice(3),1),ref(bidvol(3),1)-bidvol(2),0);
var18:=if(bidvol(3)<ref(bidvol(2),1) and bidprice(3)=ref(bidprice(2),1) and dynainfo( 7)>ref(bidprice(2),1),ref(bidvol(2),1)-bidvol(3),0);
zq:=datatype;
r:=openminutes(time);
zs:=ref(c,r);
zsr:=dynainfo(3);
j:=sum(c*v,sumbars(vol,capital))/sum(v,sumbars(vol,capital));
jj:=sum(c*v,0)/sum(v,0);
jj1:=sum(c*v,r)/sum(v,r);
jja:=if(zq=6,jj,if(zq=1,jj1,jj));
zsa:=if(zq=6,zsr,if(zq=1,zs,zsr));
cr:=if(zq=6,c>0,if(zq=1,r>1,c>0));
partline(cr,zsa),colorgray,pointdot;
dk:=(sma(c,2,1)-sma(c,6,1))*2.1;
stickline(dk>0and jja>0 ,zsa,zsa+dk,0.1,0),color5050ff;
stickline(dk<=0and jja>0 ,zsa,zsa+dk,0.1,0),colorcyan;
k1:=hhv(h,0);
k2:=llv(l,0);
k3:=barslast(openminutes(time)<=240);
t1:=barslast(openminutes(time)<=60);
drawsl(openminutes(time)>=60,ref(k1,t1),0,k3,2),linedot;
drawsl(openminutes(time)>=60,ref(k2,t1),0,k3,2),linedot;
drawicon(openminutes(time)>60 and cross(c,ref(k1,t1)+0.001),ref(k1,t1),1);
流通:=finance(7)/10000,linethick;
qj1:=capital/2500; qj2:=capital/8000; qj3:=capital/16000; qj4:=capital/33000; qj5:=capital/80000; qj6:=capital/150000; qj7:=capital/200000; qj8:=capital/400000;
xs:=if(流通<1.0,qj1,if(流通>=1.0 and 流通<5.0,qj2,if(流通>=5.0 and 流通<10,qj3,if(流通>=10 and 流通<20,qj4,if(流通>=20 and 流通<50,qj5,if(流通>=50 and 流通<100,qj6,if(流通>=100 and 流通<300,qj7,if(流通>=300,qj8,0))))))));
门限:=xs;
特门限:=xs*2.67;
委买:=bidvol(1)+bidvol(2)+bidvol(3);
委卖:=askvol(1)+askvol(2)+askvol(3);
委买总量:=sum(委买,0);
委卖总量:=sum(委卖,0);
www1:=sum(buyvol,0)-sum(sellvol,0);
买卖存量:=ref(www1,1)+www1;
总成交a:=dynainfo(8)*100;
总j:=总成交a*dynainfo(7);
k1:=hhv(h,0);
k2:=llv(l,0);
k3:=barslast(openminutes(time)<=240);
t1:=barslast(openminutes(time)<=60);
drawsl(openminutes(time)>=60,ref(k1,t1),0,k3,2),linedot;
drawsl(openminutes(time)>=60,ref(k2,t1),0,k3,2),linedot;
drawicon(openminutes(time)>60 and cross(c,ref(k1,t1)+0.001),ref(k1,t1),1);
pk:=vol*(open+close+high+low)/4;
pk1:=if(vol>0,pk/vol,(open+close+high+low)/4);
c11:=pk1;
a01:=(c11-llv(c11,75))/(hhv(c11,75)-llv(c11,75));
a11:=sma(a01,13,1);
a21:=sma(a11,13,1);
a31:=3*a11-2*a21;
a41:=2*a31-0.5;
zs:=dynainfo(3)*0.95;
选a:=c11*(1-(a41-a21)/40);
选b:=cross(c11,选a) and close/ref(close,1)<1.03;
选:if(选b,zs*1.03,zs),colorred;
x1:=140 ;
y1:=60; y2:=90;
bkname:='板块指数';
stkc:=stkcount(bkname);
variable:s=0,z,sz[stkc]=0,z,name[15]='',z,number[15]=0;
for p=1 to stkc do begin
ty1:=stkfromblk(bkname,p);
ty2:=dynainfo2(14,ty1)*100;
z,sz[p]:=ty2;
if ty2>=0 then s:=s+1;
end
nwy:=sortpos(z,sz,0,1,stkc);
for p1 =1 to 15 do begin
z,dm:=stkfromblk(bkname,z,sz[stkc-(p1-1)]);
te:=stknameex(z,dm);
z,name[p1]:=strleft(te,strlen(te)-4);
z,number[p1]:=dynainfo2(14,z,dm)*100;
end;
drawtextex(c,1,20,800,z,name[1]),colorred,align2;
drawtextex(c,1,20,850,z,name[2]),colorred,align2;
drawtextex(c,1,20,900,z,name[3]) ,colorred,align2;
drawtextex(c,1,20,950,z,name[4]),colorred,align2;
drawtextex(c,1,20,1000,z,name[5]),colorred,align2;
drawtextex(c,1,20,1050,z,name[6]),colorred,align2;
drawtextex(c,1,20,1100,z,name[7]),colorred,align2;
drawtextex(c,1,20,1150,z,name[8]),colorred,align2;
drawtextex(c,1,20,1200,z,name[9]),colorred,align2;
drawtextex(c,1,20,1250,z,name[10]),colorred,align2;
drawtextex(c,1,20,1300,z,name[11]),colorred,align2;
drawtextex(c,1,20,1350,z,name[12]),colorred,align2;
variable:minz,str[15]='';
paa:=0;
while paa<15 do begin
paa:=paa+1;
minstkname:=z,name[paa];
stknum:=stkcount(minstkname);
variable:z,[stknum]=0;
for p2=1 to stknum do begin
ty1:=stkfromblk(minstkname,p2);
ty2:=dynainfo2(14,ty1)*100;
z,[p2]:=ty2;
end
nwy:=sortpos(z,,0,1,stknum );
ub:=if(stknum>=8,8,stknum);
for p3 =1 to ub do begin
z,dm:=stkfromblk(minstkname,z,[stknum-(p3-1)]);
te:=stknameex(z,dm);
minz,str[paa]:=minz,str[paa] +'('+te + numtostr(dynainfo2(14,z,dm)*100,2) +'%'+')'+ ' ';//
end;
end;
x4:=160;
{指定板块内个股排序,引用网友bajatje(懒汉)提供的指标,谢谢懒汉网友}
bk:='自选股'; //可任意指定版块,板块内个股数需大于9个
stksum:=stkcount(bk);dcount:=datacount;yygs4:='涨幅引用xx.a0';
variable:dmstr[stksum]='',var_px[stksum]=0,var_indi[stksum]=0;
for k=1 to stksum do
begin
dn:=stkfromblk(bk,k);
dmstr[k]:=dn;
temp1:=stkindi(dn,yygs4,0,-1);
var_px[k]:=temp1[dcount];
var_indi[k]:=temp1[dcount];
end;
num1:=sortpos(var_indi,1,1,stksum);
dm_max1:=var_indi[1];dm_max2:=var_indi[2];dm_max3:=var_indi[3];dm_max4:=var_indi[4];
dm_max5:=var_indi[5];dm_max6:=var_indi[6];dm_max7:=var_indi[7];
max1:=var_px[dm_max1];max2:=var_px[dm_max2];max3:=var_px[dm_max3];
max4:=var_px[dm_max4];max5:=var_px[dm_max5];max6:=var_px[dm_max6];max7:=var_px[dm_max7];
drawtextex(c,1,10,1470,hst+hst+hst+hst+hst+hst+'正%'+'['+stknameex(dmstr[dm_max1])+''+numtostr(max1,2)
+']['+stknameex(dmstr[dm_max2])+''+numtostr(max2,2)
+']['+stknameex(dmstr[dm_max3])+''+numtostr(max3,2)
+']['+stknameex(dmstr[dm_max4])+''+numtostr(max4,2)
+']['+stknameex(dmstr[dm_max5])+''+numtostr(max5,2)
+']['+stknameex(dmstr[dm_max6])+''+numtostr(max6,2)
+']['+stknameex(dmstr[dm_max7])+''+numtostr(max7,2)
),colorred,align4;
yygs5:='涨幅引用xx.a0';
variable:dmstr[stksum]='',var_px[stksum]=0,var_indi[stksum]=0;
for k=1 to stksum do
begin
dn:=stkfromblk(bk,k);
dmstr[k]:=dn;
temp1:=stkindi(dn,yygs5,0,-1);
var_px[k]:=temp1[dcount];
var_indi[k]:=temp1[dcount];
end;
num1:=sortpos(var_indi,0,1,stksum);
dm_max1:=var_indi[1];dm_max2:=var_indi[2];dm_max3:=var_indi[3];dm_max4:=var_indi[4];
dm_max5:=var_indi[5];dm_max6:=var_indi[6];dm_max7:=var_indi[7];
max1:=var_px[dm_max1];max2:=var_px[dm_max2];max3:=var_px[dm_max3];
max4:=var_px[dm_max4];max5:=var_px[dm_max5];max6:=var_px[dm_max6];max7:=var_px[dm_max7];
drawtextex(c,1,10,1490,hst+hst+hst+hst+hst+hst+hst+'逆%'+'['+stknameex(dmstr[dm_max1])+''+numtostr(max1,2)
+']['+stknameex(dmstr[dm_max2])+''+numtostr(max2,2)
+']['+stknameex(dmstr[dm_max3])+''+numtostr(max3,2)
+']['+stknameex(dmstr[dm_max4])+''+numtostr(max4,2)
+']['+stknameex(dmstr[dm_max5])+''+numtostr(max5,2)
+']['+stknameex(dmstr[dm_max6])+''+numtostr(max6,2)
+']['+stknameex(dmstr[dm_max7])+''+numtostr(max7,2)
),colorred,align4;
drawtextex(c,1,40,800,minz,str[1]),color555555;
drawtextex(c,1,40,850,minz,str[2]),color555555;
drawtextex(c,1,40,900,minz,str[3]),color555555;
drawtextex(c,1,40,950,minz,str[4]),color555555;
drawtextex(c,1,40,1000,minz,str[5]),color555555;
drawtextex(c,1,40,1050,minz,str[6]),color555555;
drawtextex(c,1,40,1100,minz,str[7]),color555555;
drawtextex(c,1,40,1150,minz,str[8]),color555555;
drawtextex(c,1,40,1200,minz,str[9]),color555555;
drawtextex(c,1,40,1250,minz,str[10]),color555555;
drawtextex(c,1,40,1300,minz,str[11]),color555555;
input:n(2000,1,10000),m(3,1,10);
zq:=datatype;
r:=openminutes(time);
zs:=ref(close,r);
zsr:=dynainfo(3);
jj:=sum(close*vol,0)/sum(vol,0);
jj1:=sum(close*vol,r)/sum(vol,r);
jja:=if(zq=6,jj,if(zq=1,jj1,jj));
zsa:=if(zq=6,zsr,if(zq=1,zs,zsr));
dk:=(sma(close,2,1)-sma(close,6,1))*2.1;
stickline(dk>0 and jja>0,zsa,zsa+dk,0.1,0),color5050ff;
stickline(dk<=0 and jja>0,zsa,zsa+dk,0.1,0),colorffff00;
bu:=barslast(close=hhv(close,2400));
se:=barslast(close=llv(close,2400));
kk1:=se;
kk2:=bu;
lm1:=se;
lm2:=bu;
ok:=kk1>kk2 and lm1>lm2;
ok1:=kk1>kk2 and lm1<lm2;
nok:=kk2>kk1 and lm2>lm1;
nok1:=kk2>kk1 and lm2<lm1;
drawicon(cross(kk1,1.09*kk2),open*1,1);
drawtext(cross(kk1,1.09*kk2),open*0.995,'抓'),colorff00;
var1:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),25);
var2:=high-ref(high,1);
var3:=ref(low,1)-low;
var4:=sum(if(var2>0 and var2>var3,var2,0),25);
var5:=sum(if(var3>0 and var3>var2,var3,0),25);
var6:=var4*100/var1;
var7:=var5*100/var1;
var8:=ma(abs(var7-var6)/(var7+var6)*100,115);
var9:=(var8+ref(var8,15))/2;
a1:=ref(dynainfo( 7),1);
b1:=sma(max(dynainfo( 7)-a1,0),9,1)/sma(abs(dynainfo( 7)-a1),9,1)*100;
drawicon(cross(20,b1),l,4);
drawicon(cross(b1,80),h,5);
rq:=finance(0);
y1:=if(rq=201003,1,2);
drawtextex(close,1,1,1520,' '+strleft(blkname,48)),colorffb060;
drawtextex(c,1,100,1570,
'更新月份:'+ numtostr(finance(0),0)+' ' +'总股本:'+numtostr(finance(1)/10000,2 )+'亿'+' '+'流通股:'+ numtostr(finance(7)/10000,2)+'亿'+' '+'最新收益:'+ numtostr(finance(33),3)+'元'
),colorffb060;;
日时转换:=if(datatype=8,120,240);
qzs:=(ema(close,10)+ema(close,32))/2;
var1:=(ema(close,30)+ema(close,72))/2;
var2:=(ema(vol,10)+ema(vol,32))/2;
var3:=(var1+var2)/2;
var4:=ema(var3,30);
var5:=ema(var3,60);
var6:=all(var1>ref(var1,1),5) and all(var4>ref(var4,1),5);
fillrgn(var1>ema(var1,60),var1,ema(var1,60)),color3333bb;
fillrgn(var1<ema(var1,60),var1,ema(var1,60)),color008833;
牵引线:var1,coloryellow;
强弱线:ema(var1,日时转换),pointdot,colorwhite;
趋势关注:if(cross(var1,ema(var1,60)) and var6,1,0),linethick0,colorred;
量价关注:if(cross(var3,var5) and var6,1,0),linethick0,colorwhite;
冲击量:if(var3>var5 and var6,1,0),linethick0,coloryellow;
强势区:if(var1>强弱线,1,0),linethick0,colorred;
止损区:if(var1<强弱线,1,0),linethick0,colorgreen;
stickline(qzs>var1,qzs,var1,3,0),colorff00ff;
stickline(冲击量=1,qzs,var1,3,0),coloryellow;
drawicon(趋势关注=1,ema(var1,60),13);
drawtext(量价关注=1,ema(var1,60),'l0v'),colorwhite;
{忘了作者}
ma30:ema(close,30),linethick0;
强弱:ema(close,900),colorffffff,linethick2;
h1:=max(dynainfo(3),dynainfo(5));
l1:=min(dynainfo(3),dynainfo(6));
p1:=h1-l1;
阻力:l1+p1*7/8,color00dd00;
支撑:l1+p1*0.5/8,color00dd00;
现价:close,colorffffff,linethick1;
支差:现价-支撑,linethick0;
阻差:现价-阻力,linethick0;
支差比:支差/ma30*100,linethick0;
阻差比:阻差/ma30*100,linethick0;
stickline(cross(支撑,现价),支撑,阻力,1,0),colorffffff,linethick2;
drawtext(longcross(支撑,现价,2),支撑,'★低'),coloryellow,linethick2;
drawtext(longcross(现价,阻力,2),现价*1.001,'★高'),colorffffff,linethick2;
{一品老师的分时过顶}
kp30:=time0<36000;
kpgd:=h=hhv(h,0) and kp30;
gdsj:=barslast(kpgd);
hh:ref(h,gdsj),colorff00ff,pointdot,linethick2;
过顶:if(cross(c,hh),1,0),color00ff00,pointdot,linethick0;
冲高:if(filter(cross(c,hh*1.01),15),1,0),color00ffff,pointdot,linethick0;
drawtext(过顶,hh,'↑'),colorffffff,align2;
drawtext(冲高,hh,'★'),colorffffff,align2;


上传自己用来看盘的分时主图(源码)

  >>>使用本站搜索工具可以找到更多上传自己用来看盘的分时主图公式 飞狐源码上传指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文上传自己用来看盘的分时主图公式 飞狐源码上传指标 源码仅供学习研究。

猜你喜欢

学了又学