基本面主图指标,分享通达信源码。含带贴图。不曾加密源码下载:
mid : ma(close,26);
upper: mid + 2*std(close,26);
lower: mid - 2*std(close,26);
{-------------------------------------------------立体k线-----------------------------------------------}
stickline(c>=o,c,o,3.4,0),color0000aa;
stickline(c>=o,c,o,3.0,0),color0000bb ;
stickline(c>=o,c,o,2.4,0),color0000cc;
stickline(c>=o,c,o,2.0,0),color0000dd ;
stickline(c>=o,c,o,1.6,0),color0000ee;
stickline(c>=o,c,o,1.2,0),color0000ff;
stickline(c>=o,c,o,0.6,0),color0000ff;
stickline(c>=o,h,l,0,0),colorred;
stickline(c<=o,c,o,3.4,0),coloraaaa00;
stickline(c<=o,c,o,3.0,0),colorbbbb00;
stickline(c<=o,c,o,2.4,0),colorcccc00;
stickline(c<=o,c,o,2.0,0),colordddd00;
stickline(c<=o,c,o,1.6,0),coloreeee00;
stickline(c<=o,c,o,1.2,0),colorffff00;
stickline(c<=o,c,o,0.6,0),colorffff00;
stickline(c<=o,h,l,0,0),colorffff00;
{-------------------------------------------------基本面----------------------------------------------}
{距形}
drawrectrel(0,0,378,348,rgb(0,32,64));
{基本资料}
品种类型:=finance(3);
所属板块:=hyblock;
上市天数:=finance(42);
股总市值:=round(finance(41)/100000000);
流通市值:=round(finance(40)/100000000);
股东人数:=finance(8);
人均持股:=round(finance(7)/finance(8));
{}
drawtext_fix(1,0.008,0.01,0,'基本资料:'),colorliblue;
drawtext_fix(1,0.008,0.05,0,'品种类型:'),colorligreen;
drawtext_fix(1,0.008,0.09,0,'行业板块:'),colorligreen;
drawtext_fix(1,0.008,0.13,0,'上市天数:'),colorligreen;
drawtext_fix(1,0.008,0.17,0,'股东人数:'),colorligreen;
drawtext_fix(1,0.008,0.21,0,'人均持股:'),colorligreen;
{}
drawtext_fix(品种类型=1,0.055,0.05,0,'沪 深 a 股'),coloryellow;
drawtext_fix(品种类型=2,0.055,0.05,0,' 中 小 板'),coloryellow;
drawtext_fix(品种类型=3,0.055,0.05,0,' 创 业 板'),coloryellow;
drawtext_fix(1,0.055,0.09,0,hyblock),coloryellow;{行业板块}
{数值}
drawnumber_fix(1,0.050,0.13,0,上市天数),colorcyan;
drawnumber_fix(1,0.050,0.17,0,股东人数),colorcyan;
drawnumber_fix(1,0.050,0.21,0,人均持股),colorcyan;
{单位}
drawtext_fix(1,0.08,0.13,0,'天'),colorwhite;
drawtext_fix(1,0.08,0.17,0,'人'),colorwhite;
drawtext_fix(1,0.08,0.21,0,'股'),colorwhite;
{所属板块}
drawtext_fix(1,0.008,0.25,0,'地区板块:')colorligreen;
drawtext_fix(1,0.048,0.25,0,dyblock)colorcyan;
drawtext_fix(1,0.095,0.25,0,'概念板块:')colorligreen;
{好公式网-最好的股票公式网站 www.goodgongshi.com}
drawtext_fix(1,0.135,0.25,0,gnblock)colorcyan;
drawtext_fix(1,0.008,0.29,0,'风格板块:')colorligreen;
drawtext_fix(1,0.048,0.29,0,fgblock)colorcyan;
{财务(1)}
净资收益率:=(finance(33)/finance(34)*100);
主营利润率:=(finance(23)/finance(20)*100);
现金负债比:=(finance(25)/finance(15));
主营收入同比%:=finance(44);{主营收入同比增长率}
净利润同比%:=finance(43);{净利润同比增长率}
{}
drawtext_fix(1,0.105,0.01,0,'财务资料(1):'),colorliblue;
drawtext_fix(1,0.105,0.05,0,'净资产收益率:'),colorligreen;
drawtext_fix(1,0.105,0.09,0,'主营业务利润率:'),colorligreen;
drawtext_fix(1,0.105,0.13,0,'现金流动负债比:'),colorligreen;
drawtext_fix(1,0.105,0.17,0,'主营收入同比%:'),colorligreen;
drawtext_fix(1,0.105,0.21,0,'净利润同比%:'),colorligreen;
{}
drawnumber_fix(1,0.171,0.05,0,净资收益率),colorcyan;
drawnumber_fix(1,0.171,0.09,0,主营利润率),colorcyan;
drawnumber_fix(1,0.171,0.13,0,现金负债比),colorcyan;
drawnumber_fix(1,0.171,0.17,0,主营收入同比%),colorcyan;
drawnumber_fix(1,0.171,0.21,0,净利润同比%),colorcyan;
{财务(2)}
每股收益:=const(finance(38));{近期}{每股税后利润}
每股收益年:=const(finance(33));
每股净资产:=const(finance(34));
每股现金流:=const((finance(25)/finance(1)));
每股未分配:=const(finance(32));
每股公积金:=const(finance(18));
{}
drawtext_fix(1,0.210,0.01,0,'财务资料(2):'),colorliblue;
drawtext_fix(1,0.210,0.05,0,'每股收益(近):'),colorligreen;
drawtext_fix(1,0.210,0.09,0,'每股收益年:'),colorligreen;
drawtext_fix(1,0.210,0.13,0,'每股净资产:'),colorligreen;
drawtext_fix(1,0.210,0.17,0,'每股未分配:'),colorligreen;
drawtext_fix(1,0.210,0.21,0,'每股公积金:'),colorligreen;
{}
drawnumber_fix(1,0.281,0.05,1,每股收益),colorcyan;
drawnumber_fix(1,0.281,0.09,1,每股收益年),colorcyan;
drawnumber_fix(1,0.281,0.13,1,每股净资产),colorcyan;
drawnumber_fix(1,0.281,0.17,1,每股未分配),colorcyan;
drawnumber_fix(1,0.281,0.21,1,每股公积金),colorcyan;
{}
{财务(3)}
市盈率:=dynainfo(39);
市销率:=const(finance(1)*dynainfo(7)/finance(20));
市净率:=const(dynainfo(7) / finance(34));
毛利率:=((finance(20)-finance(21))/finance(20)*100);
净利润率:=const(finance(30)/finance(20));
{}
drawtext_fix(1,0.300,0.01,0,'财务资料(3):'),colorliblue;
drawtext_fix(1,0.300,0.05,0,'市盈率:'),colorligreen;
drawtext_fix(1,0.300,0.09,0,'市销率:'),colorligreen;
drawtext_fix(1,0.300,0.13,0,'市净率:'),colorligreen;
drawtext_fix(1,0.300,0.17,0,'毛利率:'),colorligreen;
drawtext_fix(1,0.300,0.21,0,'净利润率:'),colorligreen;
{}
drawnumber_fix(1,0.361,0.05,1,市盈率),colorcyan;
drawnumber_fix(1,0.361,0.09,1,市销率),colorcyan;
drawnumber_fix(1,0.361,0.13,1,市净率),colorcyan;
drawnumber_fix(1,0.361,0.17,1,毛利率),colorcyan;
drawnumber_fix(1,0.361,0.21,1,净利润率),colorcyan;
{-----------------------------------------------------------------------------------------------------}
{-----------------------------------------------------------------------------------------------------};
{资金突破}
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
z1:=ref(high,4)=hhv(high,2*4+1);
y1:=filter(z1,3);
c1:=backset(y1,3+1);
d1:=filter(c1,3);
a2:=ref(low,3)=llv(low,2*3+1);
v2:=filter(a2,3);
c2:=backset(v2,3+1);
d2:=filter(c2,3);
e1:=(ref(llv(low,2*3),1)+ref(hhv(high,2*3),1))/2;
e2:=(high+low)/2;
h1:=(d1 and not(d2 and e1>=e2)) or islastbar=1 or barscount(close)=1;
h2:=d1 and not(d2 and e1>=e2);
l1:=d2 and not(d1 and e1=e2);
x1:=ref(barslast(h1),1)+1;
drawtext_fix(currbarscount=60,0.4,0.01,0,''),colorgreen;
f1:=backset(h1 and count(l1,x1)>0,llvbars(if(l1,low,10000),x1));
g1:=f1>ref(f1,1);
i1:=backset(g1,2);
ld:=i1>ref(i1,1);
l2:=ld or islastbar=1 or barscount(close)=1;
x2:=ref(barslast(l2),1)+1;
f2:=backset(l2 and count(h2,x2)>0,hhvbars(if(h2,high,0),x2));
g2:=f2>ref(f2,1);
i2:=backset(g2,2);
hd:=i2>ref(i2,1);
uu2:=backset(islastbar=1,barslast(hd)+1);
vv2:=uu2>ref(uu2,1);
ww2:=backset(vv2,ref(barslast(hd),1)+2);
xx2:=ww2>ref(ww2,1);
突破线:ref(h,barslast(vv2));
持仓线:ref(h,barslast(xx2));
tp1:=cross(c,突破线);
tp2:=cross(c,持仓线);
drawtext(tp1,0,' 突破突破线'),linethick1,coloryellow;
drawicon(tp1,c,1);
drawtext(tp2,o,' 突破持仓线'),linethick1,coloryellow;
drawicon(tp2,c,3);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文基本面主图指标,分享通达信源码。含带贴图。不曾加密下载仅供学习研究。