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

与SV大资金流向同步的分时资金监控副图,分时实时监控模板原码

发布时间:2009/9/19 8:59:21  浏览次数:
★本公式采用DZHL2中动态行情,特大买入,大单买入,中单买入及特大买出,大单买出,中单买出原理,故需L2行情支持,还望各位老师开发接口,让更多的
股民朋友可用,谢谢.
★感觉好,请加分,顶兄弟一把.由于我的模板比较乱,怕搞乱大家的模板,模板不发了.
★公式中实时流入,实时流出,实时净买是指实时1分钟结果,全套公式在公式中将相印的名称改一下,如'超大...'改'特大...'去掉主力....,可用于B股.
基金进行实时监控.

★提示:复制粘贴公式时看一下最后有没有复制时带的'........',否则通不过.
★为视觉关系我把DDX.....显示0,如要显示改1.(第一行).
与SV大资金流向同步的分时资金监控副图,分时实时监控模板原码
 
与SV大资金流向同步的分时资金监控副图,分时实时监控模板原码
 
C/C++ Code复制内容到剪贴板
  1. {动态主力-(主力分时资金实时观察)}   
  2. DDX:(ordervol(1,2)-ordervol(2,2)),COLORSTICK,LINETHICK0;   
  3. DDX累积:Sum(DDX,0);   
  4. ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;   
  5. ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;   
  6. ZLJM:=SUM(ZLLR-ZLLC,0);   
  7. 主力净买:ZLJM,LINETHICK0;   
  8. 合计流入:=SUM(ZLLR,0);   
  9. 合计流出:=SUM(ZLLC,0);   
  10. 实时流入:=SUM(ZLLR,5);   
  11. 实时流出:=SUM(ZLLC,5);   
  12. 实时净买:实时流入-实时流出,LINETHICK0;   
  13. DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3;   
  14. DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3;   
  15. DRAWTEXTABS(320,1,'主力净买:'+ NUMTOSTRN(主力净买,2)),COLORFFFFFF,LINETHICK5;   
  16. DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3;   
  17. DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3;   
  18. DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4;  




 
C/C++ Code复制内容到剪贴板
  1. {动态超大-(超大分时资金实时观察)}   
  2. DDX:(ORDERVOL(1,3)-ORDERVOL(2,3)),COLORSTICK,LINETHICK0;   
  3. DDX累积:Sum(DDX,0);   
  4. TDLR:=AMOUNT*DYNAINFO(95)/10000;   
  5. TDLC:=AMOUNT*DYNAINFO(98)/10000;   
  6. TDJM:=SUM(TDLR-TDLC,0);   
  7. 超大净买:TDJM,LINETHICK0;   
  8. 合计流入:=SUM(TDLR,0);   
  9. 合计流出:=SUM(TDLC,0);   
  10. 实时流入:=SUM(TDLR,1);   
  11. 实时流出:=SUM(TDLC,1);   
  12. 实时净买:实时流入-实时流出,LINETHICK0;   
  13. DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3;   
  14. DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3;   
  15. DRAWTEXTABS(320,1,'超大净买:'+ NUMTOSTRN(超大净买,2)),COLORFFFFFF,LINETHICK5;   
  16. DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3;   
  17. DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3;   
  18. DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4;  



 
C/C++ Code复制内容到剪贴板
  1. {动态大户-(大户分时资金实时观察)}   
  2. DDX:(ORDERVOL(1,2)-ORDERVOL(1,3))-(ORDERVOL(2,2)-ORDERVOL(2,3)),COLORSTICK,LINETHICK0;   
  3. DDX累积:Sum(DDX,0);   
  4. DDLR:=AMOUNT*DYNAINFO(94)/10000;   
  5. DDLC:=AMOUNT*DYNAINFO(97)/10000;   
  6. DDJM:=SUM(DDLR-DDLC,0);   
  7. 大户净买:DDJM,LINETHICK0;   
  8. 合计流入:=SUM(DDLR,0);   
  9. 合计流出:=SUM(DDLC,0);   
  10. 实时流入:=SUM(DDLR,1);   
  11. 实时流出:=SUM(DDLC,1);   
  12. 实时净买:实时流入-实时流出,LINETHICK0;   
  13. DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3;   
  14. DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3;   
  15. DRAWTEXTABS(320,1,'大户净买:'+ NUMTOSTRN(大户净买,2)),COLORFFFFFF,LINETHICK5;   
  16. DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3;   
  17. DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3;   
  18. DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4;   



 
