最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信成交量强弱比指标公式

    正文概述    2024-04-13 15:16:57  

    {成交量}
    成交量:vol,VOLSTICK;
    {预计量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORFFFF00;}
    VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
    买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE 卖盘:-IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 净买:(买盘-卖盘),COLORYELLOW,NODRAW;
    换手率:HSL,COLORWHITE,NODRAW;
    累计10日换手:SUM(换手率,10),NODRAW;
    {绿色柱子}
    STICKLINE(VOL>0,VOL,0,3,0),COLOR005500;
    {红色柱子}
    STICKLINE(买盘>0,0,买盘,3,0),COLOR0000BB;
    五周期量:MA(VOL,5),COLORWHITE,LINETHICK1;
    十周期量:MA(VOL,10),COLORFFFF00,LINETHICK1;
    TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
    MTIME:=MOD(FROMOPEN,TOTAL);
    CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
    VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
    obv1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
    OBV2:=EMA(OBV1,3)-MA(OBV1,9);
    OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
    Mac3:=MA(C,3);
    STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,0.1,0),COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信成交量强弱比指标公式 加入收藏