最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信分时图上看资金进出副图公式

    正文概述    2024-04-13 20:29:52  

    这个公式可是分时图上使用的啊,可不要放到K线图里用啊,
    可以看分时图上的,机构,主力,散户,大户,红线进,绿线出
     

    通达信 分时资金 副图 指标源码

    超买:=IF((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
    超卖:=IF((AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
    大买:=IF(((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.025/100))AND(ISBUYORDER,AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
    大卖:=IF(((AMOUNT>=(FINANCE(40)*0.025/100))AND(AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
    中买:=IF(((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.005/100))AND(ISBUYORDER,AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
    中卖:=IF(((AMOUNT>=(FINANCE(40)*0.005/100))AND(AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
    散买:=IF((ISBUYORDER,AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
    散卖:=IF((AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
    Z:=(SUM(超买,0)-SUM(超卖,0))+(SUM(大买,0)-SUM(大卖,0))+(SUM(中买,0)-SUM(中卖,0))+(SUM(散买,0)-SUM(散卖,0));
    ★总净:Z,COLORSTICK;
    ★主净:(SUM(超买,0)-SUM(超卖,0))+(SUM(大买,0)-SUM(大卖,0)),LINETHICK8,COLORYELLOW;
    ★超净:SUM(超买,0)-SUM(超卖,0),COLORRED,LINETHICK2;
    ★大净:SUM(大买,0)-SUM(大卖,0),COLORMAGENTA,LINETHICK2;
    ★中净:SUM(中买,0)-SUM(中卖,0),COLORBLUE,LINETHICK1;
    ★散净:SUM(散买,0)-SUM(散卖,0),COLORGREEN,LINETHICK1;

    DRAWTEXT(ISLASTBAR AND C,★主净,'★主力'),COLORYELLOW;
    DRAWTEXT(ISLASTBAR AND C,★超净,'★机构'),COLORRED;
    DRAWTEXT(ISLASTBAR AND C,★大净,'★大户'),COLORMAGENTA;
    DRAWTEXT(ISLASTBAR AND C,★中净,'★中户'),COLORBLUE;
    DRAWTEXT(ISLASTBAR AND C,★散净,'★散户'),COLORGREEN;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信分时图上看资金进出副图公式 加入收藏