最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 理想超赢主力多日动态(超准主图 源码)

    正文概述    2024-04-07 21:26:53  

    {超赢多日-(超赢多日统计副图)}
    TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT and (ORDER(1)=0 and ORDER(2)=0);
    Ddmr:=IF(TODAY,( DDEDATA@BIGORDER (1,2)- DDEDATA@BIGORDER (2,2)),(bigorder(1,2)-bigorder(2,2)))*vol/capital*100;
    Ddmrs:=sum(Ddmr,0);

    小单买:=IF(TODAY,(1- DDEDATA@BIGORDER (1,1)),(1-bigorder(1,1)));
    小单卖:=IF(TODAY,(1- DDEDATA@BIGORDER (2,1)),(1-bigorder(2,1)));
    中单买:=IF(TODAY,( DDEDATA@BIGORDER (1,1)- DDEDATA@BIGORDER (1,2)),(bigorder(1,1)-bigorder(1,2)));
    中单卖:=IF(TODAY,( DDEDATA@BIGORDER (2,1)- DDEDATA@BIGORDER (2,2)),(bigorder(2,1)-bigorder(2,2)));
    大单买:=IF(TODAY,( DDEDATA@BIGORDER (1,2)- DDEDATA@BIGORDER (1,3)),(bigorder(1,2)-bigorder(1,3)));
    大单卖:=IF(TODAY,( DDEDATA@BIGORDER (2,2)- DDEDATA@BIGORDER (2,3)),(bigorder(2,2)-bigorder(2,3)));
    特单买:=IF(TODAY, DDEDATA@BIGORDER (1,3),bigorder(1,3));
    特单卖:=IF(TODAY, DDEDATA@BIGORDER (2,3),bigorder(2,3));
    主单买:=IF(TODAY,( DDEDATA@BIGORDER (1,2)),BIGORDER(1,2));
    主单卖:=IF(TODAY,( DDEDATA@BIGORDER (2,2)),BIGORDER(2,2));

    DRAWTEXTABS(0,5,'★理想超赢主力多日动态★'),COLOR1199FF,LINETHICK3;
    DRAWTEXTABS(0,25,'大盘指数: '+INDEXC),COLOR00FFFF,LINETHICK2;
    DRAWTEXTABS(0,40,'股票代码: '+STKLABEL),COLOR1199FF,LINETHICK2;
    DRAWTEXTABS(0,55,'股票名称: '+STKNAME),COLORFFFF00,LINETHICK2;
    DRAWTEXTABS(0,70,'今日最新: '+DYNAINFO(7)+'元'),COLORFF00FF,LINETHICK2;
    DRAWTEXTABS(0,85,'今日最高: '+DYNAINFO(5)+'元'),COLOR0000FF,LINETHICK2;
    DRAWTEXTABS(0,100,'今日最低: '+DYNAINFO(6)+'元'),COLOR00FF00,LINETHICK2;
    DRAWTEXTABS(0,115,'今日涨幅: '+DYNAINFO(14)*100+'%'),COLOR5B5BFF,LINETHICK2;
    DRAWTEXTABS(0,130,'今日振幅: '+DYNAINFO(13)*100+'%'),COLOR999EEF,LINETHICK2;

    主买:=主单买*AMOUNT/10000;
    主卖:=主单卖*AMOUNT/10000;
    主净:主买-主卖,COLOR00FFFF,LINETHICK0,PRECIS2;
    主增:=(VOL/CAPITAL)*100*(主单买-主单卖);
    超买:=特单买*AMOUNT/10000;
    超卖:=特单卖*AMOUNT/10000;
    超净:超买-超卖,COLOR00FFFF,LINETHICK0,PRECIS2;
    超增:=(VOL/CAPITAL)*100*(特单买-特单卖);
    大买:=大单买*AMOUNT/10000;
    大卖:=大单卖*AMOUNT/10000;
    大净:大买-大卖,COLOR00FFFF,LINETHICK0,PRECIS2;
    大增:=(VOL/CAPITAL)*100*(大单买-大单卖);
    中买:=中单买*AMOUNT/10000;
    中卖:=中单卖*AMOUNT/10000;
    中净:中买-中卖,COLOR00FFFF,LINETHICK0,PRECIS2;
    中增:=(VOL/CAPITAL)*100*(中单买-中单卖);
    散买:=小单买*AMOUNT/10000;
    散卖:=小单卖*AMOUNT/10000;
    散净:散买-散卖,COLOR00FFFF,LINETHICK0,PRECIS2;
    散增:=(VOL/CAPITAL)*100*(小单买-小单卖);
    最大值:=400/(MAX(散买,散卖,中买,中卖,大买,大卖,超买,超卖,主买,主卖,散净,中净,大净,超净,主净));
    散户买:=500-(散买*最大值);
    散户卖:=500-(散卖*最大值);
    散户净买:=500-ABS(散净*最大值);
    中户买:=500-(中买*最大值);
    中户卖:=500-(中卖*最大值);
    中户净买:=500-ABS(中净*最大值);
    大户买:=500-(大买*最大值);
    大户卖:=500-(大卖*最大值);
    大户净买:=500-ABS(大净*最大值);
    超大买:=500-(超买*最大值);
    超大卖:=500-(超卖*最大值);
    超大净买:=500-ABS(超净*最大值);
    主力买:=500-(主买*最大值);
    主力卖:=500-(主卖*最大值);
    主力净买:=500-ABS(主净*最大值);
    DRAWRECTREL(600,散户买,620,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(620,散户卖,640,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(640,散户净买,660,500,(IF((散净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
    DRAWRECTREL(680,中户买,700,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(700,中户卖,720,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(720,中户净买,740,500,(IF((中净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000;
    DRAWRECTREL(760,大户买,780,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(780,大户卖,800,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(800,大户净买,820,500,(IF((大净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000;
    DRAWRECTREL(840,超大买,860,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(860,超大卖,880,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(880,超大净买,900,500,(IF((超净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000;
    DRAWRECTREL(920,主力买,940,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(940,主力卖,960,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(960,主力净买,980,500,(IF((主净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000;

    DRAWRECTREL(920,50,980,503,0),COLOR00FFFF;
    DRAWRECTREL(840,50,900,503,0),COLORFF00FF;
    DRAWRECTREL(760,50,820,503,0),COLOR00FF00;
    DRAWRECTREL(680,50,740,503,0),COLORB5B5B5;
    DRAWRECTREL(600,50,660,503,0),COLORFF9911;

    DRAWRECTREL(519,50,580,505,0),COLOR00FFFF;
    DRAWRECTREL(439,50,500,505,0),COLOR00FFFF;
    DRAWRECTREL(359,50,420,505,0),COLOR00FFFF;
    DRAWRECTREL(279,50,340,505,0),COLOR00FFFF;
    DRAWTEXTREL(240,510,'时期'),COLORDDFFFF;
    DRAWTEXTREL(240,600,'买入'),COLOR0000FF;
    DRAWTEXTREL(240,700,'卖出'),COLOR00FF00;
    DRAWTEXTREL(240,800,'净买'),COLOR00FFFF;
    DRAWTEXTREL(240,900,'增减'),COLOR5B5BFF;
    DRAWTEXTREL(600,510,'今日散户'),COLORDDFFFF;
    DRAWTEXTREL(600,600,NUMTOSTRN(散买,2)),COLOR0000FF;
    DRAWTEXTREL(600,700,NUMTOSTRN(散卖,2)),COLOR00FF00;
    DRAWTEXTREL(600,800,NUMTOSTRN(散净,2)),COLOR00FFFF;
    DRAWTEXTREL(600,900,NUMTOSTRN(散增,2)+'%'),COLOR5B5BFF;
    DRAWTEXTREL(680,510,'今日中户'),COLORDDFFFF;
    DRAWTEXTREL(680,600,NUMTOSTRN(中买,2)),COLOR0000FF;
    DRAWTEXTREL(680,700,NUMTOSTRN(中卖,2)),COLOR00FF00;
    DRAWTEXTREL(680,800,NUMTOSTRN(中净,2)),COLOR00FFFF;
    DRAWTEXTREL(680,900,NUMTOSTRN(中增,2)+'%'),COLOR5B5BFF;
    DRAWTEXTREL(760,510,'今日大户'),COLORDDFFFF;
    DRAWTEXTREL(760,600,NUMTOSTRN(大买,2)),COLOR0000FF;
    DRAWTEXTREL(760,700,NUMTOSTRN(大卖,2)),COLOR00FF00;
    DRAWTEXTREL(760,800,NUMTOSTRN(大净,2)),COLOR1199FF;
    DRAWTEXTREL(760,900,NUMTOSTRN(大增,2)+'%'),COLOR5B5BFF;
    DRAWTEXTREL(840,510,'今日超大'),COLORDDFFFF;
    DRAWTEXTREL(840,600,NUMTOSTRN(超买,2)),COLOR0000FF;
    DRAWTEXTREL(840,700,NUMTOSTRN(超卖,2)),COLOR00FF00;
    DRAWTEXTREL(840,800,NUMTOSTRN(超净,2)),COLOR00FFFF;
    DRAWTEXTREL(840,900,NUMTOSTRN(超增,2)+'%'),COLOR5B5BFF;
    DRAWTEXTREL(920,510,'今日主力'),COLORDDFFFF;
    DRAWTEXTREL(920,600,NUMTOSTRN(主买,2)),COLOR0000FF;
    DRAWTEXTREL(920,700,NUMTOSTRN(主卖,2)),COLOR00FF00;
    DRAWTEXTREL(920,800,NUMTOSTRN(主净,2)),COLOR00FFFF;
    DRAWTEXTREL(920,900,NUMTOSTRN(主增,2)+'%'),COLOR5B5BFF;
    昨买:=REF(主买,1);
    昨卖:=REF(主卖,1);
    昨净:=REF(主净,1);
    昨增:=REF(主增,1);
    昨值:=300/(MAX(昨买,昨卖,昨净));
    昨买A:=500-(昨买*昨值);
    昨卖A:=500-(昨卖*昨值);
    昨净A:=500-ABS(昨净*昨值);
    DRAWRECTREL(521,昨买A,540,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(540,昨卖A,560,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(560,昨净A,579.5,500,(IF((昨净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000;
    DRAWTEXTREL(520,510,'主力昨日'),COLORDDFFFF;
    DRAWTEXTREL(520,600,NUMTOSTRN(昨买,2)),COLOR0000FF;
    DRAWTEXTREL(520,700,NUMTOSTRN(昨卖,2)),COLOR00FF00;
    DRAWTEXTREL(520,800,NUMTOSTRN(昨净,2)),COLOR00FFFF;
    DRAWTEXTREL(520,900,NUMTOSTRN(昨增,2)+'%'),COLOR5B5BFF;
    前一买:=REF(主买,2);
    前一卖:=REF(主卖,2);
    前一净:=REF(主净,2);
    前一增:=REF(主增,2);
    前一值:=300/(MAX(前一买,前一卖,前一净));
    前一买A:=500-(前一买*前一值);
    前一卖A:=500-(前一卖*前一值);
    前一净A:=500-ABS(前一净*前一值);
    DRAWRECTREL(441,前一买A,460,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(460,前一卖A,480,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(480,前一净A,499,500,(IF((前一净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000;
    DRAWTEXTREL(440,510,'主力前一'),COLORDDFFFF;
    DRAWTEXTREL(440,600,NUMTOSTRN(前一买,2)),COLOR0000FF;
    DRAWTEXTREL(440,700,NUMTOSTRN(前一卖,2)),COLOR00FF00;
    DRAWTEXTREL(440,800,NUMTOSTRN(前一净,2)),COLOR00FFFF;
    DRAWTEXTREL(440,900,NUMTOSTRN(前一增,2)+'%'),COLOR5B5BFF;
    前二买:=REF(主买,3);
    前二卖:=REF(主卖,3);
    前二净:=REF(主净,3);
    前二增:=REF(主增,3);
    前二值:=300/(MAX(前二买,前二卖,前二净));
    前二买A:=500-(前二买*前二值);
    前二卖A:=500-(前二卖*前二值);
    前二净A:=500-ABS(前二净*前二值);
    DRAWRECTREL(361,前二买A,380,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(380,前二卖A,400,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(400,前二净A,418,500,(IF((前二净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000;
    DRAWTEXTREL(360,510,'主力前二'),COLORDDFFFF;
    DRAWTEXTREL(360,600,NUMTOSTRN(前二买,2)),COLOR0000FF;
    DRAWTEXTREL(360,700,NUMTOSTRN(前二卖,2)),COLOR00FF00;
    DRAWTEXTREL(360,800,NUMTOSTRN(前二净,2)),COLOR00FFFF;
    DRAWTEXTREL(360,900,NUMTOSTRN(前二增,2)+'%'),COLOR5B5BFF;
    前三买:=REF(主买,4);
    前三卖:=REF(主卖,4);
    前三净:=REF(主净,4);
    前三增:=REF(主增,4);
    前三值:=300/(MAX(前三买,前三卖,前三净));
    前三买A:=500-(前三买*前三值);
    前三卖A:=500-(前三卖*前三值);
    前三净A:=500-ABS(前三净*前三值);
    DRAWRECTREL(281,前三买A,300,500,RGB(200,0,0)),COLOR000000;
    DRAWRECTREL(300,前三卖A,320,500,RGB(0,200,0)),COLOR000000;
    DRAWRECTREL(320,前三净A,339,500,(IF((前三净 = 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000;
    DRAWTEXTREL(280,510,'主力前三'),COLORDDFFFF;
    DRAWTEXTREL(280,600,NUMTOSTRN(前三买,2)),COLOR0000FF;
    DRAWTEXTREL(280,700,NUMTOSTRN(前三卖,2)),COLOR00FF00;
    DRAWTEXTREL(280,800,NUMTOSTRN(前三净,2)),COLOR00FFFF;
    DRAWTEXTREL(280,900,NUMTOSTRN(前三增,2)+'%'),COLOR5B5BFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 理想超赢主力多日动态(超准主图 源码) 加入收藏