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

资金明细图 (源码)

发布时间:2010/5/21 6:59:36  浏览次数:

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. VAR0:=REF(AMOUNT,3)/10000/10000;   
  2. VAR1:=REF(AMOUNT,4)/10000/10000;   
  3. VAR2:=REF(AMOUNT,2)/10000/10000;   
  4. VAR3:=REF(AMOUNT,1)/10000/10000;   
  5. VAR4:=AMOUNT/10000/10000;   
  6. DRAWTEXTABS(16,8,'统计分类'),COLORWHITE;   
  7. VAR5:=AMOUNT * BIGORDER(1,3);   
  8. VAR6:=AMOUNT * (BIGORDER(1,2) - BIGORDER(1,3));   
  9. VAR7:=AMOUNT * (BIGORDER(1,1) - BIGORDER(1,2));   
  10. VAR8:=AMOUNT * (1 - BIGORDER(1,1));   
  11. VAR9:=VAR5 + VAR6 + VAR7 + VAR8;   
  12. VAR10:=AMOUNT * BIGORDER(2,3);   
  13. VAR11:=AMOUNT * (BIGORDER(2,2) - BIGORDER(2,3));   
  14. VAR12:=AMOUNT * (BIGORDER(2,1) - BIGORDER(2,2));   
  15. VAR13:=AMOUNT * (1 - BIGORDER(2,1));   
  16. VAR14:=(BIGORDER(1,2) - BIGORDER(2,2)) * VOL/CAPITAL * 100;   
  17. VAR15:=BIGORDER(1,2) * AMOUNT/10000;   
  18. VAR16:=BIGORDER(2,2) * AMOUNT/10000;   
  19. 主力流入净量:VAR15 - VAR16,LINETHICK0,COLOR00AAFF;   
  20. VAR17:=REF(VAR15,0);   
  21. VAR18:=REF(VAR15,1);   
  22. VAR19:=REF(VAR15,2);   
  23. VAR20:=REF(VAR15,3);   
  24. VAR21:=REF(VAR15,5);    
  25.   
  26.   
  27.   
  28. VAR22:=REF(VAR16,0);   
  29. VAR23:=REF(VAR16,1);   
  30. VAR24:=REF(VAR16,2);   
  31. VAR25:=REF(VAR16,3);   
  32. VAR26:=REF(VAR16,4);   
  33. DRAWTEXTABS(8,35,'主 力 账 户'),COLORWHITE;   
  34. DRAWTEXTABS(8,60,'超 大 账 户'),COLORWHITE;   
  35. DRAWTEXTABS(8,85,'大 户 账 户'),COLORWHITE;   
  36. DRAWTEXTABS(8,110,'中 户 账 户'),COLORWHITE;   
  37. DRAWTEXTABS(8,135,'散 户 账 户'),COLORWHITE;   
  38. DRAWTEXTABS(5,165,'股价涨幅(%)'),COLORWHITE;   
  39. DRAWTEXTABS(16,190,'' + STKNAME + ''),COLORWHITE;   
  40. DRAWTEXTABS(78,190,'' + STKLABEL + ''),COLORRED;   
  41. VAR27:=BKNAME;   
  42. VAR28:='                 板块类别: ' + VAR27;   
  43. DRAWTEXTABS(140,190,VAR28),COLORWHITE;   
  44. DRAWTEXTABS(515,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,2) + ''),COLORWHITE;   
  45. DRAWTEXTABS(625,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,3) + ''),COLORWHITE;   
  46. DRAWTEXTABS(735,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,4) + ''),COLORWHITE;    
  47. DRAWTEXTABS(845,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,5) + ''),COLORWHITE;   
  48. DRAWTEXTABS(515,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,2) + ''),COLORWHITE;   
  49. DRAWTEXTABS(625,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,3) + ''),COLORWHITE;   
  50. DRAWTEXTABS(735,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,4) + ''),COLORWHITE;   
  51. DRAWTEXTABS(845,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,5) + ''),COLORWHITE;   
  52. DRAWTEXTABS(515,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,2) + ''),COLORWHITE;   
  53. DRAWTEXTABS(625,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,3) + ''),COLORWHITE;   
  54. DRAWTEXTABS(735,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,4) + ''),COLORWHITE;   
  55. DRAWTEXTABS(845,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,5) + ''),COLORWHITE;   
  56. DRAWTEXTABS(515,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,2) + ''),COLORWHITE;   
  57. DRAWTEXTABS(625,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,3) + ''),COLORWHITE;   
  58. DRAWTEXTABS(735,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,4) + ''),COLORWHITE;   
  59. DRAWTEXTABS(845,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,5) + ''),COLORWHITE;    
  60. DRAWTEXTABS(515,35,'' + SUM(REF(VAR17 - VAR22,0),2) + ''),COLORWHITE;   
  61. DRAWTEXTABS(625,35,'' + SUM(REF(VAR17 - VAR22,0),3) + ''),COLORWHITE;   
  62. DRAWTEXTABS(735,35,'' + SUM(REF(VAR17 - VAR22,0),4) + ''),COLORWHITE;   
  63. DRAWTEXTABS(845,35,'' + SUM(REF(VAR17 - VAR22,0),5) + ''),COLORWHITE;   
  64. DRAWTEXTABS(485,8,'连续2日总计(万元)'),COLOR088FFF;   
  65. DRAWTEXTABS(705,8,'连续4日总计(万元)'),COLOR088FFF;   
  66. DRAWTEXTABS(595,8,'连续3日总计(万元)'),COLOR088FFF;   
  67. DRAWTEXTABS(815,8,'连续5日总计(万元)'),COLOR088FFF;   
  68. DRAWTEXTABS(502,163,'2日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,2) + '%'),COLORWHITE;   
  69. DRAWTEXTABS(612,163,'3日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,3) + '%'),COLORWHITE;   
  70. DRAWTEXTABS(722,163,'4日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,4) + '%'),COLORWHITE;   
  71. DRAWTEXTABS(832,163,'5日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,5) + '%'),COLORWHITE;   
  72. DRAWTEXTABS(385,60,'超大:' + NUMTOSTRN(REF(VAR5 - VAR10,0)/10000,0)),COLORWHITE;    
  73.   
  74.   
  75. DRAWTEXTABS(320,60,NUMTOSTRN(REF(VAR5 - VAR10,1)/10000,0)),COLORWHITE;   
  76. DRAWTEXTABS(220,60,NUMTOSTRN(REF(VAR5 - VAR10,2)/10000,0)),COLORWHITE;   
  77. DRAWTEXTABS(120,60,NUMTOSTRN(REF(VAR5 - VAR10,3)/10000,0)),COLORWHITE;   
  78. DRAWTEXTABS(385,85,'大户:' + NUMTOSTRN(REF(VAR6 - VAR11,0)/10000,0)),COLORWHITE;   
  79. DRAWTEXTABS(320,85,NUMTOSTRN(REF(VAR6 - VAR11,1)/10000,0)),COLORWHITE;   
  80. DRAWTEXTABS(220,85,NUMTOSTRN(REF(VAR6 - VAR11,2)/10000,0)),COLORWHITE;   
  81. DRAWTEXTABS(120,85,NUMTOSTRN(REF(VAR6 - VAR11,3)/10000,0)),COLORWHITE;   
  82. DRAWTEXTABS(385,110,'中户:' + NUMTOSTRN(REF(VAR7 - VAR12,0)/10000,0)),COLORWHITE;   
  83. DRAWTEXTABS(320,110,NUMTOSTRN(REF(VAR7 - VAR12,1)/10000,0)),COLORWHITE;   
  84. DRAWTEXTABS(220,110,NUMTOSTRN(REF(VAR7 - VAR12,2)/10000,0)),COLORWHITE;   
  85. DRAWTEXTABS(120,110,NUMTOSTRN(REF(VAR7 - VAR12,3)/10000,0)),COLORWHITE;   
  86. DRAWTEXTABS(385,135,'散户:' + NUMTOSTRN(REF(VAR8 - VAR13,0)/10000,0)),COLORWHITE;   
  87. DRAWTEXTABS(320,135,NUMTOSTRN(REF(VAR8 - VAR13,1)/10000,0)),COLORWHITE;    
  88.   
  89.   
  90.   
  91. DRAWTEXTABS(220,135,NUMTOSTRN(REF(VAR8 - VAR13,2)/10000,0)),COLORWHITE;   
  92. DRAWTEXTABS(120,135,NUMTOSTRN(REF(VAR8 - VAR13,3)/10000,0)),COLORWHITE;   
  93. DRAWTEXTABS(385,35,'主力:' + NUMTOSTRN(VAR17 - VAR22,0)),COLORWHITE;   
  94. DRAWTEXTABS(320,35,NUMTOSTRN(VAR18 - VAR23,0)),COLORWHITE;   
  95. DRAWTEXTABS(220,35,NUMTOSTRN(VAR19 - VAR24,0)),COLORWHITE;   
  96. DRAWTEXTABS(120,35,NUMTOSTRN(VAR20 - VAR25,0)),COLORWHITE;   
  97. DRAWTEXTABS(385,163,'涨幅:' + NUMTOSTRN((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,2) + '%'),COLORWHITE;   
  98. DRAWTEXTABS(315,163,NUMTOSTRN((REF(CLOSE,1) - REF(CLOSE,2))/REF(CLOSE,2) * 100,2) + '%'),COLORWHITE;   
  99. DRAWTEXTABS(215,163,NUMTOSTRN((REF(CLOSE,2) - REF(CLOSE,3))/REF(CLOSE,3) * 100,2) + '%'),COLORWHITE;   
  100. DRAWTEXTABS(115,163,NUMTOSTRN((REF(CLOSE,3) - REF(CLOSE,4))/REF(CLOSE,4) * 100,2) + '%'),COLORWHITE;   
  101. DRAWTEXTABS(83,8,'四日前净买(万元)'),COLOR088FFF;   
  102. DRAWTEXTABS(188,8,'前日净买(万元)'),COLOR088FFF;   
  103. DRAWTEXTABS(289,8,'昨日净买(万元)'),COLOR088FFF;    
  104.   
  105.   
  106. DRAWTEXTABS(389,8,'今日净买(万元)'),COLOR088FFF;   
  107. DRAWGBKLAST(1,STRIP(RGB(0,0,0),RGB(30,40,55),0));   
  108. DRAWRECTABS(0,0,920,210,0),COLOR777777;   
  109. DRAWRECTABS(79,155,920,185,2301560),COLOR777777;   
  110. DRAWRECTABS(0,25,920,156,3614750),COLOR777777;   
  111. DRAWRECTABS(0,79,920,105,3939930),COLOR777777;   
  112. DRAWRECTABS(379,25,480,156,10330),COLOR777777;   
  113. DRAWRECTABS(0,25,80,185,2626650),COLOR777777;   
  114. DRAWRECTABS(0,184,920,210,3614750),COLOR777777;   
  115. DRAWRECTABS(0,0,80,185,0),COLOR777777;   
  116. DRAWRECTABS(0,0,180,185,0),COLOR777777;   
  117. DRAWRECTABS(0,0,280,185,0),COLOR777777;   
  118. DRAWRECTABS(0,0,380,185,0),COLOR777777;   
  119. DRAWRECTABS(0,0,480,185,0),COLOR777777;   
  120. DRAWRECTABS(0,0,590,185,0),COLOR777777;   
  121. DRAWRECTABS(0,0,700,185,0),COLOR777777;   
  122. DRAWRECTABS(0,0,810,185,0),COLOR777777;   

 

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

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