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

    正文概述    2024-04-13 13:19:17  

    周期微调:=5;
    顶底开关:=1;
    结构带开关:=1;
    kdjA :=3*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1),NODRAW;
    STICKLINE(顶底开关 0 AND (kdJA =90),CLOSE,OPEN,3,0),COLOR009CFF;
    STICKLINE(顶底开关 0 AND (KDJA =90),CLOSE,OPEN,2.8,0),COLOR009CFF;
    STICKLINE(顶底开关 0 AND (KDJA =90),CLOSE,OPEN,2.5,0),COLOR00C0FF;
    STICKLINE(顶底开关 0 AND (KDJA =90),CLOSE,OPEN,1.5,0),COLOR00D1FF;
    STICKLINE(顶底开关 0 AND (KDJA =90),CLOSE,OPEN,1,0),COLOR00EAFF;
    STICKLINE(顶底开关 0 AND (KDJA =90),CLOSE,OPEN,0.7,0),COLORYELLOW;
    STICKLINE(顶底开关 0 AND (KDJA =10),OPEN,CLOSE,3,0),COLORFF0000;
    STICKLINE(顶底开关 0 AND (KDJA =10),OPEN,CLOSE,2.5,0),COLORFF1100;
    STICKLINE(顶底开关 0 AND (KDJA =10),OPEN,CLOSE,2,0),COLORFF2200;
    STICKLINE(顶底开关 0 AND (KDJA =10),OPEN,CLOSE,1.5,0),COLORFF3300;
    STICKLINE(顶底开关 0 AND (KDJA =10),OPEN,CLOSE,1,0),COLORFF4400;
    STICKLINE(顶底开关 0 AND (KDJA =10),OPEN,CLOSE,0.5,0),COLORFF5500;
    STICKLINE(顶底开关 0 AND (KDJA =10),H,L,0,0),COLORFF6600;
    A1:=REF(HIGH,周期微调)=HHV(HIGH,12+1);
    B1:=FILTER(A1,周期微调);
    C1:=BacKSET(B1,周期微调+1);
    D1:=FILTER(C1,周期微调);{高点}
    A2:=REF(LOW,周期微调)=LLV(LOW,10+1);
    B2:=FILTER(A2,周期微调);
    C2:=BACKSET(B2,周期微调+1);
    D2:=FILTER(C2,周期微调);{低点}
    E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
    E2:=(HIGH+LOW)/2;{高低点出现在同一k线上时可作取舍}
    H1:=(D1 AND NOT(D2 AND E1 =E2)) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
    H2:=D1 AND NOT(D2 AND E1 =E2);
    L1:=D2 AND NOT(D1 AND E1=E2);
    X1:=REF(BArslAST(H1),1)+1;
    F1:=BACKSET(H1 AND COUNT(L1,X1) 0,LLVBARS(IF(L1,LOW,10000),X1));
    G1:=F1 REF(F1,1);
    I1:=BACKSET(G1,2);
    LD:=I1 REF(I1,1);{过滤后低点}
    L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
    X2:=REF(BARSLAST(L2),1)+1;
    F2:=BACKSET(L2 AND COUNT(H2,X2) 0,HHVBARS(IF(H2,HIGH,0),X2));
    G2:=F2 REF(F2,1);
    I2:=BACKSET(G2,2);
    HD:=I2 REF(I2,1);{过滤后高点}
    A3:=H;

    源码太长,末粘贴完,请下载附件源码..

    通达信自动预测主图指标公式源码

    通达信自动预测主图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信自动预测主图指标公式源码 加入收藏