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

    正文概述    2024-04-13 11:22:59  

    M1:=5;
    M2:=10;
    M3:=20;
    虚拟VOL:=IF(CURRBARSCOUNT=1 AND PERIOD=2,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=2,虚拟VOL,0,-1,-1),NODRAW;
    成交量:VOL,VOLSTICK,COLORCYAN;
    换手率:VOL/CAPITAL*100,,NODRAW;
    十日换手:SUM(V/CAPITAL*100,10),COLORLICYAN,NODRAW;
    量能饱和:(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,COLORLIMAGENTA,NODRAW;
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    主动买盘:=IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
    主动卖盘:=IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
    买卖盘比:-(主动买盘/主动卖盘),NODRAW,COLORYELLOW;
    STICKLINE(主动买盘 0,0,主动买盘,2.2,0),COLORLICYAN;
    STICKLINE(主动卖盘 0,VOL,主动买盘,2.2,0),COLOR007900;
    换手:=VOL/CAPITAL*100,NODRAW;
    STICKLINE(换手 0,0,主动买盘,0,0),COLORYELLOW;
    STICKLINE(换手 0,VOL,主动买盘,0,0),COLORRED;
    MA5:MA(VOL,M1),COLORWHITE;
    MA10:MA(VOL,M2),COLORYELLOW;
    MA20:MA(VOL,M3),COLORMAGENTA;
    AHC2:=(HIGH-LOW);
    AHC3:=ABS((OPEN-CLOSE));
    AHC4:=(HIGH-IF((CLOSE OPEN),CLOSE,OPEN));
    AHC5:=(IF((CLOSE OPEN),OPEN,CLOSE)-LOW);
    AHC6:=((AHC3/AHC2)*VOL);
    AHC7:=((AHC4/AHC2)*VOL);
    AHC8:=((AHC5/AHC2)*VOL);
    AHCA:=(((CLOSE-MA(CLOSE,5))/MA(CLOSE,5))*100);
    AHCB:=(((MA(CLOSE,5) MA(CLOSE,10)) (MA(CLOSE,10) MA(CLOSE,30))) (MA(CLOSE,30) MA(CLOSE,60)));
    AHCC:=((MA(CLOSE,5) MA(CLOSE,10)) (MA(CLOSE,10) MA(CLOSE,30)));

    通达信量能饱和副图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信量能饱和副图指标公式源码 加入收藏