分时买卖力度来至于虎拓圣龙副图..附图
把虎拓圣龙用于分时求得分时买卖的力度 竟管不是【ddx】的流入,但是可以在股价涨跌之中,取得买卖双方的愿意的大小,其流入数据不重要,但可以比较大小,比较方向对于我们操作还有参考价值对于免费用户还是有用的,收费的就不必来了,它替代不了【ddx】
{买卖力度}
drawrectrel(-1,0,1000,1000,rgb(0,0,20)),color00ffff,linethick2,layer7;
0,color888888,dotline;
mm:=if(c=dynainfo(54) and l=dynainfo(54),h-dynainfo(3),h-ref(c,1));
m:=if(mm>0,mm,0.0);
ss:=if(c=dynainfo(55) and h=dynainfo(55),dynainfo(3)-h,ref(c,1)-l);
s:=if(ss>0,ss,0.0);
hj:=m+s;
流入额:=m/hj*amount;
流出额:=s/hj*amount;
净额:=流入额-流出额;
td:sum(净额,0)/10000,linethick0;
je:净额/10000,linethick0,color00dddd;
drawtextabs(0,30,'流入净额; '+numtostrn(td,1)+' 万'),color00ff00,linethick3;
drawtextabs(0,50,'当前净额; '+numtostrn(je,3)+' 万'),color00ffff,linethick3;
买入力度:=m/hj*amount/capital;
卖出力度:=s/hj*amount/capital;
(买入力度-卖出力度),colorstick,linethick2,layer0;
买卖力度:sum((买入力度-卖出力度),0),precis3,linethick0;
drawtextabs(0,70,'买卖力度; '+numtostrn(买卖力度,3)+' %'),color0077ff,linethick3;
x:买卖力度,coloraaaa00,linethick2;
partline(x,x>10.5,rgb(255,0,0)),linethick2,layer7;
partline(x,x<0,rgb(0,255,100)),linethick2,layer7;
sumxp:=(买入力度-卖出力度)*10;
t3:=slope(c,4)>0.016;
x2:=(count(sumxp>0,6)>5 or count(sumxp>0,10)>7) and 买卖力度>0.1 and t3;
y:=hhv(sumxp,0);
bt:=x2*y;
drawtext(bt,x,'p'+count(bt,0)),color00ffff,linethick1;
drawtextabs(0,10,'主力做多次数: '+count(bt,0)),color00fffa,linethick3;
cc:=barssince(o>0);
tt:=(c-ref(c,cc-2))/ref(c,cc-2)*100;
b1:=slope(c,5)<0.02 and tt<6 andx>4;
b:=b1 and td>1000;
z1:=barssince(b);
z2:=barslast(b);
t:b and z1=z2 ,linethick0;
aaa:=hhvall(x);
bbb:=llvall(x);
ccc:=aaa-bbb;
上顶:bbb+ccc*2.7/3,linethick1;
下底:bbb+ccc*0.3/3,linethick1;
fillrgn(x,上顶,x>上顶,rgb(200,0,80)),layer4;
fillrgn(x,下底,x<下底,rgb(0,0,255)),layer4;
fillrgn( 上顶,aaa ),color000446,layer5;;
fillrgn(bbb,下底 ),color004400,layer5;;
hl:=dynainfo(7)-llvall(c)*1.01;
hlbl:=hl/dynainfo(7)*100;
{条件b点}
drawtext(t,x,'b'),colorff55ff,linethick7;
提示买入价:llvall(c)*1.002,linethick0,colorff00ff;
现已获利:hl,linethick0,color00aaff;
收益:hlbl,linethick0,color00ffff;
drawtextabs(0,110,'提示买入价;'+numtostrn(提示买入价,2)+' 元'),color0000ff,linethick3;
买比:allbidvol/(allbidvol+allaskvol)*100,color0077ff,layer3,linethick0;
drawtextabs(0,90,'★买比: '+numtostrn(买比,2)+ ' %'),color00ffff,linethick3;
tm:=barscount(c);
tp:= filter( c>=hhv(h,tm) and v>ma(v,0)*2 and dynainfo(17)>1 and time0>39600,240) ;
vertline(tp,4),color00ff00;
--------------------------------------
下面是虎拓圣龙的源码;可对照参考
---------------------------------------
variable:x=0;
drawtextabs(0,0,'【基于丰赢数据】');
yd:="大盘引用.昨收#day";
{sumt:barscount(c),linethick0;}
mm:=if(c=dynainfo(54) and l=dynainfo(54),h-yd,h-ref(c,1));
m:=if(mm>0,mm,0.0);
ss:=if(c=dynainfo(55) and h=dynainfo(55),yd-h,ref(c,1)-l);
s:=if(ss>0,ss,0.0);
{
mm:=h-ref(c,1);
ss:=ref(c,1)-l;
s:=if(ss>0,ss,0.01);
m:=if(mm>0,mm,0.01);
}
hj:=m+s;
买入力度:m/hj*amount/capital,linethick0;
卖出力度:s/hj*amount/capital,linethick0;
流入额:m/hj*amount/10000,linethick0;
流出额:s/hj*amount/10000,linethick0;
净额:流入额-流出额,linethick0;
x:=(买入力度-卖出力度);
sumx:sum(x,0),color00ffff;
sumxp:=x*10;
ct:=count(sumxp>0,0);
st:=count(sumxp<0,0);
cz:ct-st,linethick0,color00ffff;
t1:=v>ma(v,0)*5;
t2:=slope(c,5)>0.02;
t3:=slope(c,4)>0.016;
x1:=t1 and t2 and sumx>0 and ct>st*1.5;
x2:=(count(sumxp>0,6)>5 or count(sumxp>0,10)>7) and sumx>0.1 and t3;
y:=hhv(sumxp,0);
b:x1*y,color999999;;
bt:x2*y,coloraaaa00,linethick1;
z1:barssince(b),linethick0;
z2:barslast(b),linethick0;
drawtext(b and z1=z2,y,'b'),colorffffff,linethick7;
drawicon(b and z1=z2,y*1.1,12),linethick7;
sumxp:x*1,colorstick,linethick2;
{拾金点}
bn:="黄金眼.买卖气#day";
jd:=bn>25;
z3:barssince(jd),linethick0;
z4:barslast(jd),linethick0;
drawtext(jd and z3=z4,y,'b'),colorffff00,linethick7;
drawicon(jd and z3=z4,y*1.1,12),linethick7;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分时买卖力度来自虎拓圣龙副图附图公式下载 大智慧指标源码力度源码仅供学习研究。