收费版DDX每半小时的统计 因为是我收费时使用的,我现在盘后才能看到,网友需要我发给大家,是我编的和别的分时阶段不一样,你看好不好使,各取所需吧,
{分时阶段}
DRAWRECTREL(-1,0,1000,1000,RGB(0,0,10)),color00FF00,LINETHICK2,LAYER7;0,DOTLINE,LAYER0;
BBD:SUM((ordervol(1,2)-ordervol(2,2))/v*amount/10000,0),linethick0;
DRAWTEXTABS(500,10,’ 【资金BBD>10万:’ + IFS((BBD)>=0,’流入】 ‘,’流出】’) +NUMTOSTRN((BBD),0)+’万; ‘),LINETHICK0,COLOR00FFff;
BBDT:SUM((ordervol(1,3)-ordervol(2,3))/v*amount/10000,0),linethick0;
DRAWTEXTABS(70,65,’【特单>50万】:▄ ‘+NUMTOSTRN(BBDT,2)+’万’),COLORff9900,LINETHICK0;
BBDD:BBD-BBDT,linethick0;
DRAWTEXTABS(70,45,’【大单10-50万】:▄ ‘+NUMTOSTRN(BBDD,2)+’万’),COLOR0077FF,LINETHICK0;
BBD中入:=SUM((ordervol(1,1)-ordervol(1,2))/v*amount/10000,0);
BBD中出:=SUM((ordervol(2,1)-ordervol(2,2))/v*amount/10000,0);
BBDZ:BBD中入-BBD中出,linethick0;
DRAWTEXTABS(70,25,’【中单2-10万】:▄ ‘+NUMTOSTRN(BBDZ,2)+’万’),COLOR00FFFF,LINETHICK0;
BBD小入:=SUM((1-ordervol(1,1))/v*amount/10000,0);
BBD小出:=SUM((1-ordervol(2,1))/v*amount/10000,0);
BBDX:BBD小入-BBD小出,linethick0;
DRAWTEXTABS(70,5,’【小单<2万】:▄ ‘+NUMTOSTRN(BBDX,2)+’万’),COLOR00FF00,LINETHICK0;
{以上可单独使用也是一个公式}
主力净额:BBD,PRECIS2,colorred,linethick2;
特净额:BBDT,colorff9900,LAYER0,linethick2; ;
大净额:BBDD,color0077ff,LAYER0; ;
中净额:BBDZ,color00ffff,DOTLINE,LAYER0;
散净额:BBDX,color00ff00,DOTLINE,LAYER0; ;
主力净额-ref(主力净额,1),colorstick,LINETHICK1;
{STICKLINE(主力净额>0,(特净额+大净额),主力净额+(特净额+大净额),2,0),COLOR0000ff,LINETHICK2;
STICKLINE(主力净额<0,(特净额+大净额),主力净额+(特净额+大净额),2,0),COLOR00ff00,LINETHICK2;}
DRAWTEXTREL(3,200,’成交单:>10W ‘),COLOR00FFFF,LINETHICK3;
DRAWTEXTREL(3,370,’成交单:<2.0W’),COLOR00FfFF,LINETHICK3;
分钟数A:(TIME0=36000),PRECIS0,linethick0;
VERTLINE(分钟数A,1),COLOR00FF00,LAYER4;
分钟数AB:(TIME0=37800),PRECIS0,linethick0;
VERTLINE(分钟数AB,4),COLOR00FFFF,LAYER4;
分钟数B:(TIME0=39600),PRECIS0,linethick0;
VERTLINE(分钟数B,1),COLOR00FF00,LAYER4;
分钟数C:(TIME0=41400),PRECIS0,linethick0;
VERTLINE(分钟数C,4),COLOR00FFFF,LAYER4;
分钟数CB:(TIME0=48600),PRECIS0,linethick0;
VERTLINE(分钟数CB,1),COLOR00FF00,LAYER4;
分钟数D:(TIME0=50400),PRECIS0,linethick0;
VERTLINE(分钟数D,4),COLOR00FFFF,LAYER4;
分钟数DB:(TIME0=52200),PRECIS0,linethick0;
VERTLINE(分钟数DB,1),COLOR00FF00,LAYER4; 分钟数E:(TIME0=54000),PRECIS0,linethick0; VERTLINE(分钟数E,4),COLOR00FFFF,LAYER4;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/160038.html,转载请注明出处。