以下是与SV大资金流向同步的分时资金监控副图,分时实时监控模板原码
★本公式采用DZHL2中动态行情,特大买入,大单买入,中单买入及特大买出,大单买出,中单买出原理,故需L2行情支持,还望各位老师开发接口,让更多的股民朋友可用,谢谢.★感觉好,请加分,顶兄弟一把.由于我的模板比较乱,怕搞乱大家的模板,模板不发了.★公式中实时流入,实时流出,实时净买是指实时1分钟结果,全套公式在公式中将相印的名称改一下,如’超大…’改’特大…’去掉主力….,可用于B股.基金进行实时监控.★提示:复制粘贴公式时看一下最后有没有复制时带的’……..’,否则通不过.★为视觉关系我把DDX…..显示0,如要显示改1.(第一行). C/C++ Code复制内容到剪贴板{动态主力-(主力分时资金实时观察)} DDX:(ordervul(1,2)-ordervul(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;{主力实时净买}; 以下是”分时实时监控模板原码”▲注意:名称如有相同可自取,论 方法:点TOP模板上的”设”字,出现提示后,点”新建指标”,复制名称,或自取,将’▲▲分时超赢实时监控▲▲”复制到公式描述中,复制公式,查看公式后有没有复制时带的’……..’,否则通不过.最后点’禁用周期’,勾’日线’,在’默认周期’选1分钟.点确认即可.▲另可将”XDJM.ZDJM.DDJM.TDJM”中0改5.可建5分钟实时监控,方法同上. C/C++ Code复制内容到剪贴板{分时超赢-▲▲分时超赢实时监控▲▲} DRAWTEXTABS(155,0,’分时超赢分类 净额(万)’),COLOR00FFFF; 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); ZDLR:=AMOUNT*DYNAINFO(93)/10000; ZDLC:=AMOUNT*DYNAINFO(96)/10000; ZDJM:=SUM(ZDLR-ZDLC,0); DDLR:=AMOUNT*DYNAINFO(94)/10000; DDLC:=AMOUNT*DYNAINFO(97)/10000; DDJM:=SUM(DDLR-DDLC,0); TDLR:=AMOUNT*DYNAINFO(95)/10000; TDLC:=AMOUNT*DYNAINFO(98)/10000; TDJM:=SUM(TDLR-TDLC,0); ZLJM:=DDJM+TDJM; 散户:XDJM,COLOR3D,COLORFF9911; 中户:ZDJM,COLOR3D,COLOR999999; 大户:DDJM,COLOR3D,COLOR11FF11; 超大:TDJM,COLOR3D,COLORFF11FF; 主力:ZLJM,COLOR3D,COLOR11FFFF;
评论(0)