★本公式采用DZHL2中动态行情,特大买入,大单买入,中单买入及特大买出,大单买出,中单买出原理,故需L2行情支持,还望各位老师开发接口,让更多的 股民朋友可用,谢谢. ★感觉好,请加分,顶兄弟一把.由于我的模板比较乱,怕搞乱大家的模板,模板不发了. ★公式中实时流入,实时流出,实时净买是指实时1分钟结果,全套公式在公式中将相印的名称改一下,如'超大...'改'特大...'去掉主力....,可用于B股. 基金进行实时监控. ★提示:复制粘贴公式时看一下最后有没有复制时带的'........',否则通不过. ★为视觉关系我把DDX.....显示0,如要显示改1.(第一行). {动态主力-(主力分时资金实时观察)} DDX:(ordervol(1,2)-ordervol(2,2)),COLORSTICK,LINETHICK0; DDX累积:Sum(DDX,0); ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000; ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000; ZLJM:=SUM(ZLLR-ZLLC,0); 主力净买:ZLJM,LINETHICK0; 合计流入:=SUM(ZLLR,0); 合计流出:=SUM(ZLLC,0); 实时流入:=SUM(ZLLR,5); 实时流出:=SUM(ZLLC,5); 实时净买:实时流入-实时流出,LINETHICK0; DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(320,1,'主力净买:'+ NUMTOSTRN(主力净买,2)),COLORFFFFFF,LINETHICK5; DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4; {动态超大-(超大分时资金实时观察)} DDX:(ORDERVOL(1,3)-ORDERVOL(2,3)),COLORSTICK,LINETHICK0; DDX累积:Sum(DDX,0); TDLR:=AMOUNT*DYNAINFO(95)/10000; TDLC:=AMOUNT*DYNAINFO(98)/10000; TDJM:=SUM(TDLR-TDLC,0); 超大净买:TDJM,LINETHICK0; 合计流入:=SUM(TDLR,0); 合计流出:=SUM(TDLC,0); 实时流入:=SUM(TDLR,1); 实时流出:=SUM(TDLC,1); 实时净买:实时流入-实时流出,LINETHICK0; DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(320,1,'超大净买:'+ NUMTOSTRN(超大净买,2)),COLORFFFFFF,LINETHICK5; DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4; {动态大户-(大户分时资金实时观察)} DDX:(ORDERVOL(1,2)-ORDERVOL(1,3))-(ORDERVOL(2,2)-ORDERVOL(2,3)),COLORSTICK,LINETHICK0; DDX累积:Sum(DDX,0); DDLR:=AMOUNT*DYNAINFO(94)/10000; DDLC:=AMOUNT*DYNAINFO(97)/10000; DDJM:=SUM(DDLR-DDLC,0); 大户净买:DDJM,LINETHICK0; 合计流入:=SUM(DDLR,0); 合计流出:=SUM(DDLC,0); 实时流入:=SUM(DDLR,1); 实时流出:=SUM(DDLC,1); 实时净买:实时流入-实时流出,LINETHICK0; DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(320,1,'大户净买:'+ NUMTOSTRN(大户净买,2)),COLORFFFFFF,LINETHICK5; DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4; {动态中户-(中户分时资金实时观察)} DDX:(ORDERVOL(1,1)-ORDERVOL(1,2))-(ORDERVOL(2,1)-ORDERVOL(2,2)),COLORSTICK,LINETHICK0; DDX累积:Sum(DDX,0); ZDLR:=AMOUNT*DYNAINFO(93)/10000; ZDLC:=AMOUNT*DYNAINFO(96)/10000; ZDJM:=SUM(ZDLR-ZDLC,0); 中户净买:ZDJM,LINETHICK0; 合计流入:=SUM(ZDLR,0); 合计流出:=SUM(ZDLC,0); 实时流入:=SUM(ZDLR,1); 实时流出:=SUM(ZDLC,1); 实时净买:实时流入-实时流出,LINETHICK0; DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(320,1,'中户净买:'+ NUMTOSTRN(中户净买,2)),COLORFFFFFF,LINETHICK5; DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4; {动态散户-(散户分时资金实时观察)} DDX:(1-ORDERVOL(1,1))-(1-ORDERVOL(2,1)),COLORSTICK,LINETHICK0; DDX累积:Sum(DDX,0); XDB:=1-(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000; XDS:=1-(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000; XDLR:=XDB; XDLC:=XDS; XDJM:=SUM(XDLR-XDLC,0); 散户净买:XDJM,LINETHICK0; 合计流入:=SUM(XDLR,0); 合计流出:=SUM(XDLC,0); 实时流入:=SUM(XDLR,1); 实时流出:=SUM(XDLC,1); 实时净买:实时流入-实时流出,LINETHICK0; DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3; DRAWTEXTABS(320,1,'散户净买:'+ NUMTOSTRN(散户净买,2)),COLORFFFFFF,LINETHICK5; DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3; DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4; {资金实景-分时资金各单实时观察)} XDB:=1-(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000; XDS:=1-(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000; XDLR:=SUM(XDB,0); XDLC:=SUM(XDS,0); XDJM:=XDLR-XDLC; ZDLR:=SUM(AMOUNT*DYNAINFO(93)/10000,0); ZDLC:=SUM(AMOUNT*DYNAINFO(96)/10000,0); ZDJM:=ZDLR-ZDLC; DDLR:=SUM(AMOUNT*DYNAINFO(94)/10000,0); DDLC:=SUM(AMOUNT*DYNAINFO(97)/10000,0); DDJM:=DDLR-DDLC; TDLR:=SUM(AMOUNT*DYNAINFO(95)/10000,0); TDLC:=SUM(AMOUNT*DYNAINFO(98)/10000,0); TDJM:=TDLR-TDLC; ZLLR:=DDLR+TDLR; ZLLC:=DDLC+TDLC; ZLJM:=DDJM+TDJM; 散户:XDJM,COLORFF9911; 中户:ZDJM,COLORFFFFFF; 大户:DDJM,COLOR00FF00; 超大:TDJM,COLORFF11FF; 主力:ZLJM,COLOR11FFFF; {1分钟} SXDLR:=SUM(XDB,1); SXDLC:=SUM(XDS,1); SXDJM:=SXDLR-SXDLC; SZDLR:=SUM(AMOUNT*DYNAINFO(93)/10000,1); SZDLC:=SUM(AMOUNT*DYNAINFO(96)/10000,1); SZDJM:=SZDLR-SZDLC; SDDLR:=SUM(AMOUNT*DYNAINFO(94)/10000,1); SDDLC:=SUM(AMOUNT*DYNAINFO(97)/10000,1); SDDJM:=SDDLR-SDDLC; STDLR:=SUM(AMOUNT*DYNAINFO(95)/10000,1); STDLC:=SUM(AMOUNT*DYNAINFO(98)/10000,1); STDJM:=STDLR-STDLC; SZLLR:=SDDLR+STDLR; SZLLC:=SDDLC+STDLC; SZLJM:=SZLLR-SZLLC; DRAWTEXTABS(1,5,'以下显示各单合计资金进出,净买统计 (万)'),COLORFFFFFF,LINETHICK3; DRAWTEXTABS(1,21,'散户流入:'+ NUMTOSTRN(XDLR,2)),COLORFF9911,LINETHICK3; DRAWTEXTABS(160,21,'散户流出:'+ NUMTOSTRN(XDLC,2)),COLORFF9911,LINETHICK3; DRAWTEXTABS(320,21,'散户净买:'+ NUMTOSTRN(散户,2)),COLORFF9911,LINETHICK3; DRAWTEXTABS(1,41,'中户流入:'+ NUMTOSTRN(ZDLR,2)),COLORFFFFFF,LINETHICK3; DRAWTEXTABS(160,41,'中户流出:'+ NUMTOSTRN(ZDLC,2)),COLORFFFFFF,LINETHICK3; DRAWTEXTABS(320,41,'中户净买:'+ NUMTOSTRN(中户,2)),COLORFFFFFF,LINETHICK3; DRAWTEXTABS(1,61,'大户流入:'+ NUMTOSTRN(DDLR,2)),COLOR00FF00,LINETHICK3; DRAWTEXTABS(160,61,'大户流出:'+ NUMTOSTRN(DDLC,2)),COLOR00FF00,LINETHICK3; DRAWTEXTABS(320,61,'大户净买:'+ NUMTOSTRN(大户,2)),COLOR00FF00,LINETHICK3; DRAWTEXTABS(1,81,'超大流入:'+ NUMTOSTRN(TDLR,2)),COLORFF11FF,LINETHICK3; DRAWTEXTABS(160,81,'超大流出:'+ NUMTOSTRN(TDLC,2)),COLORFF11FF,LINETHICK3; DRA |
- 软件大小:0 Bytes
- 推荐星级:
- 更新时间:2009-09-19 15:12:51
- 软件类别: 国产软件 / 大智慧L2公式
- 软件语言:简体中文
- 授权方式: 解密版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(17)71%(7)29%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!