最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信主力买卖资金指标公式源码

    正文概述    2024-04-13 07:00:10  

    {指标介绍:红线主买,绿线主卖,粉红线净买。}

    vol,VOLSTICK;
    VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
    成交:VOL;
    主买:IF(CLOSE OPEN,VAR1*(HIGH-LOW),
    IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*1.5,COLORRED,LINETHICK2;
    主卖:IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),
    IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*1.5,COLORGREEN,LINETHICK2;
    AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    买量:=IF(CLOSE OPEN,AA*(HIGH-LOW),IF(CLOSE OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
    卖量:=IF(CLOSE OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
    进出量:=买量+卖量,COLORWHITE;
    N:=4;
    净流入:SUM(进出量,N),LINETHICK3,COLORMAGENTA;
    市值: CAPITAL/100*CLOSE/10000, COLORCYAN;

    通达信主力买卖资金指标公式源码

    通达信主力买卖资金指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信主力买卖资金指标公式源码 加入收藏