最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 把cci公式改为飞狐能用的公式

    正文概述    2024-04-14 08:08:11  

    九毛八公式指标

    公式模块:

    TRR:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
    HD:=HIGH-REF(HIGH,1);
    LD:=REF(LOW,1)-LOW;
    DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
    DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
    pdi:DMP*100/TRR,COLORRED;
    穿破短底:16;
    线上发飙:30;
    AA:=REF(PDI,N)=HHV(PDI,2*N+1);
    BB:=BacKSET(AA,N+1);
    CC:=FILTER(BB,N) AND PDI=HHV(PDI,N+1);
    A1:=BArslAST(REF(CC,1));
    顶背离:=REF(CLOSE,A1+1)<CLOSE AND REF(PDI,A1+1)>PDI AND CC;
    DRAWICON(顶背离,PDI*1.1,2);
    DRAWLINE(CC,PDI,FILTER(顶背离>0,5),PDI,0),COLORGREEN,LINETHICK2;
    AA2:=REF(PDI,N)=LLV(PDI,2*N+1);
    BB2:=BACKSET(AA2,N+1);
    CC2:=FILTER(BB2,N) AND PDI=LLV(PDI,N+1);
    A2:=BARSLAST(REF(CC2,1));
    底背离:=REF(CLOSE,A2+1)>CLOSE AND REF(PDI,A2+1)<PDI AND CC2;

    DRAWICON(底背离,PDI*0.9,1);
    DRAWLINE(CC2,PDI,FILTER(底背离>0,5),PDI,0),COLORBLUE,LINETHICK2;

    {异向并肩精准线}
    异向并肩精准: MIN(O,C)=REF(MAX(O,C),1);

    可以通过了
    n(14 1 100)
    TRR:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
    HD:=HIGH-REF(HIGH,1);
    LD:=REF(LOW,1)-LOW;
    DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
    DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
    PDI:DMP*100/TRR,COLORRED;
    穿破短底:16;
    线上发飙:30;
    AA:=REF(PDI,N)=HHV(PDI,2*N+1);
    BB:=BACKSET(AA,N+1);
    CC:=FILTER(BB,N) AND PDI=HHV(PDI,N+1);
    A1:=BARSLAST(REF(CC,1));
    顶背离:=REF(CLOSE,A1+1)<CLOSE AND REF(PDI,A1+1)>PDI AND CC;
    DRAWICON(顶背离,PDI*1.1,2);
    DRAWLINE(CC,PDI,FILTER(顶背离>0,5),PDI,0),COLORGREEN,LINETHICK2;
    AA2:=REF(PDI,N)=LLV(PDI,2*N+1);
    BB2:=BACKSET(AA2,N+1);
    CC2:=FILTER(BB2,N) AND PDI=LLV(PDI,N+1);
    A2:=BARSLAST(REF(CC2,1));
    底背离:=REF(CLOSE,A2+1)>CLOSE AND REF(PDI,A2+1)<PDI AND CC2;
    DRAWICON(底背离,PDI*0.9,1);
    DRAWLINE(CC2,PDI,FILTER(底背离>0,5),PDI,0),COLORBLUE,LINETHICK2;
    {异向并肩精准线}
    异向并肩精准: MIN(O,C)=REF(MAX(O,C),1);

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把cci公式改为飞狐能用的公式 加入收藏