您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

分时实时监控模板原码SV大资金流向同步的分时资金监控副图指标公式[大智慧公式]

相关标签:

 

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

提示:复制粘贴公式时看一下最后有没有复制时带的'........',否则通不过.
为视觉关系我把DDX.....显示0,如要显示改1.(第一行).

 

 

原理解析:

输出大单动向:(ORDERVOL(1,2)-ORDERVOL(2,2)),COLORSTICK,线宽为0
输出DDX累积:DDX的历史累和
ZLLR赋值:成交额(元)*(DYNAINFO(95)+DYNAINFO(94))/10000
ZLLC赋值:成交额(元)*(DYNAINFO(98)+DYNAINFO(97))/10000
ZLJM赋值:ZLLR-ZLLC的历史累和
输出主力净买:ZLJM,线宽为0
合计流入赋值:ZLLR的历史累和
合计流出赋值:ZLLC的历史累和
实时流入赋值:ZLLR的5日累和
实时流出赋值:ZLLC的5日累和
输出实时净买:实时流入-实时流出,线宽为0
输出DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(320,1,'主力净买:'+ NUMTOSTRN(主力净买,2)),COLORFFFFFF,线宽为5
输出DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,线宽为4
输出DDX:(ORDERVOL(1,3)-ORDERVOL(2,3)),COLORSTICK,线宽为0
输出DDX累积:DDX的历史累和
TDLR赋值:成交额(元)*DYNAINFO(95)/10000
TDLC赋值:成交额(元)*DYNAINFO(98)/10000
TDJM赋值:TDLR-TDLC的历史累和
输出超大净买:TDJM,线宽为0
合计流入赋值:TDLR的历史累和
合计流出赋值:TDLC的历史累和
实时流入赋值:TDLR的1日累和
实时流出赋值:TDLC的1日累和
输出实时净买:实时流入-实时流出,线宽为0
输出DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(320,1,'超大净买:'+ NUMTOSTRN(超大净买,2)),COLORFFFFFF,线宽为5
输出DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,线宽为4
输出DDX:(ORDERVOL(1,2)-ORDERVOL(1,3))-(ORDERVOL(2,2)-ORDERVOL(2,3)),COLORSTICK,线宽为0
输出DDX累积:DDX的历史累和
DDLR赋值:成交额(元)*DYNAINFO(94)/10000
DDLC赋值:成交额(元)*DYNAINFO(97)/10000
DDJM赋值:DDLR-DDLC的历史累和
输出大户净买:DDJM,线宽为0
合计流入赋值:DDLR的历史累和
合计流出赋值:DDLC的历史累和
实时流入赋值:DDLR的1日累和
实时流出赋值:DDLC的1日累和
输出实时净买:实时流入-实时流出,线宽为0
输出DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(320,1,'大户净买:'+ NUMTOSTRN(大户净买,2)),COLORFFFFFF,线宽为5
输出DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,线宽为4
输出DDX:(ORDERVOL(1,1)-ORDERVOL(1,2))-(ORDERVOL(2,1)-ORDERVOL(2,2)),COLORSTICK,线宽为0
输出DDX累积:DDX的历史累和
ZDLR赋值:成交额(元)*DYNAINFO(93)/10000
ZDLC赋值:成交额(元)*DYNAINFO(96)/10000
ZDJM赋值:ZDLR-ZDLC的历史累和
输出中户净买:ZDJM,线宽为0
合计流入赋值:ZDLR的历史累和
合计流出赋值:ZDLC的历史累和
实时流入赋值:ZDLR的1日累和
实时流出赋值:ZDLC的1日累和
输出实时净买:实时流入-实时流出,线宽为0
输出DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(320,1,'中户净买:'+ NUMTOSTRN(中户净买,2)),COLORFFFFFF,线宽为5
输出DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,线宽为4
输出DDX:(1-ORDERVOL(1,1))-(1-ORDERVOL(2,1)),COLORSTICK,线宽为0
输出DDX累积:DDX的历史累和
XDB赋值:1-(成交额(元)*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000
XDS赋值:1-(成交额(元)*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000
XDLR赋值:XDB
XDLC赋值:XDS
XDJM赋值:XDLR-XDLC的历史累和
输出散户净买:XDJM,线宽为0
合计流入赋值:XDLR的历史累和
合计流出赋值:XDLC的历史累和
实时流入赋值:XDLR的1日累和
实时流出赋值:XDLC的1日累和
输出实时净买:实时流入-实时流出,线宽为0
输出DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,线宽为3
输出DRAWTEXTABS(320,1,'散户净买:'+ NUMTOSTRN(散户净买,2)),COLORFFFFFF,线宽为5
输出DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,线宽为3
输出DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,线宽为4
输出主力资金:((100)*(动量线的6日指数移动平均的6日指数移动平均))/(动量线的绝对值的6日指数移动平均的6日指数移动平均),画红色,线宽为2
输出
移动筹码:((100)*(动量线的26日指数移动平均的26日指数移动平均))/(动量线的绝对值的26日指数移动平均的26日指数移动平均),画黄色,线宽为2
输出
游资:((100)*(动量线的12日指数移动平均的12日指数移动平均))/(动量线的绝对值的12日指数移动平均的12日指数移动平均),画洋红色,线宽为2
输出
散户:(24日内最高价的最高值-收盘价)/(24日内最高价的最高值-24日内最低价的最低值)*100,画绿色,线宽为2
输出
零轴线:0,画深灰色,DOTLINE,线宽为1
输出
十天主力持仓:10*以收盘价*0.9计算的获利盘比例*8, 画青色,DOTLINE
DJ赋值:主力资金>=散户 AND 移动筹码>=散户 AND 游资>=散户 AND 十天主力持仓>=40
 
当满足条件DJ时,在-5位置画25号图标
 

源码:

 


{动态主力-(主力分时资金实时观察)}
DDX:(ordervol(1,2)-ordervol(2,2)),COLORSTICK,LINETHICK0;{http://www.cxh99.com}
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;{http://www.cxh99.com}
合计流入:=SUM(ZLLR,0);
合计流出:=SUM(ZLLC,0);
实时流入:=SUM(ZLLR,5);
实时流出:=SUM(ZLLC,5);
实时净买:实时流入-实时流出,LINETHICK0;{http://www.cxh99.com}
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;{http://www.cxh99.com}
DDX累积:Sum(DDX,0);
TDLR:=AMOUNT*DYNAINFO(95)/10000;
TDLC:=AMOUNT*DYNAINFO(98)/10000;
TDJM:=SUM(TDLR-TDLC,0);
超大净买:TDJM,LINETHICK0;{http://www.cxh99.com}
合计流入:=SUM(TDLR,0);
合计流出:=SUM(TDLC,0);
实时流入:=SUM(TDLR,1);
实时流出:=SUM(TDLC,1);
实时净买:实时流入-实时流出,LINETHICK0;{http://www.cxh99.com}
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;{http://www.cxh99.com}
DDX累积:Sum(DDX,0);
DDLR:=AMOUNT*DYNAINFO(94)/10000;
DDLC:=AMOUNT*DYNAINFO(97)/10000;
DDJM:=SUM(DDLR-DDLC,0);
大户净买:DDJM,LINETHICK0;{http://www.cxh99.com}
合计流入:=SUM(DDLR,0);
合计流出:=SUM(DDLC,0);
实时流入:=SUM(DDLR,1);
实时流出:=SUM(DDLC,1);
实时净买:实时流入-实时流出,LINETHICK0;{http://www.cxh99.com}
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;{http://www.cxh99.com}
DDX累积:Sum(DDX,0);
ZDLR:=AMOUNT*DYNAINFO(93)/10000;
ZDLC:=AMOUNT*DYNAINFO(96)/10000;
ZDJM:=SUM(ZDLR-ZDLC,0);
中户净买:ZDJM,LINETHICK0;{http://www.cxh99.com}
合计流入:=SUM(ZDLR,0);
合计流出:=SUM(ZDLC,0);
实时流入:=SUM(ZDLR,1);
实时流出:=SUM(ZDLC,1);
实时净买:实时流入-实时流出,LINETHICK0;{http://www.cxh99.com}
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;{http://www.cxh99.com}
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;{http://www.cxh99.com}
合计流入:=SUM(XDLR,0);
合计流出:=SUM(XDLC,0);
实时流入:=SUM(XDLR,1);
实时流出:=SUM(XDLC,1);
实时净买:实时流入-实时流出,LINETHICK0;{http://www.cxh99.com}
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;
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分钟实时监控,方法同上.

{分时超赢-▲▲分时超赢实时监控▲▲}
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;

{程序化交易 www.cxh99.com }
{程序化交易 www.cxh99.com }

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容