软件简介:
盘中数据之二(各类资金净流入)【大智慧L-2分时图付图】源代码
盘中数据之二是一个定时显示各类资金净流入的指标,它的定时定位显示方式采用的就是盘中数据之一《日常数据》的模型格式。
由于采用的是大智慧L-2数据,因此免FEI版大智慧软件不能使用。
对于各类资金净流入数值,虽然我经过多次核查,但可能差错还会难免,请使用该指标的同学发现后即时告知,本人在此表示衷心的感谢!
源代码如下:
一、引用指标:
指标名称:盘中引用2
源代码:
TLR:SUM(ORDERVOL(1,3)*C/100,0);
TLC:SUM(ORDERVOL(2,3)*C/100,0);
DLR:SUM((ORDERVOL(1,2)-ORDERVOL(1,3))*C/100,0);
DLC:SUM((ORDERVOL(2,2)-ORDERVOL(2,3))*C/100,0);
ZLR:SUM((ORDERVOL(1,1)-ORDERVOL(1,2))*C/100,0);
ZLC:SUM((ORDERVOL(2,1)-ORDERVOL(2,2))*C/100,0);
SLR:SUM((ORDERVOL(1,0)-ORDERVOL(1,1))*C/100,0);
SLC:SUM((ORDERVOL(2,0)-ORDERVOL(2,1))*C/100,0);
二、各类资金分时数据:
指标名称:分时资金
源代码:
DRAWRECTABS(805 ,10 ,842 ,47 ,0),LINETHICK4,COLOR6600FF; {以下三句个人印章}
DRAWTEXTABS(810 ,15,'提沙'),LINETHICK2,COLOR6600FF;
DRAWTEXTABS(810 ,28,'印吾'),LINETHICK2,COLOR6600FF;
DRAWTEXTABS(170,5,'各时段各类资金净买入(万元)'),COLORFF9933,LINETHICK4; {表头}
DRAWTEXTABS(470,3,''+STKNAME+'('+STKLABEL+')'),COLOR0066FF,LINETHICK4; {股票名称、代码}
DRAWRECTABS( 1,28 ,790 ,175 ,RGB(0,50,50) ),COLORFFFFFF; {边框,框内填色}
DRAWTEXTABS(20,37,'数 据 分 类'),COLORFF00FF,LINETHICK2; {以下六句资金分类项目}
DRAWTEXTABS(20,55,'主 力 账 户'),COLOR3300FF,LINETHICK2;
DRAWTEXTABS(20,75,'超 大 账 户'),COLORFF00FF,LINETHICK2;
DRAWTEXTABS(20,95,'大 户 账 户'),COLOR3366FF,LINETHICK2;
DRAWTEXTABS(20,115,'中 户 账 户'),COLORFFFF33,LINETHICK2;
DRAWTEXTABS(20,135,'散 户 账 户'),COLOR00FFFF,LINETHICK2;
DRAWTEXTABS(150,35,'10
点'),COLORFFFFFF,LINETHICK2; {以下八句各时间段列}
DRAWTEXTABS(230,35,'10 点 半'),COLORFFFFFF,LINETHICK2;
DRAWTEXTABS(310,35,'11
点'),COLORFFFFFF,LINETHICK2;
DRAWTEXTABS(390,35,'11 点 半'),COLORFFFFFF,LINETHICK2;
DRAWTEXTABS(470,35,'13 点 半'),COLORFFFFFF,LINETHICK2;
DRAWTEXTABS(550,35,'14 点'),COLORFFFFFF,LINETHICK2;
DRAWTEXTABS(630,35,'14 点 半'),COLORFFFFFF,LINETHICK2;
DRAWTEXTABS(710,35,'当前'),COLORFFFFFF,LINETHICK2;
特净额:="盘中引用2.TLR#MIN"-"盘中引用2.TLC#MIN"; {以下四句引用“盘中引用”指标中的相应数据}
大净额:="盘中引用2.DLR#MIN"-"盘中引用2.DLC#MIN";
中净额:="盘中引用2.ZLR#MIN"-"盘中引用2.ZLC#MIN";
散净额:="盘中引用2.SLR#MIN"-"盘中引用2.SLC#MIN";
DRAWTEXTABS(140,55,STRRIGHT(''+NUMTOSTRN(REF(特净额+大净额,BARSLAST(TIME>095959 AND TIME<=100000)),2),9)),COLOR3300FF,LINETHICK2; {10点显示各资金净买入数据}
DRAWTEXTABS(140,75,STRRIGHT(''+NUMTOSTRN(REF(特净额,BARSLAST(TIME>095959 AND TIME<=100000)),2),9)),COLORFF00FF,LINETHICK2;
DRAWTEXTABS(140,95,STRRIGHT(''+NUMTOSTRN(REF(大净额,BARSLAST(TIME>095959 AND TIME<=100000)),2),9)),COLOR3366FF,LINETHICK2;
DRAWTEXTABS(140,115,STRRIGHT(''+NUMTOSTRN(REF(中净额,BARSLAST(TIME>095959 AND TIME<=100000)),2),9)),COLORFFFF33,LINETHICK2;
DRAWTEXTABS(140,135,STRRIGHT(''+NUMTOSTRN(REF(散净额,BARSLAST(TIME>095959 AND TIME<=100000)),2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTABS(225,55,STRRIGHT(''+NUMTOSTRN(REF(特净额+大净额,BARSLAST(TIME>102959 AND TIME<=103000)),2),9)),COLOR3300FF,LINETHICK2; {10点半显示各资金净买入数据}
DRAWTEXTABS(225,75,STRRIGHT(''+NUMTOSTRN(REF(特净额,BARSLAST(TIME>102959 AND TIME<=103000)),2),9)),COLORFF00FF,LINETHICK2;
DRAWTEXTABS(225,95,STRRIGHT(''+NUMTOSTRN(REF(大净额,BARSLAST(TIME>102959 AND TIME<=103000)),2),9)),COLOR3366FF,LINETHICK2;
DRAWTEXTABS(225,115,STRRIGHT(''+NUMTOSTRN(REF(中净额,BARSLAST(TIME>102959 AND TIME<=103000)),2),9)),COLORFFFF33,LINETHICK2;
DRAWTEXTABS(225,135,STRRIGHT(''+NUMTOSTRN(REF(散净额,BARSLAST(TIME>102959 AND TIME<=103000)),2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTABS(305,55,STRRIGHT(''+NUMTOSTRN(REF(特净额+大净额,BARSLAST(TIME>105959 AND TIME<=110000)),2),9)),COLOR3300FF,LINETHICK2; {11点显示各资金净买入数据}
DRAWTEXTABS(305,75,STRRIGHT(''+NUMTOSTRN(REF(特净额,BARSLAST(TIME>105959 AND TIME<=110000)),2),9)),COLORFF00FF,LINETHICK2;
DRAWTEXTABS(305,95,STRRIGHT(''+NUMTOSTRN(REF(大净额,BARSLAST(TIME>105959 AND TIME<=110000)),2),9)),COLOR3366FF,LINETHICK2;
DRAWTEXTABS(305,115,STRRIGHT(''+NUMTOSTRN(REF(中净额,BARSLAST(TIME>105959 AND TIME<=110000)),2),9)),COLORFFFF33,LINETHICK2;
DRAWTEXTABS(305,135,STRRIGHT(''+NUMTOSTRN(REF(散净额,BARSLAST(TIME>105959 AND TIME<=110000)),2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTABS(385,55,STRRIGHT(''+NUMTOSTRN(REF(特净额+大净额,BARSLAST(TIME>112959 AND TIME<=113000)),2),9)),COLOR3300FF,LINETHICK2; {11点半显示各资金净买入数据}
DRAWTEXTABS(385,75,STRRIGHT(''+NUMTOSTRN(REF(特净额,BARSLAST(TIME>112959 AND TIME<=113000)),2),9)),COLORFF00FF,LINETHICK2;
DRAWTEXTABS(385,95,STRRIGHT(''+NUMTOSTRN(REF(大净额,BARSLAST(TIME>112959 AND TIME<=113000)),2),9)),COLOR3366FF,LINETHICK2;
DRAWTEXTABS(385,115,STRRIGHT(''+NUMTOSTRN(REF(中净额,BARSLAST(TIME>112959 AND TIME<=113000)),2),9)),COLORFFFF33,LINETHICK2;
DRAWTEXTABS(385,135,STRRIGHT(''+NUMTOSTRN(REF(散净额,BARSLAST(TIME>112959 AND TIME<=113000)),2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTABS(460,55,STRRIGHT(''+NUMTOSTRN(REF(特净额+大净额,BARSLAST(TIME>132959 AND TIME<=133000)),2),10)),COLOR3300FF,LINETHICK2; {13点半显示各资金净买入数据}
DRAWTEXTABS(460,75,STRRIGHT(''+NUMTOSTRN(REF(特净额,BARSLAST(TIME>132959 AND TIME<=133000)),2),10)),COLORFF00FF,LINETHICK2;
DRAWTEXTABS(460,95,STRRIGHT(''+NUMTOSTRN(REF(大净额,BARSLAST(TIME>132959 AND TIME<=133000)),2),10)),COLOR3366FF,LINETHICK2;
DRAWTEXTABS(460,115,STRRIGHT(''+NUMTOSTRN(REF(中净额,BARSLAST(TIME>132959 AND TIME<=133000)),2),10)),COLORFFFF33,LINETHICK2;
DRAWTEXTABS(460,135,STRRIGHT(''+NUMTOSTRN(REF(散净额,BARSLAST(TIME>132959 AND TIME<=133000)),2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTABS(540,55,STRRIGHT(''+NUMTOSTRN(REF(特净额+大净额,BARSLAST(TIME>135959 AND TIME<=140000)),2),10)),COLOR3300FF,LINETHICK2; {14点显示各资金净买入数据}
DRAWTEXTABS(540,75,STRRIGHT(''+NUMTOSTRN(REF(特净额,BARSLAST(TIME>135959 AND TIME<=140000)),2),10)),COLORFF00FF,LINETHICK2;
DRAWTEXTABS(540,95,STRRIGHT(''+NUMTOSTRN(REF(大净额,BARSLAST(TIME>135959 AND TIME<=140000)),2),10)),COLOR3366FF,LINETHICK2;
DRAWTEXTABS(540,115,STRRIGHT(''+NUMTOSTRN(REF(中净额,BARSLAST(TIME>135959 AND TIME<=140000)),2),10)),COLORFFFF33,LINETHICK2;
DRAWTEXTABS(540,135,STRRIGHT(''+NUMTOSTRN(REF(散净额,BARSLAST(TIME>135959 AND TIME<=140000)),2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTABS(620,55,STRRIGHT(''+NUMTOSTRN(REF(特净额+大净额,BARSLAST(TIME>142959 AND TIME<=143000)),2),10)),COLOR3300FF,LINETHICK2; {14点半显示各资金净买入数据}
DRAWTEXTABS(620,75,STRRIGHT(''+NUMTOSTRN(REF(特净额,BARSLAST(TIME>142959 AND TIME<=143000)),
上一页精简四合一 下一页BS决策+超赢分类持仓决策