公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 大智慧公式 > 正文 → 正文

盘中数据之一(日常数据)【大智慧】分时图付图

发布时间:2010/1/14 7:35:24  浏览次数:

好久以来,一直想编写一个在盘中能够定时显示我要的一组数据,并且定格,不再随行情变化。这样做的好处是可以看到整个开盘4个小时里不同阶段行情的变化,以便自己判断和决策。
现在大家看到的盘中数据指标,是在一发千钧老师反复帮助下,才得以完成的,在此向一发千钧老师表示衷心地感谢!
盘中数据这个指标的关键核心是盘中定时显示数据,并且定格,不再随行情变化。这个关键核心是由一发千钧老师提供的。
这个指标只是在盘中定时显示最初步的日常数据,有了这个指标作为模型,我们想要的其它数据都可以利用这个模型来套用,我会在盘中数据之二中向大家介绍我的另一个盘中数据指标。
如果你喜欢就拿去用,如果你发现指标有什么不足欢迎你指教!
以下有源代码、有导出的指标(指标不设密码)和图片。
一、盘中引用
指标名称:盘中引用
指标源代码:
 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. 换手率:sum(vol,0)/CAPITAL;   
  2. 成交额:sum(AMOUNT/10000,0);   
  3. 外盘:sum(if(BUYVOL>0,vol,0),0);   
  4. 内盘:sum(if(SELLVOL>0,vol,0),0);   
  5. 涨跌幅:(c/DYNAINFO(3)-1)*100;  



