L2源码“分时资金监控”
-
相关简介:C/C++ Code 复制内容到剪贴板 {动态主力-(主力分时资金实时观察)} 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); 主
-
文章来源:择股网作者:股海网发布时间:2009-09-25浏览次数:
C/C++ Code复制内容到剪贴板
- {动态主力-(主力分时资金实时观察)}
- 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;
C/C++ Code复制内容到剪贴板
- {动态超大-(超大分时资金实时观察)}
- 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;
C/C++ Code复制内容到剪贴板
- {动态大户-(大户分时资金实时观察)}
- 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;
C/C++ Code复制内容到剪贴板
- {动态中户-(中户分时资金实时观察)}
- 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;
C/C++ Code复制内容到剪贴板
- {动态散户-(散户分时资金实时观察)}
- 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;
C/C++ Code复制内容到剪贴板
- {资金实景-分时资金各单实时观察)}
- 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;
- DRAWTEXTABS(320,81,'超大净买:'+ NUMTOSTRN(超大,2)),COLORFF11FF,LINETHICK3;
- DRAWTEXTABS(1,101,'主力流入:'+ NUMTOSTRN(ZLLR,2)),COLOR11FFFF,LINETHICK3;
- DRAWTEXTABS(160,101,'主力流出:'+ NUMTOSTRN(ZLLC,2)),COLOR11FFFF,LINETHICK3;
- DRAWTEXTABS(320,101,'主力净买:'+ NUMTOSTRN(主力,2)),COLOR11FFFF,LINETHICK4;
- DRAWTEXTABS(1,125,'以下显示各单1分钟资金进出,净买统计 (万)'),COLORFFFFFF,LINETHICK3;
- DRAWTEXTABS(1,141,'散户实入:'+ NUMTOSTRN(SXDLR,2)),COLORFF9911,LINETHICK3;{散户实时流入}
- DRAWTEXTABS(160,141,'散户实出:'+ NUMTOSTRN(SXDLC,2)),COLORFF9911,LINETHICK3;{散户实时流出}
- DRAWTEXTABS(320,141,'散户实净:'+ NUMTOSTRN(SXDJM,2)),COLORFF9911,LINETHICK3;{散户实时净买}
- DRAWTEXTABS(1,161,'中户实入:'+ NUMTOSTRN(SZDLR,2)),COLORFFFFFF,LINETHICK3;{中户实时流入}
- DRAWTEXTABS(160,161,'中户实出:'+ NUMTOSTRN(SZDLC,2)),COLORFFFFFF,LINETHICK3;{中户实时流出}
- DRAWTEXTABS(320,161,'中户实净:'+ NUMTOSTRN(SZDJM,2)),COLORFFFFFF,LINETHICK3;{中户实时净买}
- DRAWTEXTABS(1,181,'大户实入:'+ NUMTOSTRN(SDDLR,2)),COLOR00FF00,LINETHICK3;{大户实时流入}
- DRAWTEXTABS(160,181,'大户实出:'+ NUMTOSTRN(SDDLC,2)),COLOR00FF00,LINETHICK3;{大户实时流出}
- DRAWTEXTABS(320,181,'大户实净:'+ NUMTOSTRN(SDDJM,2)),COLOR00FF00,LINETHICK3;{大户实时净买}
- DRAWTEXTABS(1,201,'超大实入:'+ NUMTOSTRN(STDLR,2)),COLORFF11FF,LINETHICK3;{超大实时流入}
- DRAWTEXTABS(160,201,'超大实出:'+ NUMTOSTRN(STDLC,2)),COLORFF11FF,LINETHICK3;{超大实时流出}
- DRAWTEXTABS(320,201,'超大实净:'+ NUMTOSTRN(STDJM,2)),COLORFF11FF,LINETHICK3;{超大实时净买}
- DRAWTEXTABS(1,221,'主力实入:'+ NUMTOSTRN(SZLLR,2)),COLOR11FFFF,LINETHICK3;{主力实时流入}
- DRAWTEXTABS(160,221,'主力实出:'+ NUMTOSTRN(SZLLC,2)),COLOR11FFFF,LINETHICK3;{主力实时流出}
- DRAWTEXTABS(320,221,'主力实净:'+ NUMTOSTRN(SZLJM,2)),COLOR11FFFF,LINETHICK4;{主力实时净买};
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:DZH--L2最新分时指标
下一篇:好准的指标:屠龙刀