drawgbk(c>0, rgb(0,0,0),rgb(10,10,0),0,'0',0);
{自用成交量}
预测量:if(currbarscount=1 and period=5,vol*240/fromopen,drawnull),nodraw;
stickline(currbarscount=1 and period=5,预测量,0,-1,-1),color00c0c0;
量:=vol;
v0001:=vol/((high-low)*2-abs(close-open));
主买:if(close>open,v0001*(high-low),if(close<open,v0001*((high-open)+(close-low)),vol/2)),color6d0076,nodraw;
主卖:if(close>open,0-v0001*((high-close)+(open-low)),if(close<open,0-v0001*(high-low),0-vol/2)),colorffd1be,nodraw;
净买:主买+主卖,colormagenta,nodraw;
换手率:=vol/capital*100;
hs:=换手率;
量比:if(islastbar,dynainfo(17),vol/ref(ma(vol,5),1)),linethick0,coloryellow;
a:=ma(换手率,2);
x:=llv(a,20),linethick;
x1:=(a-llv(a,20))=0;
换手最小:=if(every (a>0,5) and filterx(x1,5),x1,0),colorred;
小天:barslast(换手最小),linethick,color008888;
x2:=hhv(a,20);
x3:=(a-x2)=0;
换手最大:=if(every(ref(a,1)<x2,5) and filterx(x3,5),1,0),colorgreen;
stickline(close<=ref(close,1) , vol,0,3,0), color808040;
stickline(close>ref(close,1), vol,0,3,1),colorff87ff;
stickline(净买>0,0,主买,3,0),color1020bb;
stickline(净买>0,0,主买,2,0),color1020bb;
stickline(净买>0,0,主买,1,0),color1020dd;
stickline(净买>0,0,主买,0,0),color1020ee;
stickline(净买<=0,0,主买,3,0),color1020bb;
stickline(净买<=0,0,主买,2,0),color1020cc;
stickline(净买<=0,0,主买,1,0),color1020dd;
stickline(净买<=0,0,主买,0,0),color1020ee;
stickline(净买>0,v,主买,3,0),colorffaa22;
stickline(净买>0,v,主买,2,0),colorffbb33;
stickline(净买>0,v,主买,1,0),colorffdd44;
stickline(净买>0,v,主买,0,0),colorffff55;
stickline(净买<=0,v,主买,3,0),colorffaa22;
stickline(净买<=0,v,主买,2,0),colorffbb33;
stickline(净买<=0,v,主买,1,0),colorffdd44;
stickline(净买<=0,v,主买,0,0),colorffff55;
stickline(c,量比*15000,0,3,0),color00aaaa;
stickline(c,量比*15000,0,2,0),color00cccc;
stickline(c,量比*15000,0,1,0),color00eeee;
stickline(c,量比*15000,0,0,0),color00ffff;
{线形}
h13:=hhv(ma(vol,13),13),colorgreen;
l13:=llv(ma(vol,5),13),colorbrown,linethick2;
mv5:ma(vol,5),color8888ff;
mv13:ma(vol,13),colormagenta;
mv34:ma(vol,34),colorwhite;
{信号和文字提示}
drawicon(ma(sum(主买,34),10)>ref(ma(sum(主买,34),10),1),-300,2);
drawicon(ma(sum(主买,34),10)<=ref(ma(sum(主买,34),10),1),-300,1);
{}
drawrectrel(0,0,285,999.2,if(120,rgb(0,10,10),0));
{}
上涨家数:=indexadv,color0080ff,nodraw;
下跌家数:=indexdec,colorgreen,nodraw;
今日人气:=上涨家数/下跌家数;
波段高:=(xma(xma(h,60),60)-xma(xma(l,60),60))*2.3+xma(xma(h,60),60);
波段低:=xma(xma(l,60),60)-(xma(xma(h,60),60)-xma(xma(l,60),60))*2.3;
高:=(xma(xma(h,25),25)-xma(xma(l,25),25))*1+xma(xma(h,25),25);
低:=xma(xma(l,25),25)-(xma(xma(h,25),25)-xma(xma(l,25),25))*1;
大单动向:=(largeintrdvol-largeouttrdvol)*10000/finance(7);
涨跌动因:=if(tradenum>0,(tradeoutnum-tradeinnum)*100/tradenum,0);
大单差分:=if(tradenum>0,(largetrdinnum-largetrdoutnum)/tradenum*100,0);
主力净流入:=(largeintrdvol-largeouttrdvol)*amo/v/10000;
超b:=l2_amo(0,2)/10000.0;
大b:=l2_amo(1,2)/10000.0;
中b:=l2_amo(2,2)/10000.0;
小b:=l2_amo(3,2)/10000.0;
超s:=l2_amo(0,3)/10000.0;
大s:=l2_amo(1,3)/10000.0;
中s:=l2_amo(2,3)/10000.0;
小s:=l2_amo(3,3)/10000.0;
资金流向:=(超b+大b+中b+小b)-(超s+大s+中s+小s);
资金比:=(超b+大b+中b+小b)/(超s+大s+中s+小s);
大单比:=(超b+大b+中b)/(超s+大s+中s);
超大单比:=(超b+大b)/(超s+大s);
total:=if(period=1,5,if(period=2,15,if(period=3,30,if(period=4,60,if(period=5,240,1)))));
mtime:=mod(fromopen,total);
ctime:=if(mtime<0.5,total,mtime);
虚拟量:=if(currbarscount=1,vol*total/ctime,drawnull);
虚拟量比:=虚拟量/ref(vol,1),colorwhite,linethick0;
止盈价:=(xma(xma(h,25),25)-xma(xma(l,25),25))*1+xma(xma(h,25),25),colormagenta,linethick1;
获利率:=(止盈价-c)/c*100,colorwhite,linethick0;
止损价:=c-(高-低)/2,linethick1,colorwhite;
止损率:=(止损价-c)/c*100,colorwhite,linethick0;
emah3:=ref(ema(h,3),1);
emal3:=ref(ema(l,3),1);
止盈价1:=emah3+(emah3-emal3)/4;
获利率2:=(止盈价1-c)/c*100;
止损价1:=emal3-(emah3-emal3)/4;
止损率2:=(止损价1-c)/c*100;
pbxhh:=(expma(h,2)+ema(h,2*2)+ema(h,2*4))/3,colorgreen,linethick1;
pbxll:=(expma(l,2)+ema(l,2*2)+ema(l,2*4))/3,colorred,linethick1;
pbx高:=ref(pbxhh,1),colorgreen,linethick1;
pbx低:=ref(pbxll,1),colorred,linethick1;
pmx差:=pbx高-pbx低;
起爆止盈价:=pbx高+pmx差*2,colorwhite,linethick1;
起爆获利率:=(起爆止盈价-pbx高)/pbx高*100;
起爆止损价:=pbx低-pmx差*0.7,colorwhite;
起爆止损率:=(起爆止损价-pbx高)/pbx高*100;
drawtext_fix(1,0,0,0,'【大盘人气】:'),coloryellow;
drawnumber_fix(1,0.07,0,0,const(今日人气)),coloryellow;
drawtext_fix(1,0,0.07,0,'【上涨家数】:'),coloryellow;
drawnumber_fix(1,0.07,0.07,0,const(上涨家数)),coloryellow;
drawtext_fix(1,0,0.14,0,'【下跌家数】:'),coloryellow;
drawnumber_fix(1,0.07,0.14,0,const(下跌家数)),coloryellow;
{drawtext_fix(1,0.1,0,0,'【量比】:'),colorred;
drawnumber_fix(1,0.145,0,0,const(虚拟量比)),colorred;}
drawtext_fix(1,0,0.21,0,'【ddx】:'),colormagenta;
drawnumber_fix(1,0.07,0.21,0,const(大单动向)),colormagenta;
drawtext_fix(1,0,0.28,0,'【ddy】:'),colormagenta;
drawnumber_fix(1,0.07,0.28,0,const(涨跌动因)),colormagenta;
drawtext_fix(1,0,0.35,0,'【ddz】:'),colormagenta;
drawnumber_fix(1,0.07,0.35,0,const(大单差分)),colormagenta;
drawtext_fix(1,0,0.42,0,'【资金流】:'),colormagenta;
drawnumber_fix(1,0.07,0.42,0,const(资金流向)),colormagenta;
drawtext_fix(1,0,0.49,0,'【资金比】:'),colormagenta;
drawnumber_fix(1,0.07,0.49,0,const(资金比)),colormagenta;
drawtext_fix(1,0,0.58,0,'【大单比】:'),colormagenta;
drawnumber_fix(1,0.07,0.58,0,const(大单比)),colormagenta;
drawtext_fix(1,0,0.65,0,'【超大单比】:'),colormagenta;
drawnumber_fix(1,0.07,0.65,0,const(超大单比)),colormagenta;
drawtext_fix(1,0,0.72,0,'【主力资金】:'),colormagenta;
drawnumber_fix(1,0.07,0.72,0,const(主力净流入)),colormagenta;
drawtext_fix(1,0.15,0,0,'【红军起爆点选股操作】'),colorcyan;
drawtext_fix(1,0.15,0.07,0,'【止盈价】:'),colorcyan;
drawnumber_fix(1,0.21,0.07,0,const(起爆止盈价)),colorcyan;
drawtext_fix(1,0.15,0.14,0,'【止盈率】:'),colorcyan;
drawnumber_fix(1,0.21,0.14,0,const(起爆获利率)),colorcyan;
drawtext_fix(1,0.15,0.21,0,'【止损价】:'),colorcyan;
drawnumber_fix(1,0.21,0.21,0,const(起爆止损价)),colorcyan;
drawtext_fix(1,0.15,0.28,0,'【止损率】:'),colorcyan;
drawnumber_fix(1,0.21,0.28,0,const(起爆止损率)),colorcyan;
drawtext_fix(1,0.15,0.35,0,'【红军牛股猎杀选股操作】'),coloryellow;
drawtext_fix(1,0.15,0.42,0,'【止盈价】:'),coloryellow;
drawnumber_fix(1,0.22,0.42,0,const(止盈价)),coloryellow;
drawtext_fix(1,0.15,0.49,0,'【盈利率】:'),coloryellow;
drawnumber_fix(1,0.22,0.49,0,const(获利率)),coloryellow;
drawtext_fix(1,0.15,0.56,0,'【止损价】:'),coloryellow;
drawnumber_fix(1,0.22,0.56,0,const(止损价)),coloryellow;
drawtext_fix(1,0.15,0.63,0,'【止损率】:'),coloryellow;
drawnumber_fix(1,0.22,0.63,0,const(止损率)),coloryellow;
drawtext_fix(1,0.15,0.70,0,'【红军今买明卖选股操作】'),colorwhite;
drawtext_fix(1,0.15,0.76,0,'【止盈价】:'),colorwhite;
drawnumber_fix(1,0.22,0.76,0,const(止盈价1)),colorwhite;
drawtext_fix(1,0.15,0.82,0,'【止盈率】:'),colorwhite;
drawnumber_fix(1,0.22,0.82,0,const(获利率2)),colorwhite;
drawtext_fix(1,0.15,0.88,0,'【止损价】:'),colorwhite;
drawnumber_fix(1,0.22,0.88,0,const(止损价1)),colorwhite;
drawtext_fix(1,0.15,0.98,0,'【止损率】:'),colorwhite;
drawnumber_fix(1,0.22,0.98,0,const(止损率2)),colorwhite;
drawtext_fix(1,0,0.79,0,'【波段顶阻力位】:'),colorgreen;
drawnumber_fix(1,0.10,0.79,0,const(波段高)),colorgreen;
drawtext_fix(1,0,0.86,0,'【波段底支撑位】:'),colorred;
drawnumber_fix(1,0.10,0.86,0,const(波段低)),colorred;
上一指标公式:MACD彩柱指标详解 通达信指标
下一指标公式:能够看清波段的变色k线——明白k线详解 通达信变色看清
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文狙击量能——自用成交量详解 通达信自用成交量仅供学习研究。