最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 文华财经期货指标公式大全红绿柱多空波段幅图指标源码下载

    正文概述    2024-05-04 13:51:49  

     VAR1:=HIGH-MAX(OPEN,CLOSE);

    VAR2:=MIN(OPEN,CLOSE)-LOW;

    VAR3:=ABS(CLOSE-OPEN);

    COND_UP:=IF(OPEN =CLOSE,2*VAR3,0);

    COND_DOWN:=IF(OPEN CLOSE,2*VAR3,0);

    DELTAUP:=VOL*0.5*(VAR1+VAR2+COND_UP)/(VAR1+VAR2+VAR3);

    DELTADOWN:=VOL*0.5*(VAR1+VAR2+COND_DOWN)/(VAR1+VAR2+VAR3);

    DELTA:=IF(CLOSE =OPEN,DELTAUP,-DELTADOWN);

    TOTALBARSCOUNT:=BARPOS;

    CUMDELTA:=SUM(DELTA,TOTALBARSCOUNT);

    NEW_O:=REF(CUMDELTA,1);

    NEW_H:=MAX(CUMDELTA,NEW_O);

    NEW_L:=MIN(CUMDELTA,NEW_O);

    NEW_C:=CUMDELTA;

    HACLOSE:=(NEW_O+NEW_H+NEW_L+NEW_C)/4;

    HAOPEN:=DMA(REF(HACLOSE,1),0.5);

    HAHIGH:=MAX(NEW_H,MAX(HAOPEN,HACLOSE));

    HALOW:=MIN(NEW_L,MIN(HAOPEN,HACLOSE));

    STICKLINE(HACLOSE HAOPEN,HAOPEN,HACLOSE,0.8,0),COLORGREEN;

    STICKLINE(HACLOSE HAOPEN,HALOW,HAHIGH,0.1,0),COLORGREEN;

    STICKLINE(HACLOSE =HAOPEN,HAOPEN,HACLOSE,0.8,0),COLORRED;

    STICKLINE(HACLOSE =HAOPEN,HALOW,HAHIGH,0.1,0),COLORRED;

    N:=2;

    指标编写破解微信[13156572780]:0,RGB(191,191,191),NODRAW;

    A1:=REF(HACLOSE,N)=HHV(HACLOSE,2*(N+1)+1);

    B1:=BACKSET(A1,N+1);

    C1:=FILTER(B1,N);

    PERIOD_TOP:=BARSLAST(REF(C1,1));

    TOP_DIV:=REF(CLOSE,PERIOD_TOP+1) CLOSE AND REF(HACLOSE,PERIOD_TOP+1) HACLOSE AND C1;

    DRAWLINE(REF(C1,1),REF(HACLOSE,1),FILTER(TOP_DIV,5),HACLOSE,0),COLORRED,LINETHICK3;

    A2:=REF(HACLOSE,N)=LLV(HACLOSE,2*(N+1)+1);

    B2:=BACKSET(A2,N+1);

    C2:=FILTER(B2,N);

    PERIOD_BOT:=BARSLAST(REF(C2,1));

    BOT_DIV:=REF(CLOSE,PERIOD_BOT+1) CLOSE AND REF(HACLOSE,PERIOD_BOT+1) HACLOSE AND C2;

    DRAWLINE(REF(C2,1),REF(HACLOSE,1),FILTER(BOT_DIV,5),HACLOSE,0),COLORGREEN,LINETHICK3;



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 文华财经期货指标公式大全红绿柱多空波段幅图指标源码下载 加入收藏