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

    正文概述    2024-04-13 15:26:38  

    VM:=11;N:=11;
    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);
    Vvol:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
    STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
    VOLUME:VOL,VOLSTICK;
    V5:=MA(V,VM);
    T:=ALIGNRIGHT(MOD(CURRBARSCOUNT,N));
    HH:=HHV(V5,N);
    STICKLINE(T=1,0,HH,0,0),COLORYELLOW;
    STICKLINE(T=0,0,REFX(HH,BARSNEXT(T=1)),0,0),COLORYELLOW;
    DRAWLINE(T=0,REFX(HH,BARSNEXT(T=1)),T=1,HH,0),COLORYELLOW;
    DRAWLINE(T=1,HH,T=0,REFX(HH,BARSNEXT(T=1)),0),COLORBLacK;
    VM1:=22;N1:=22;
    VM5:=MA(V,VM1);
    T1:=ALIGNRIGHT(MOD(CURRBARSCOUNT,N1));
    HH1:=HHV(V5,N1);
    STICKLINE(T1=1,0,HH1,0,0),COLORYELLOW;
    STICKLINE(T1=0,0,REFX(HH1,BARSNEXT(T1=1)),0,0),COLORWHITE;
    DRAWLINE(T1=0,REFX(HH1,BARSNEXT(T1=1)),T1=1,HH1,0),COLORWHITE;
    DRAWLINE(T1=1,HH1,T1=0,REFX(HH1,BARSNEXT(T1=1)),0),COLORBLACK;
    两倍量:=SUM(V>REF(V,1)*1.9,5)=2;
    STICKLINE(两倍量,0,VOL,0.7,30),COLORMAGENTA;
    倍量:=VOL/REF(VOL,1)>=1.9;
    STICKLINE(倍量,0,VOL,1,0),COLORFF00FF;
    STICKLINE(倍量,0,VOL*2/3,1.5,0),COLORFF0000;
    STICKLINE(倍量,0,VOL/2,2,0),COLOR00FFFF;
    STICKLINE(倍量,0,VOL/3,2.5,0),COLOR00FF00;
    STICKLINE(倍量,0,VOL/4,3,0),COLORFFFFFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信均量画矩形指标公式 加入收藏