二、盘中数据
指标名称:盘中数据
指标源代码:

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. DRAWRECTABS(805 ,10 ,842 ,47 ,0),LINETHICK4,COLOR6600FF;   
  2. DRAWTEXTABS(810 ,15,'提沙'),LINETHICK2,COLOR6600FF;   
  3. DRAWTEXTABS(810 ,28,'印吾'),LINETHICK2,COLOR6600FF;   
  4.   
  5. DRAWTEXTABS(310,3,'盘中各时段数据'),COLOR00FFFF,LINETHICK4;   
  6.   
  7. DRAWRECTABS( 1,28 ,780 ,175 ,RGB(0,50,50) ),COLORFFFFFF;   
  8.   
  9. DRAWTEXTABS(10,37,''+STKNAME+'('+STKLABEL+')'),COLORFFFF80,LINETHICK2;   
  10. DRAWTEXTABS(20,55,'最 新 价(元)'),COLOR0066FF,LINETHICK2;   
  11. DRAWTEXTABS(20,75,'换 手 率(%)'),COLORFF00FF,LINETHICK2;   
  12. DRAWTEXTABS(20,95,'成  交(亿元)'),COLOR6633FF,LINETHICK2;   
  13. DRAWTEXTABS(20,115,'外  盘(万手)'),COLOR0099FF,LINETHICK2;   
  14. DRAWTEXTABS(20,135,'内  盘(万手)'),COLOR00FFFF,LINETHICK2;   
  15. DRAWTEXTABS(20,155,'涨 跌 幅(%)'),COLORFFFFFF,LINETHICK2;   
  16.   
  17. DRAWTEXTABS(150,35,'10   点'),COLORFFFFFF,LINETHICK2;   
  18. DRAWTEXTABS(230,35,'10 点 半'),COLORFFFFFF,LINETHICK2;   
  19. DRAWTEXTABS(310,35,'11   点'),COLORFFFFFF,LINETHICK2;   
  20. DRAWTEXTABS(390,35,'11 点 半'),COLORFFFFFF,LINETHICK2;   
  21. DRAWTEXTABS(470,35,'13 点 半'),COLORFFFFFF,LINETHICK2;   
  22. DRAWTEXTABS(550,35,'14   点'),COLORFFFFFF,LINETHICK2;   
  23. DRAWTEXTABS(630,35,'14 点 半'),COLORFFFFFF,LINETHICK2;   
  24. DRAWTEXTABS(710,35,'当    前'),COLORFFFFFF,LINETHICK2;   
  25.   
  26. HSL:="盘中引用.换手率#tick";   
  27. CJE:="盘中引用.成交额#tick";   
  28. WP:="盘中引用.外盘#tick";   
  29. NP:="盘中引用.内盘#tick";   
  30. ZDF:="盘中引用.涨跌幅#tick";   
  31.   
  32. DRAWTEXTABS(145,55,STRRIGHT('   '+NUMTOSTRN(REF(C,BARSLAST(TIME>095959 AND TIME<=100000)),2),7)),COLOR3300FF,LINETHICK2;   
  33. DRAWTEXTABS(145,75,STRRIGHT('   '+NUMTOSTRN(REF(HSL*100,BARSLAST(TIME>095959 AND TIME<=100000)),2),7)),COLORFF00FF,LINETHICK2;   
  34. DRAWTEXTABS(145,95,STRRIGHT('   '+NUMTOSTRN(REF(CJE,BARSLAST(TIME>095959 AND TIME<=100000))/100000000,2),7)),COLOR6633FF,LINETHICK2;   
  35. DRAWTEXTABS(145,115,STRRIGHT('   '+NUMTOSTRN(REF(WP/10000,BARSLAST(TIME>095959 AND TIME<=100000)),2),7)),COLOR0099FF,LINETHICK2;   
  36. DRAWTEXTABS(145,135,STRRIGHT('   '+NUMTOSTRN(REF(NP/10000,BARSLAST(TIME>095959 AND TIME<=100000)),2),7)),COLOR00FFFF,LINETHICK2;   
  37. DRAWTEXTABS(145,155,STRRIGHT('    '+NUMTOSTRN(REF(ZDF,BARSLAST(TIME>095959 AND TIME<=100000)),2),7)),COLORFFFFFF,LINETHICK2;   
  38.   
  39. DRAWTEXTABS(225,55,STRRIGHT('   '+NUMTOSTRN(REF(C,BARSLAST(TIME>102959 AND TIME<=103000)),2),7)),COLOR3300FF,LINETHICK2;   
  40. DRAWTEXTABS(225,75,STRRIGHT('   '+NUMTOSTRN(REF(HSL*100,BARSLAST(TIME>102959 AND TIME<=103000)),2),7)),COLORFF00FF,LINETHICK2;   
  41. DRAWTEXTABS(225,95,STRRIGHT('   '+NUMTOSTRN(REF(CJE,BARSLAST(TIME>102959 AND TIME<=103000))/100000000,2),7)),COLOR6633FF,LINETHICK2;   
  42. DRAWTEXTABS(225,115,STRRIGHT('   '+NUMTOSTRN(REF(WP/10000,BARSLAST(TIME>102959 AND TIME<=103000)),2),7)),COLOR0099FF,LINETHICK2;   
  43. DRAWTEXTABS(225,135,STRRIGHT('   '+NUMTOSTRN(REF(NP/10000,BARSLAST(TIME>102959 AND TIME<=103000)),2),7)),COLOR00FFFF,LINETHICK2;   
  44. DRAWTEXTABS(225,155,STRRIGHT('   '+NUMTOSTRN(REF(ZDF,BARSLAST(TIME>102959 AND TIME<=103000)),2),7)),COLORFFFFFF,LINETHICK2;   
  45.   
  46. DRAWTEXTABS(305,55,STRRIGHT('   '+NUMTOSTRN(REF(C,BARSLAST(TIME>105959 AND TIME<=110000)),2),7)),COLOR3300FF,LINETHICK2;   
  47. DRAWTEXTABS(305,75,STRRIGHT('   '+NUMTOSTRN(REF(HSL*100,BARSLAST(TIME>105959 AND TIME<=110000)),2),7)),COLORFF00FF,LINETHICK2;   
  48. DRAWTEXTABS(305,95,STRRIGHT('   '+NUMTOSTRN(REF(CJE,BARSLAST(TIME>105959 AND TIME<=110000))/100000000,2),7)),COLOR6633FF,LINETHICK2;   
  49. DRAWTEXTABS(305,115,STRRIGHT('   '+NUMTOSTRN(REF(WP/10000,BARSLAST(TIME>105959 AND TIME<=110000)),2),7)),COLOR0099FF,LINETHICK2;   
  50. DRAWTEXTABS(305,135,STRRIGHT('   '+NUMTOSTRN(REF(NP/10000,BARSLAST(TIME>105959 AND TIME<=110000)),2),7)),COLOR00FFFF,LINETHICK2;   
  51. DRAWTEXTABS(305,155,STRRIGHT('   '+NUMTOSTRN(REF(ZDF,BARSLAST(TIME>105959 AND TIME<=110000)),2),7)),COLORFFFFFF,LINETHICK2;   
  52.   
  53. DRAWTEXTABS(385,55,STRRIGHT('   '+NUMTOSTRN(REF(C,BARSLAST(TIME>112959 AND TIME<=113000)),2),7)),COLOR3300FF,LINETHICK2;   
  54. DRAWTEXTABS(385,75,STRRIGHT('   '+NUMTOSTRN(REF(HSL*100,BARSLAST(TIME>112959 AND TIME<=113000)),2),7)),COLORFF00FF,LINETHICK2;   
  55. DRAWTEXTABS(385,95,STRRIGHT('   '+NUMTOSTRN(REF(CJE,BARSLAST(TIME>112959 AND TIME<=113000))/100000000,2),7)),COLOR6633FF,LINETHICK2;   
  56. DRAWTEXTABS(385,115,STRRIGHT('   '+NUMTOSTRN(REF(WP/10000,BARSLAST(TIME>112959 AND TIME<=113000)),2),7)),COLOR0099FF,LINETHICK2;   
  57. DRAWTEXTABS(385,135,STRRIGHT('   '+NUMTOSTRN(REF(NP/10000,BARSLAST(TIME>112959 AND TIME<=113000)),2),7)),COLOR00FFFF,LINETHICK2;   
  58. DRAWTEXTABS(385,155,STRRIGHT('  '+NUMTOSTRN(REF(ZDF,BARSLAST(TIME>112959 AND TIME<=113000)),2),7)),COLORFFFFFF,LINETHICK2;   
  59.   
  60. DRAWTEXTABS(465,55,STRRIGHT('   '+NUMTOSTRN(REF(C,BARSLAST(TIME>132959 AND TIME<=133000)),2),7)),COLOR3300FF,LINETHICK2;   
  61. DRAWTEXTABS(465,75,STRRIGHT('   '+NUMTOSTRN(REF(HSL*100,BARSLAST(TIME>132959 AND TIME<=133000)),2),7)),COLORFF00FF,LINETHICK2;   
  62. DRAWTEXTABS(465,95,STRRIGHT('   '+NUMTOSTRN(REF(CJE,BARSLAST(TIME>132959 AND TIME<=133000))/100000000,2),7)),COLOR6633FF,LINETHICK2;   
  63. DRAWTEXTABS(465,115,STRRIGHT('   '+NUMTOSTRN(REF(WP/10000,BARSLAST(TIME>132959 AND TIME<=133000)),2),7)),COLOR0099FF,LINETHICK2;   
  64. DRAWTEXTABS(465,135,STRRIGHT('   '+NUMTOSTRN(REF(NP/10000,BARSLAST(TIME>132959 AND TIME<=133000)),2),7)),COLOR00FFFF,LINETHICK2;   
  65. DRAWTEXTABS(465,155,STRRIGHT('  '+NUMTOSTRN(REF(ZDF,BARSLAST(TIME>132959 AND TIME<=133000)),2),7)),COLORFFFFFF,LINETHICK2;   
  66.   
  67. DRAWTEXTABS(545,55,STRRIGHT('   '+NUMTOSTRN(REF(C,BARSLAST(TIME>135959 AND TIME<=140000)),2),7)),COLOR3300FF,LINETHICK2;   
  68. DRAWTEXTABS(545,75,STRRIGHT('   '+NUMTOSTRN(REF(HSL*100,BARSLAST(TIME>135959 AND TIME<=140000)),2),7)),COLORFF00FF,LINETHICK2;   
  69. DRAWTEXTABS(545,95,STRRIGHT('   '+NUMTOSTRN(REF(CJE,BARSLAST(TIME>135959 AND TIME<=140000))/100000000,2),7)),COLOR6633FF,LINETHICK2;   
  70. DRAWTEXTABS(545,115,STRRIGHT('   '+NUMTOSTRN(REF(WP/10000,BARSLAST(TIME>135959 AND TIME<=140000)),2),7)),COLOR0099FF,LINETHICK2;   
  71. DRAWTEXTABS(545,135,STRRIGHT('   '+NUMTOSTRN(REF(NP/10000,BARSLAST(TIME>135959 AND TIME<=140000)),2),7)),COLOR00FFFF,LINETHICK2;   
  72. DRAWTEXTABS(545,155,STRRIGHT('  '+NUMTOSTRN(REF(ZDF,BARSLAST(TIME>135959 AND TIME<=140000)),2),7)),COLORFFFFFF,LINETHICK2;   
  73.   
  74. DRAWTEXTABS(625,55,STRRIGHT('   '+NUMTOSTRN(REF(C,BARSLAST(TIME>142959 AND TIME<=143000)),2),7)),COLOR3300FF,LINETHICK2;   
  75. DRAWTEXTABS(625,75,STRRIGHT('   '+NUMTOSTRN(REF(HSL*100,BARSLAST(TIME>142959 AND TIME<=143000)),2),7)),COLORFF00FF,LINETHICK2;   
  76. DRAWTEXTABS(625,95,STRRIGHT('   '+NUMTOSTRN(REF(CJE,BARSLAST(TIME>142959 AND TIME<=143000))/100000000,2),7)),COLOR6633FF,LINETHICK2;   
  77. DRAWTEXTABS(625,115,STRRIGHT('   '+NUMTOSTRN(REF(WP/10000,BARSLAST(TIME>142959 AND TIME<=143000)),2),7)),COLOR0099FF,LINETHICK2;   
  78. DRAWTEXTABS(625,135,STRRIGHT('   '+NUMTOSTRN(REF(NP/10000,BARSLAST(TIME>142959 AND TIME<=143000)),2),7)),COLOR00FFFF,LINETHICK2;   
  79. DRAWTEXTABS(625,155,STRRIGHT('  '+NUMTOSTRN(REF(ZDF,BARSLAST(TIME>142959 AND TIME<=143000)),2),7)),COLORFFFFFF,LINETHICK2;   
  80.   
  81. DRAWTEXTABS(705,55,STRRIGHT('   '+NUMTOSTRN(C,2),7)),COLOR3300FF,LINETHICK2;   
  82. DRAWTEXTABS(705,75,STRRIGHT('   '+NUMTOSTRN(HSL*100,2),7)),COLORFF00FF,LINETHICK2;   
  83. DRAWTEXTABS(705,95,STRRIGHT('   '+NUMTOSTRN(CJE/100000000,2),7)),COLOR6633FF,LINETHICK2;   
  84. DRAWTEXTABS(705,115,STRRIGHT('   '+NUMTOSTRN(WP/10000,2),7)),COLOR0099FF,LINETHICK2;   
  85. DRAWTEXTABS(705,135,STRRIGHT('   '+NUMTOSTRN(NP/10000,2),7)),COLOR00FFFF,LINETHICK2;   
  86. DRAWTEXTABS(705,155,STRRIGHT('   '+NUMTOSTRN(ZDF,2),7)),COLORFFFFFF,LINETHICK2;  

资源下载链接   资源大小:3KB

关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识