C/C++ Code复制内容到剪贴板
  1. {动态中户-(中户分时资金实时观察)}   
  2. DDX:(ORDERVOL(1,1)-ORDERVOL(1,2))-(ORDERVOL(2,1)-ORDERVOL(2,2)),COLORSTICK,LINETHICK0;   
  3. DDX累积:Sum(DDX,0);   
  4. ZDLR:=AMOUNT*DYNAINFO(93)/10000;   
  5. ZDLC:=AMOUNT*DYNAINFO(96)/10000;   
  6. ZDJM:=SUM(ZDLR-ZDLC,0);   
  7. 中户净买:ZDJM,LINETHICK0;   
  8. 合计流入:=SUM(ZDLR,0);   
  9. 合计流出:=SUM(ZDLC,0);   
  10. 实时流入:=SUM(ZDLR,1);   
  11. 实时流出:=SUM(ZDLC,1);   
  12. 实时净买:实时流入-实时流出,LINETHICK0;   
  13. DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3;   
  14. DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3;   
  15. DRAWTEXTABS(320,1,'中户净买:'+ NUMTOSTRN(中户净买,2)),COLORFFFFFF,LINETHICK5;   
  16. DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3;   
  17. DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3;   
  18. DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4;  




 
C/C++ Code复制内容到剪贴板
  1. {动态散户-(散户分时资金实时观察)}   
  2. DDX:(1-ORDERVOL(1,1))-(1-ORDERVOL(2,1)),COLORSTICK,LINETHICK0;   
  3. DDX累积:Sum(DDX,0);   
  4. XDB:=1-(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000;   
  5. XDS:=1-(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000;   
  6. XDLR:=XDB;   
  7. XDLC:=XDS;   
  8. XDJM:=SUM(XDLR-XDLC,0);   
  9. 散户净买:XDJM,LINETHICK0;   
  10. 合计流入:=SUM(XDLR,0);   
  11. 合计流出:=SUM(XDLC,0);   
  12. 实时流入:=SUM(XDLR,1);   
  13. 实时流出:=SUM(XDLC,1);   
  14. 实时净买:实时流入-实时流出,LINETHICK0;   
  15. DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3;   
  16. DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3;   
  17. DRAWTEXTABS(320,1,'散户净买:'+ NUMTOSTRN(散户净买,2)),COLORFFFFFF,LINETHICK5;   
  18. DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3;   
  19. DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3;   
  20. DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4;  



 
C/C++ Code复制内容到剪贴板
  1. {资金实景-分时资金各单实时观察)}   
  2. XDB:=1-(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000;   
  3. XDS:=1-(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000;   
  4. XDLR:=SUM(XDB,0);   
  5. XDLC:=SUM(XDS,0);   
  6. XDJM:=XDLR-XDLC;   
  7. ZDLR:=SUM(AMOUNT*DYNAINFO(93)/10000,0);   
  8. ZDLC:=SUM(AMOUNT*DYNAINFO(96)/10000,0);   
  9. ZDJM:=ZDLR-ZDLC;   
  10. DDLR:=SUM(AMOUNT*DYNAINFO(94)/10000,0);   
  11. DDLC:=SUM(AMOUNT*DYNAINFO(97)/10000,0);   
  12. DDJM:=DDLR-DDLC;   
  13. TDLR:=SUM(AMOUNT*DYNAINFO(95)/10000,0);   
  14. TDLC:=SUM(AMOUNT*DYNAINFO(98)/10000,0);   
  15. TDJM:=TDLR-TDLC;   
  16. ZLLR:=DDLR+TDLR;   
  17. ZLLC:=DDLC+TDLC;   
  18. ZLJM:=DDJM+TDJM;   
  19. 散户:XDJM,COLORFF9911;   
  20. 中户:ZDJM,COLORFFFFFF;   
  21. 大户:DDJM,COLOR00FF00;   
  22. 超大:TDJM,COLORFF11FF;   
  23. 主力:ZLJM,COLOR11FFFF;   
  24. {1分钟}   
  25. SXDLR:=SUM(XDB,1);   
  26. SXDLC:=SUM(XDS,1);   
  27. SXDJM:=SXDLR-SXDLC;   
  28. SZDLR:=SUM(AMOUNT*DYNAINFO(93)/10000,1);   
  29. SZDLC:=SUM(AMOUNT*DYNAINFO(96)/10000,1);   
  30. SZDJM:=SZDLR-SZDLC;   
  31. SDDLR:=SUM(AMOUNT*DYNAINFO(94)/10000,1);   
  32. SDDLC:=SUM(AMOUNT*DYNAINFO(97)/10000,1);   
  33. SDDJM:=SDDLR-SDDLC;   
  34. STDLR:=SUM(AMOUNT*DYNAINFO(95)/10000,1);   
  35. STDLC:=SUM(AMOUNT*DYNAINFO(98)/10000,1);   
  36. STDJM:=STDLR-STDLC;   
  37. SZLLR:=SDDLR+STDLR;   
  38. SZLLC:=SDDLC+STDLC;   
  39. SZLJM:=SZLLR-SZLLC;   
  40. DRAWTEXTABS(1,5,'以下显示各单合计资金进出,净买统计 (万)'),COLORFFFFFF,LINETHICK3;   
  41. DRAWTEXTABS(1,21,'散户流入:'+ NUMTOSTRN(XDLR,2)),COLORFF9911,LINETHICK3;   
  42. DRAWTEXTABS(160,21,'散户流出:'+ NUMTOSTRN(XDLC,2)),COLORFF9911,LINETHICK3;   
  43. DRAWTEXTABS(320,21,'散户净买:'+ NUMTOSTRN(散户,2)),COLORFF9911,LINETHICK3;   
  44. DRAWTEXTABS(1,41,'中户流入:'+ NUMTOSTRN(ZDLR,2)),COLORFFFFFF,LINETHICK3;   
  45. DRAWTEXTABS(160,41,'中户流出:'+ NUMTOSTRN(ZDLC,2)),COLORFFFFFF,LINETHICK3;   
  46. DRAWTEXTABS(320,41,'中户净买:'+ NUMTOSTRN(中户,2)),COLORFFFFFF,LINETHICK3;   
  47. DRAWTEXTABS(1,61,'大户流入:'+ NUMTOSTRN(DDLR,2)),COLOR00FF00,LINETHICK3;   
  48. DRAWTEXTABS(160,61,'大户流出:'+ NUMTOSTRN(DDLC,2)),COLOR00FF00,LINETHICK3;   
  49. DRAWTEXTABS(320,61,'大户净买:'+ NUMTOSTRN(大户,2)),COLOR00FF00,LINETHICK3;   
  50. DRAWTEXTABS(1,81,'超大流入:'+ NUMTOSTRN(TDLR,2)),COLORFF11FF,LINETHICK3;   
  51. DRAWTEXTABS(160,81,'超大流出:'+ NUMTOSTRN(TDLC,2)),COLORFF11FF,LINETHICK3;   
  52. DRAWTEXTABS(320,81,'超大净买:'+ NUMTOSTRN(超大,2)),COLORFF11FF,LINETHICK3;   
  53. DRAWTEXTABS(1,101,'主力流入:'+ NUMTOSTRN(ZLLR,2)),COLOR11FFFF,LINETHICK3;   
  54. DRAWTEXTABS(160,101,'主力流出:'+ NUMTOSTRN(ZLLC,2)),COLOR11FFFF,LINETHICK3;   
  55. DRAWTEXTABS(320,101,'主力净买:'+ NUMTOSTRN(主力,2)),COLOR11FFFF,LINETHICK4;   
  56. DRAWTEXTABS(1,125,'以下显示各单1分钟资金进出,净买统计 (万)'),COLORFFFFFF,LINETHICK3;   
  57. DRAWTEXTABS(1,141,'散户实入:'+ NUMTOSTRN(SXDLR,2)),COLORFF9911,LINETHICK3;{散户实时流入}   
  58. DRAWTEXTABS(160,141,'散户实出:'+ NUMTOSTRN(SXDLC,2)),COLORFF9911,LINETHICK3;{散户实时流出}   
  59. DRAWTEXTABS(320,141,'散户实净:'+ NUMTOSTRN(SXDJM,2)),COLORFF9911,LINETHICK3;{散户实时净买}   
  60. DRAWTEXTABS(1,161,'中户实入:'+ NUMTOSTRN(SZDLR,2)),COLORFFFFFF,LINETHICK3;{中户实时流入}   
  61. DRAWTEXTABS(160,161,'中户实出:'+ NUMTOSTRN(SZDLC,2)),COLORFFFFFF,LINETHICK3;{中户实时流出}   
  62. DRAWTEXTABS(320,161,'中户实净:'+ NUMTOSTRN(SZDJM,2)),COLORFFFFFF,LINETHICK3;{中户实时净买}   
  63. DRAWTEXTABS(1,181,'大户实入:'+ NUMTOSTRN(SDDLR,2)),COLOR00FF00,LINETHICK3;{大户实时流入}   
  64. DRAWTEXTABS(160,181,'大户实出:'+ NUMTOSTRN(SDDLC,2)),COLOR00FF00,LINETHICK3;{大户实时流出}   
  65. DRAWTEXTABS(320,181,'大户实净:'+ NUMTOSTRN(SDDJM,2)),COLOR00FF00,LINETHICK3;{大户实时净买}   
  66. DRAWTEXTABS(1,201,'超大实入:'+ NUMTOSTRN(STDLR,2)),COLORFF11FF,LINETHICK3;{超大实时流入}   
  67. DRAWTEXTABS(160,201,'超大实出:'+ NUMTOSTRN(STDLC,2)),COLORFF11FF,LINETHICK3;{超大实时流出}   
  68. DRAWTEXTABS(320,201,'超大实净:'+ NUMTOSTRN(STDJM,2)),COLORFF11FF,LINETHICK3;{超大实时净买}   
  69. DRAWTEXTABS(1,221,'主力实入:'+ NUMTOSTRN(SZLLR,2)),COLOR11FFFF,LINETHICK3;{主力实时流入}   
  70. DRAWTEXTABS(160,221,'主力实出:'+ NUMTOSTRN(SZLLC,2)),COLOR11FFFF,LINETHICK3;{主力实时流出}   
  71. DRAWTEXTABS(320,221,'主力实净:'+ NUMTOSTRN(SZLJM,2)),COLOR11FFFF,LINETHICK4;{主力实时净买};   


以下是"分时实时监控模板原码"
▲注意:名称如有相同可自取,论   方法:点TOP模板上的"设"字,出现提示后,点"新建指标",复制名称,或自取,
将'▲▲分时超赢实时监控▲▲''复制到公式描述中,复制公式,查看公式后有没有复制时带的'........',否则通不过.
最后点'禁用周期',勾'日线',在'默认周期'选1分钟.点确认即可.
▲另可将"XDJM.ZDJM.DDJM.TDJM"中0改5.可建5分钟实时监控,方法同上.

 
C/C++ Code复制内容到剪贴板
  1. {分时超赢-▲▲分时超赢实时监控▲▲}   
  2. DRAWTEXTABS(155,0,'分时超赢分类 净额(万)'),COLOR00FFFF;   
  3. XDB:=1-(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000;   
  4. XDS:=1-(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000;   
  5. XDLR:=XDB;   
  6. XDLC:=XDS;   
  7. XDJM:=SUM(XDLR-XDLC,0);   
  8. ZDLR:=AMOUNT*DYNAINFO(93)/10000;   
  9. ZDLC:=AMOUNT*DYNAINFO(96)/10000;   
  10. ZDJM:=SUM(ZDLR-ZDLC,0);   
  11. DDLR:=AMOUNT*DYNAINFO(94)/10000;   
  12. DDLC:=AMOUNT*DYNAINFO(97)/10000;   
  13. DDJM:=SUM(DDLR-DDLC,0);   
  14. TDLR:=AMOUNT*DYNAINFO(95)/10000;   
  15. TDLC:=AMOUNT*DYNAINFO(98)/10000;   
  16. TDJM:=SUM(TDLR-TDLC,0);   
  17. ZLJM:=DDJM+TDJM;   
  18. 散户:XDJM,COLOR3D,COLORFF9911;   
  19. 中户:ZDJM,COLOR3D,COLOR999999;   
  20. 大户:DDJM,COLOR3D,COLOR11FF11;   
  21. 超大:TDJM,COLOR3D,COLORFF11FF;   
  22. 主力:ZLJM,COLOR3D,COLOR11FFFF;  
资源下载链接   资源大小:22KB

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