通达信自编图表资金流副图源码

主力bbd:=(BIGORDER(1)-BIGORDER(2))*AMOUNT/10000;
超大bbd:=(BIGORDER(1,3)-BIGORDER(2,3))*AMOUNT/10000;
大户bbd:=主力bbd-超大bbd;
中户bbd:=(BIGORDER(1,1)-BIGORDER(2,1))*AMOUNT/10000-主力bbd;
散户bbd:=((1-BIGORDER(1,1))-(1-BIGORDER(2,1)))*AMOUNT/10000;
占比1:=(BIGORDER(1)-BIGORDER(2));
占比2:=(BIGORDER(1)-BIGORDER(2))*AMOUNT/(CAPITAL*c);
DRAWTEXTREL(15,710,'总股本:'+NUMTOSTRn(FINANCE2(35),0)+'万股' +' 流通A股:'+NUMTOSTRn(FINANCE2(37),0)+'万股'+' 每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+' 主营收入同比增长:'+NUMTOSTRN(FINANCE2(11),2)+'%'+' 净利润同比增长:'+NUMTOSTRN(FINANCE2(10),2)+'%'),Color0088FF;
DRAWTEXTREL(80,25,'  Superviiew资金流向'),ColorFFFF00,LINETHICK3;
DRAWTEXTREL(410,25,'    '+STKLABEL),ColorWHITE,LINETHICK3;
DRAWTEXTREL(310,25,'    '+STKNAME),ColorRED,LINETHICK3;
DRAWTEXTREL(550,30,' 所属版块: '+BKNAME),Color555FFF;
DRAWTEXTREL(115,99,'   日   期'),ColorRED;
DRAWTEXTREL(144,139,'月'+DAY),ColorEEFF00;
DRAWTEXTREL(125,139,'年'+MONTH),ColorEEFF00;
DRAWTEXTREL(95,139,' '+YEAR),ColorEEFF00;
DRAWTEXTREL(170,139,'日'),ColorEEFF00;

DRAWTEXTREL(115,189,'前一交易日  '),Color55FF55;
DRAWTEXTREL(115,239,'前二交易日'),Color55EE00;
DRAWTEXTREL(115,289,'前三交易日'),Color55FF00;
DRAWTEXTREL(115,339,'前四交易日'),Color55FF00;
DRAWTEXTREL(115,389,'SV 5日统计'),Color555FFF,LINETHICK2;
DRAWTEXTREL(115,439,'SV10日统计'),Color555FFF,LINETHICK2;
DRAWTEXTREL(115,489,'SV20日统计'),Color555FFF,LINETHICK2;

DRAWTEXTREL(245,99,'散户净流入(万元)'),Color555FFF;
DRAWTEXTREL(365,99,'中户净流入(万元)'),Color555FFF;
DRAWTEXTREL(485,99,'大户净流入(万元)'),Color555FFF;
DRAWTEXTREL(605,99,'超大户净流入(万元)'),Color555FFF;
DRAWTEXTREL(735,99,'主力净流入(万元)'),Color555FFF;
DRAWTEXTREL(875,99,'占总成交额比(%)'),Color555FFF;
DRAWTEXTREL(1000,99,'占流通市值比(%)'),Color555FFF;
DRAWTEXTREL(85,69,'────────────────────────────────────────────────────────────────────────────────────'),ColorRED;
DRAWTEXTREL(245,139,'    '+散户bbd),Color208FFF;
DRAWTEXTREL(365,139,'    '+中户bbd),Color208FFF;
DRAWTEXTREL(485,139,'    '+大户bbd),Color208FFF;
DRAWTEXTREL(605,139,'    '+超大bbd),Color208FFF;
DRAWTEXTREL(735,139,'    '+主力bbd),Color208FFF;
DRAWTEXTREL(875,139,'    '+占比1),Color208FFF;
DRAWTEXTREL(1000,139,'    '+占比2),Color208FFF;
DRAWTEXTREL(245,189,'    '+REF(散户bbd,1)),Color208FFF;
DRAWTEXTREL(365,189,'    '+REF(中户bbd,1)),Color208FFF;
DRAWTEXTREL(485,189,'    '+REF(大户bbd,1)),Color208FFF;
DRAWTEXTREL(605,189,'    '+REF(超大bbd,1)),Color208FFF;
DRAWTEXTREL(735,189,'    '+REF(主力bbd,1)),Color208FFF;
DRAWTEXTREL(875,189,'    '+REF(占比1,1)),Color208FFF;
DRAWTEXTREL(1000,189,'    '+REF(占比2,1)),Color208FFF;
DRAWTEXTREL(245,239,'    '+REF(散户bbd,2)),Color208FFF;
DRAWTEXTREL(365,239,'    '+REF(中户bbd,2)),Color208FFF;
DRAWTEXTREL(485,239,'    '+REF(大户bbd,2)),Color208FFF;
DRAWTEXTREL(605,239,'    '+REF(超大bbd,2)),Color208FFF;
DRAWTEXTREL(735,239,'    '+REF(主力bbd,2)),Color208FFF;
DRAWTEXTREL(875,239,'    '+REF(占比1,2)),Color208FFF;
DRAWTEXTREL(1000,239,'    '+REF(占比2,2)),Color208FFF;
DRAWTEXTREL(245,289,'    '+REF(散户bbd,3)),Color208FFF;
DRAWTEXTREL(365,289,'    '+REF(中户bbd,3)),Color208FFF;
DRAWTEXTREL(485,289,'    '+REF(大户bbd,3)),Color208FFF;
DRAWTEXTREL(605,289,'    '+REF(超大bbd,3)),Color208FFF;
DRAWTEXTREL(735,289,'    '+REF(主力bbd,3)),Color208FFF;
DRAWTEXTREL(875,289,'    '+REF(占比1,3)),Color208FFF;
DRAWTEXTREL(1000,289,'    '+REF(占比2,3)),Color208FFF;
DRAWTEXTREL(245,339,'    '+REF(散户bbd,4)),Color208FFF;
DRAWTEXTREL(365,339,'    '+REF(中户bbd,4)),Color208FFF;
DRAWTEXTREL(485,339,'    '+REF(大户bbd,4)),Color208FFF;
DRAWTEXTREL(605,339,'    '+REF(超大bbd,4)),Color208FFF;
DRAWTEXTREL(735,339,'    '+REF(主力bbd,4)),Color208FFF;
DRAWTEXTREL(875,339,'    '+REF(占比1,4)),Color208FFF;
DRAWTEXTREL(1000,339,'    '+REF(占比2,4)),Color208FFF;
DRAWTEXTREL(245,389,'    '+SUM(散户bbd,5)),Color208FFF;
DRAWTEXTREL(365,389,'    '+SUM(中户bbd,5)),Color208FFF;
DRAWTEXTREL(485,389,'    '+SUM(大户bbd,5)),Color208FFF;
DRAWTEXTREL(605,389,'    '+SUM(超大bbd,5)),Color208FFF;
DRAWTEXTREL(735,389,'    '+SUM(主力bbd,5)),Color208FFF;
DRAWTEXTREL(875,389,'    '+SUM(占比1,5)),Color208FFF;
DRAWTEXTREL(1000,389,'    '+SUM(占比2,5)),Color208FFF;
DRAWTEXTREL(245,439,'    '+SUM(散户bbd,10)),Color208FFF;
DRAWTEXTREL(365,439,'    '+SUM(中户bbd,10)),Color208FFF;
DRAWTEXTREL(485,439,'    '+SUM(大户bbd,10)),Color208FFF;
DRAWTEXTREL(605,439,'    '+SUM(超大bbd,10)),Color208FFF;
DRAWTEXTREL(735,439,'    '+SUM(主力bbd,10)),Color208FFF;
DRAWTEXTREL(875,439,'    '+SUM(占比1,10)),Color208FFF;
DRAWTEXTREL(1000,439,'    '+SUM(占比2,10)),Color208FFF;
DRAWTEXTREL(245,489,'    '+SUM(散户bbd,20)),Color208FFF;
DRAWTEXTREL(365,489,'    '+SUM(中户bbd,20)),Color208FFF;
DRAWTEXTREL(485,489,'    '+SUM(大户bbd,20)),Color208FFF;
DRAWTEXTREL(605,489,'    '+SUM(超大bbd,20)),Color208FFF;
DRAWTEXTREL(735,489,'    '+SUM(主力bbd,20)),Color208FFF;
DRAWTEXTREL(875,489,'    '+SUM(占比1,20)),Color208FFF;
DRAWTEXTREL(1000,489,'    '+SUM(占比2,20)),Color208FFF;
 



上一篇:通达信有庄家在吸货主图源码    下一篇:通达信股价底顶公式源码




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图