我发个拆分三分钟量的主.副图.悄悄离开附图
{3分钟主图}
tt:=barscount(c);
cc:close,color00ffff,linethick2;
zz:=sum(amount,tt)/sum(vol*100,tt);
zz1:=between(c/zz,1.05,0.95);
均线:if(zz1=0,ma(c,tt),zz),color00ff00,linethick2;
a:=if(c>=均线,1,0);
均线上:=count(a=1 ,0 );
均线下:=count(a=0 ,0 );
均线上占:均线上/(均线上+均线下)*100,precis1,linethick0;
{叠加股票}
tc:=strcmp(strleft(marketlabel,2),'sz');
dpsh:="sh000001$close"/hhv(stkindi('sh000001','05引.rc#day'),0);
dpsz:="399901$close"/hhv(stkindi('399901','05引.rc#day'),0);
dpc:=if(inblock('a股板块'),dynainfo(3)*if(tc=0,dpsz,dpsh),c);
polyline(c>0,dpc),color0000ff,layer0,linethick2;
外内盘:dynainfo(23)/dynainfo(22),precis1,linethick0;
drawtextabs( 5,5,'外盘比内盘◢>1.0◣: '+numtostrn(dynainfo(23)/dynainfo(22),2)+''),color99ff99,linethick2;
drawtextabs( 5,20,'[分时]量比◢>1.0◣: '+numtostrn(dynainfo(17),2)+', [日].量比:'+numtostrn(sum(v,0)/("vol.ma1#day"),2)+' '),color0000ff,linethick2;
比:sum(v,0)/sum("05引.rmv#day"/240,0)*100,precis1,linethick0;
分钟量3:sum(v,3)/sum("05引.rmv#day"/240,3)*100,color00ff00,precis1,linethick0;
量比:dynainfo(17),precis1,linethick0;
drawtextabs( 5,35,'现量'+numtostrn(sum(v,0)/10000,2)+'万手: 与昨天(5天均量)同期量'+numtostrn(sum("05引.rmv#day"/240,0)/10000,2)+'万手: 比:= '+numtostrn(比,1)+'%'),color77ff00,linethick3;
drawtextabs( 5,50,'3分钟量与昨天(5天均量)同期量:比:='+numtostrn(sum(v,3)/sum("05引.rmv#day"/240,3)*100,1)+'%'),color77ff00,linethick3;
drawtextabs( 5,70,'5分钟量与昨天(5天均量)同期量:比:='+numtostrn(sum(v,5)/sum("05引.rmv#day"/240,5)*100,1)+'%'),color77ffff,linethick3;
drawtextabs( 5,90,'15分钟量与昨天(5天均量)同期量:比:='+numtostrn(sum(v,15)/sum("05引.rmv#day"/240,15)*100,1)+'%'),colorff00ff,linethick3;
drawtextabs(5,110,'均线上占:'+numtostrn(均线上占,1)+'%,'),color00ffff,linethick4;
{红绿三角【副图】}
h1:hhvall(hhv(c,0)),color70ff00,crossdot,linethick1;
l1:llvall(llv(c,0)),color00ff00,crossdot,linethick1;
fillrgn(l1,h1,l1<h1,rgb(0,10,0)),linethick2,layer6;
b10304:=filter(h1,3);
c10304:=backset(b10304,3+1);
d10304:=filter(c10304,3);{高点}
b20304:=filter(l1,3);
c20304:=backset(b20304,3+1);
d20304:=filter(c20304,3);{低点}
e10304:=(ref(l1,1)+ref(h1,1))/2;
e20304:=(high+low)/2;{高低点出现在同一k线上时可作取舍}
h10304:=(d10304 and not(d20304 and e10304>=e20304)) or barstatus=2 or barscount(close)=1;
l10304:=(d20304 and not(d10304 and e10304=e20304));
x10304:=ref(barslast(h10304),1)+1;
f10304:=backset(h10304 and count(l10304,x10304)>0,llvbars(if(l10304,low,10000),x10304));
g10304:=f10304>ref(f10304,1);
i10304:=backset(g10304,2);
ld0304:=i10304>ref(i10304,1);{过滤后低点}
l20304:=ld0304 or barstatus=2 or barscount(close)=1;
x20304:=ref(barslast(l20304),1)+1;
f20304:=backset(l20304 and count(h10304,x20304)>0,hhvbars(if(h10304,high,0),x20304));
g20304:=f20304>ref(f20304,1);
i20304:=backset(g20304,2);
hd0304:=i20304>ref(i20304,1);{过滤后高点}
uu0304:=backset(barstatus=2,barslast(ld0304)+1);
vv0304:=uu0304>ref(uu0304,1);
uu20304:=backset(barstatus=2,barslast(hd0304)+1);
vv20304:=uu20304>ref(uu20304,1);
{以下语句为三角形部分}
底:ref(l,barslast(vv0304)),colorred,linethick2;
顶:ref(h,barslast(vv20304)),colorgreen,linethick2;
{下跌三角形:绿色三角形画完介入}
stickline(vv0304,顶,底,0,0),color00ff00,linethick3;
drawline(vv20304,h,vv0304,l,0),color00ff00,linethick3;{斜}
drawline(vv20304,h,vv0304,顶,0),color00ff00,linethick3;
{上涨三角形:红色三角形画完出局}
stickline(vv20304 ,顶,底,0,0),color0000ff,linethick3;
drawline(vv0304,l,vv20304,h,0),color0000ff,linethick3;{斜}
drawline(vv0304,l,vv20304,底,0),color0000ff,linethick3;
nn304:= dispstatus=2;
drawtext(nn304,底,'底: '+numtostrn(底,2)+'元 '),align0,colorred,linethick1,valign2;
drawtext(nn304,顶,'顶: '+numtostrn(顶,2)+'元 '),align0,colorgreen,linethick1,valign2;
ref((顶+底)/2,barslast(vv20304) or (vv0304)),colorff9900,linethick2,valign2;
ref(底+(顶-底)*0.618,barslast(vv20304) or (vv0304)),color00ffff,dotline,valign2;
ref(底+(顶-底)*0.382,barslast(vv20304) or (vv0304)),color00ffff,dotline,valign2;
drawtext(nn304,(顶+底)/2, '50%: '+numtostrn((顶+底)/2,2)+'元 '),align0,colorff9900,linethick1,valign2;
drawtext(nn304,顶, ''+numtostrn((顶-c)/c*100,2)+'% '),align2,color00ffff,linethick1,valign2;
drawtext(nn304,底, ''+numtostrn((c-底)/底*100,2)+'% '),align2,color00ffff,linethick1,valign2;
fillrgn(顶,(顶+底)/2,顶>(顶+底)/2,rgb(0,0,255)),colorff9900,linethick2,layer5;
fillrgn((顶+底)/2,底,(顶+底)/2>底,rgb(60,0,60)),color00ff00,linethick2,layer5;
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
{3分钟量副图}
drawrectrel(-1,0,1000,1000,rgb(40,0,40)),color0077ff,linethick2,layer7;
分钟量3:ema(sum(v,3)/sum("05引.rmv#day"/240,3)*100,5),color00ff00,precis1,linethick1;
partline(分钟量3,(分钟量3>ref(分钟量3,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),linethick2,layer0;
drawtextabs( 5,5,'3分钟量与昨天(5天均量)同期量:比:= '+numtostrn(sum(v,3)/sum("05引.rmv#day"/240,3)*100,1)+'%'),color77ff00,linethick3;
x:=barslast(dispstatus=1);
hx:=hhvall(hhv(分钟量3,x));
vertline(分钟量3=hx and 分钟量3>600,2),layer0,color0077ff;
比:sum(v,0)/sum("05引.rv#day"/240,0)*100,precis1,linethick0;
drawtextabs( 5,25,' 现量'+numtostrn(sum(v,0)/10000,2)+'万手: 与昨天同期量比:= '+numtostrn(比,1)+'%'),color77ffff,linethick3;
分钟量5:sum(v,5)/sum("05引.rv#day"/240,5)*100,colorff9900,precis1,linethick1;
t:=barscount(c);
tp:= filter( c>=hhv(h,t) and v>ma(v,0)*2 and dynainfo(17)>1 and time0>39600,240) ;
vertline(tp,1),color00ffff;
上一指标公式:跟私募机构共进退主图附图与君分享共勉公式下载 大智慧指标源码私募附图
下一指标公式:黑棒佳丽选股附图和说明公式下载 大智慧指标源码选股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文拆分三分钟量的主副图附图公式下载 大智慧指标源码附图发个仅供学习研究。