股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 理想数据的分时阶段资金的指标


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-21 17:21:25
理想数据的分时阶段资金的指标介绍

理想数据的分时阶段资金的指标

特单买:=("DDEDATA@BIGORDERSCALE"(1,3))*SUM(AMOUNT,0)/10000;
特单卖:=("DDEDATA@BIGORDERSCALE"(2,3))*SUM(AMOUNT,0)/10000;
特净额:特单买-特单卖,COLOR0000ff;
大单买:=(("DDEDATA@BIGORDERSCALE"(1,2))-("DDEDATA@BIGORDERSCALE"(1,3)))*SUM(AMOUNT,0)/10000;
大单卖:=(("DDEDATA@BIGORDERSCALE"(2,2))-("DDEDATA@BIGORDERSCALE"(2,3)))*SUM(AMOUNT,0)/10000;
大净额:大单买-大单卖,COLOR1e90ff;
DRAWRECTREL(0,3,1000,1000,RGB(10,10,10)),COLOR000000;
DRAWRECTREL(1,150,999,999,RGB(0,50,50)),COLORFFFFFF;

DRAWTEXTREL(500,-60,'《帅哥一郎 修改》'),COLOR0000FF,LINETHICK4;
DRAWTEXTREL(0,15,'如无数据,请切换分时DDX'),COLOR0000FF,LINETHICK1;
DRAWTEXTREL(20,200,'数 据 分 类'),COLORFF00FF,LINETHICK3;
DRAWTEXTREL(20,410,'超 大 账 户'),COLOR0000FF,LINETHICK3;
DRAWTEXTREL(20,620,'大 户 账 户'),COLOR3366FF,LINETHICK3;

DRAWTEXTREL(150,200,'9:30-10:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(245,200,'10:00-10:30'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(340,200,'10:30-11:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(435,200,'11:00-11:30'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(530,200,'13:00-13:30'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(625,200,'13:30-14:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(720,200,'14:00-14:30'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(815,200,'14:30-15:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(910,200,'总 净 额'),COLORFFFFFF,LINETHICK2;
{10点}TD10D:=REF(特净额,BARSLAST(TIME<=100000));
DD10D:=REF(大净额,BARSLAST(TIME<=100000));
DRAWTEXTREL(150,410,STRRIGHT(NUMTOSTRN(TD10D,2),9)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(150,620,STRRIGHT(NUMTOSTRN(DD10D,2),9)),COLOR3366FF,LINETHICK2;
{10点半}
TD10DB:=REF(特净额,BARSLAST(TIME>100000 AND TIME<=103000));
DD10DB:=REF(大净额,BARSLAST(TIME>100000 AND TIME<=103000));
DRAWTEXTREL(245,410,STRRIGHT(NUMTOSTRN(TD10DB-TD10D,2),9)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(245,620,STRRIGHT(NUMTOSTRN(DD10DB-DD10D,2),9)),COLOR3366FF,LINETHICK2;
{11点}
TD11D:=REF(特净额,BARSLAST(TIME>103000 AND TIME<=110000));
DD11D:=REF(大净额,BARSLAST(TIME>103000 AND TIME<=110000));
DRAWTEXTREL(340,410,STRRIGHT(NUMTOSTRN(TD11D-TD10DB,2),9)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(340,620,STRRIGHT(NUMTOSTRN(DD11D-DD10DB,2),9)),COLOR3366FF,LINETHICK2;
{11点半}
TD11DB:=REF(特净额,BARSLAST(TIME>110000 AND TIME<=113000));
DD11DB:=REF(大净额,BARSLAST(TIME>110000 AND TIME<=113000));
DRAWTEXTREL(435,410,STRRIGHT(NUMTOSTRN(TD11DB-TD11D,2),9)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(435,620,STRRIGHT(NUMTOSTRN(DD11DB-DD11D,2),9)),COLOR3366FF,LINETHICK2;
{13点半}
TD13DB:=REF(特净额,BARSLAST(TIME>130000 AND TIME<=133000));
DD13DB:=REF(大净额,BARSLAST(TIME>130000 AND TIME<=133000));
DRAWTEXTREL(530,410,STRRIGHT(NUMTOSTRN(TD13DB-TD11DB,2),10)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(530,620,STRRIGHT(NUMTOSTRN(DD13DB-DD11DB,2),10)),COLOR3366FF,LINETHICK2;
{14点}
TD14D:=REF(特净额,BARSLAST(TIME>133000 AND TIME<=140000));
DD14D:=REF(大净额,BARSLAST(TIME>133000 AND TIME<=140000));
DRAWTEXTREL(625,410,STRRIGHT(NUMTOSTRN(TD14D-TD13DB,2),10)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(625,620,STRRIGHT(NUMTOSTRN(DD14D-DD13DB,2),10)),COLOR3366FF,LINETHICK2;
{14点半}
TD14DB:=REF(特净额,BARSLAST(TIME>140000 AND TIME<=143000));
DD14DB:=REF(大净额,BARSLAST(TIME>140000 AND TIME<=143000));
DRAWTEXTREL(720,410,STRRIGHT(NUMTOSTRN(TD14DB-TD14D,2),10)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(720,620,STRRIGHT(NUMTOSTRN(DD14DB-DD14D,2),10)),COLOR3366FF,LINETHICK2;
{15点}
TD15D:=REF(特净额,BARSLAST(TIME>143000 AND TIME<=150000));
DD15D:=REF(大净额,BARSLAST(TIME>143000 AND TIME<=150000));
DRAWTEXTREL(815,410,STRRIGHT(NUMTOSTRN(TD15D-TD14DB,2),10)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(815,620,STRRIGHT(NUMTOSTRN(DD15D-DD14DB,2),10)),COLOR3366FF,LINETHICK2;
{总净额}
DRAWTEXTREL(910,410,STRRIGHT(NUMTOSTRN(特净额,2),10)),COLOR0000FF,LINETHICK4;
DRAWTEXTREL(910,620,STRRIGHT(NUMTOSTRN(大净额,2),10)),COLOR3366FF,LINETHICK4;
 


 




 



gd14640

回复

举报

QQ|

GMT+8, 2024-11-16 13:10

快速回复 返回顶部 返回列表