最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • CPW實戰決策系統

    正文概述    2024-04-08 00:27:05  

    参数:X(15),Y(14)

    A1:=IF(HIGH =REF(HIGH,1) AND HIGH =REF(HIGH,2) AND HIGH =REF(HIGH,3) AND HIGH =REF(HIGH,4) AND HIGH =REF(HIGH,5),LOW,0);
    B:=IF(LOW =REF(LOW,1) AND LOW =REF(LOW,2) AND LOW =REF(LOW,3) AND LOW =REF(LOW,4) AND LOW =REF(LOW,5),HIGH,888888);
    A:=A1-15;
    P1:=IF(A REF(LOW,1),REF(LOW,1),0);
    P2:=IF(A REF(LOW,2) AND A =REF(LOW,1),REF(LOW,2),0);
    P3:=IF(A REF(LOW,3) AND A =REF(LOW,1) AND A =REF(LOW,2),REF(LOW,3),0);
    P4:=IF(A REF(LOW,4) AND A =REF(LOW,1) AND A =REF(LOW,2) AND A =REF(LOW,3),REF(LOW,4),0);
    P5:=IF(A REF(LOW,5) AND A =REF(LOW,1) AND A =REF(LOW,2) AND A =REF(LOW,3) AND A =REF(LOW,4),REF(LOW,5),0);
    P6:=IF(A REF(LOW,6) AND A =REF(LOW,1) AND A =REF(LOW,2) AND A =REF(LOW,3) AND A =REF(LOW,4) AND A =REF(LOW,5),REF(LOW,6),0);
    P7:=IF(A REF(LOW,7) AND A =REF(LOW,1) AND A =REF(LOW,2) AND A =REF(LOW,3) AND A =REF(LOW,4) AND A =REF(LOW,5) AND A =REF(LOW,6),REF(LOW,7),0);
    P8:=IF(A REF(LOW,8) AND A =REF(LOW,1) AND A =REF(LOW,2) AND A =REF(LOW,3) AND A =REF(LOW,4) AND A =REF(LOW,5) AND A =REF(LOW,6) AND A =REF(LOW,7),REF(LOW,8),0);
    P9:=IF(A REF(LOW,9) AND A =REF(LOW,1) AND A =REF(LOW,2) AND A =REF(LOW,3) AND A =REF(LOW,4) AND A =REF(LOW,5) AND A =REF(LOW,6) AND A =REF(LOW,7) AND A =REF(LOW,8),REF(LOW,9),0);
    P10:=IF(A REF(LOW,10) AND A =REF(LOW,1) AND A =REF(LOW,2) AND A =REF(LOW,3) AND A =REF(LOW,4) AND A =REF(LOW,5) AND A =REF(LOW,6) AND A =REF(LOW,7) AND A =REF(LOW,8) AND A =REF(LOW,9),REF(LOW,10),0);
    AA:=P1+P2+P3+P4+P5+P6+P7+P8+P9+P10-14;
    PP1:=IF(AA REF(LOW,1),REF(LOW,1),0);
    PP2:=IF(AA REF(LOW,2) AND AA =REF(LOW,1),REF(LOW,2),0);
    PP3:=IF(AA REF(LOW,3) AND AA =REF(LOW,1) AND AA =REF(LOW,2),REF(LOW,3),0);
    PP4:=IF(AA REF(LOW,4) AND AA =REF(LOW,1) AND AA =REF(LOW,2) AND AA =REF(LOW,3),REF(LOW,4),0);
    PP5:=IF(AA REF(LOW,5) AND AA =REF(LOW,1) AND AA =REF(LOW,2) AND AA =REF(LOW,3) AND AA =REF(LOW,4),REF(LOW,5),0);
    PP6:=IF(AA REF(LOW,6) AND AA =REF(LOW,1) AND AA =REF(LOW,2) AND AA =REF(LOW,3) AND AA =REF(LOW,4) AND AA =REF(LOW,5),REF(LOW,6),0);
    PP7:=IF(AA REF(LOW,7) AND AA =REF(LOW,1) AND AA =REF(LOW,2) AND AA =REF(LOW,3) AND AA =REF(LOW,4) AND AA =REF(LOW,5) AND AA =REF(LOW,6),REF(LOW,7),0);
    PP8:=IF(AA REF(LOW,8) AND AA =REF(LOW,1) AND AA =REF(LOW,2) AND AA =REF(LOW,3) AND AA =REF(LOW,4) AND AA =REF(LOW,5) AND AA =REF(LOW,6) AND AA =REF(LOW,7),REF(LOW,8),0);
    PP9:=IF(AA REF(LOW,9) AND AA =REF(LOW,1) AND AA =REF(LOW,2) AND AA =REF(LOW,3) AND AA =REF(LOW,4) AND AA =REF(LOW,5) AND AA =REF(LOW,6) AND AA =REF(LOW,7) AND AA =REF(LOW,8),REF(LOW,9),0);
    PP10:=IF(AA REF(LOW,10) AND AA =REF(LOW,1) AND AA =REF(LOW,2) AND AA =REF(LOW,3) AND AA =REF(LOW,4) AND AA =REF(LOW,5) AND AA =REF(LOW,6) AND AA =REF(LOW,7) AND AA =REF(LOW,8) AND AA =REF(LOW,9),REF(LOW,10),0);
    AAA:=PP1+PP2+PP3+PP4+PP5+PP6+PP7+PP8+PP9+PP10;
    C1:=ValueWhen(AAA 0,AAA);
    T1:=IF(B REF(HIGH,1),REF(HIGH,1),0);
    T2:=IF(B REF(HIGH,2) AND B =REF(HIGH,1),REF(HIGH,2),0);
    T3:=IF(B REF(HIGH,3) AND B =REF(HIGH,1) AND B =REF(HIGH,2),REF(HIGH,3),0);
    T4:=IF(B REF(HIGH,4) AND B =REF(HIGH,1) AND B =REF(HIGH,2) AND B =REF(HIGH,3),REF(HIGH,4),0);
    T5:=IF(B REF(HIGH,5) AND B =REF(HIGH,1) AND B =REF(HIGH,2) AND B =REF(HIGH,3) AND B =REF(HIGH,4),REF(HIGH,5),0);
    T6:=IF(B REF(HIGH,6) AND B =REF(HIGH,1) AND B =REF(HIGH,2) AND B =REF(HIGH,3) AND B =REF(HIGH,4) AND B =REF(HIGH,5),REF(HIGH,6),0);
    T7:=IF(B REF(HIGH,7) AND B =REF(HIGH,1) AND B =REF(HIGH,2) AND B =REF(HIGH,3) AND B =REF(HIGH,4) AND B =REF(HIGH,5) AND B =REF(HIGH,6),REF(HIGH,7),0);
    T8:=IF(B REF(HIGH,8) AND B =REF(HIGH,1) AND B =REF(HIGH,2) AND B =REF(HIGH,3) AND B =REF(HIGH,4) AND B =REF(HIGH,5) AND B =REF(HIGH,6) AND B =REF(HIGH,7),REF(HIGH,8),0);
    T9:=IF(B REF(HIGH,9) AND B =REF(HIGH,1) AND B =REF(HIGH,2) AND B =REF(HIGH,3) AND B =REF(HIGH,4) AND B =REF(HIGH,5) AND B =REF(HIGH,6) AND B =REF(HIGH,7) AND B =REF(HIGH,8),REF(HIGH,9),0);
    T10:=IF(B REF(HIGH,10) AND B =REF(HIGH,1) AND B =REF(HIGH,2) AND B =REF(HIGH,3) AND B =REF(HIGH,4) AND B =REF(HIGH,5) AND B =REF(HIGH,6) AND B =REF(HIGH,7) AND B =REF(HIGH,8) AND B =REF(HIGH,9),REF(HIGH,10),0);
    BB:=IF(T1+T2+T3+T4+T5+T6+T7+T8+T9+T10=0,888888,T1+T2+T3+T4+T5+T6+T7+T8+T9+T10);
    TT1:=IF(BB REF(HIGH,1),REF(HIGH,1),0);
    TT2:=IF(BB REF(HIGH,2) AND BB =REF(HIGH,1),REF(HIGH,2),0);
    TT3:=IF(BB REF(HIGH,3) AND BB =REF(HIGH,1) AND BB =REF(HIGH,2),REF(HIGH,3),0);
    TT4:=IF(BB REF(HIGH,4) AND BB =REF(HIGH,1) AND BB =REF(HIGH,2) AND BB =REF(HIGH,3),REF(HIGH,4),0);
    TT5:=IF(BB REF(HIGH,5) AND BB =REF(HIGH,1) AND BB =REF(HIGH,2) AND BB =REF(HIGH,3) AND BB =REF(HIGH,4),REF(HIGH,5),0);
    TT6:=IF(BB REF(HIGH,6) AND BB =REF(HIGH,1) AND BB =REF(HIGH,2) AND BB =REF(HIGH,3) AND BB =REF(HIGH,4) AND BB =REF(HIGH,5),REF(HIGH,6),0);
    TT7:=IF(BB REF(HIGH,7) AND BB =REF(HIGH,1) AND BB =REF(HIGH,2) AND BB =REF(HIGH,3) AND BB =REF(HIGH,4) AND BB =REF(HIGH,5) AND BB =REF(HIGH,6),REF(HIGH,7),0);
    TT8:=IF(BB REF(HIGH,8) AND BB =REF(HIGH,1) AND BB =REF(HIGH,2) AND BB =REF(HIGH,3) AND BB =REF(HIGH,4) AND BB =REF(HIGH,5) AND BB =REF(HIGH,6) AND BB =REF(HIGH,7),REF(HIGH,8),0);
    TT9:=IF(BB REF(HIGH,9) AND BB =REF(HIGH,1) AND BB =REF(HIGH,2) AND BB =REF(HIGH,3) AND BB =REF(HIGH,4) AND BB =REF(HIGH,5) AND BB =REF(HIGH,6) AND BB =REF(HIGH,7) AND BB =REF(HIGH,8),REF(HIGH,9),0);
    TT10:=IF(BB REF(HIGH,10) AND BB =REF(HIGH,1) AND BB =REF(HIGH,2) AND BB =REF(HIGH,3) AND BB =REF(HIGH,4) AND BB =REF(HIGH,5) AND BB =REF(HIGH,6) AND BB =REF(HIGH,7) AND BB =REF(HIGH,8) AND BB =REF(HIGH,9),REF(HIGH,10),0);
    BBB:=TT1+TT2+TT3+TT4+TT5+TT6+TT7+TT8+TT9+TT10;
    D:=ValueWhen(BBB 0,BBB);
    UD:=IF(CLOSE D AND REF(CLOSE,1) =D,1,IF(CLOSE C1 AND REF(CLOSE,1) =C1,-3,0));
    K:=ValueWhen(UD 0,UD);
    G:=IF(K=1,C1,D);
    POLYLINE(LOW 0,G),LINETHICK2,colorFFFF;
    止损:=G;
    DA:=OPENMINUTES(TIME) 0 OR CLOSE 止损;
    STICKLINE(CLOSE 止损 AND DA,HIGH,LOW,0,0),colorFF;
    STICKLINE(CLOSE 止损 AND DA,CLOSE,OPEN,8,1),colorFF;
    STICKLINE(CLOSE 止损 AND DA,HIGH,LOW,0,0),colorFF0000;
    STICKLINE(CLOSE 止损 AND DA,CLOSE,OPEN,8,1),colorFF0000;
    STICKLINE(CLOSE=止损 AND DA AND REF(HIGH,5) 止损,HIGH,LOW,0,0),colorFF;
    STICKLINE(CLOSE=止损 AND DA AND REF(HIGH,5) 止损,CLOSE,OPEN,8,1),colorFF;
    STICKLINE(CLOSE=止损 AND DA AND REF(LOW,5) 止损,HIGH,LOW,0,0),colorFF0000;
    STICKLINE(CLOSE=止损 AND DA AND REF(LOW,5) 止损,CLOSE,OPEN,8,1),colorFF0000;
    STICKLINE(CLOSE OPEN AND CLOSE 止损 AND DA,CLOSE,OPEN,8,0),colorFF;
    STICKLINE(CLOSE OPEN AND CLOSE 止损 AND DA,CLOSE,OPEN,8,0),colorFF0000;
    STICKLINE(CLOSE OPEN AND CLOSE=止损 AND DA AND REF(HIGH,5) 止损,CLOSE,OPEN,8,0),colorFF;
    STICKLINE(CLOSE OPEN AND CLOSE=止损 AND DA AND REF(LOW,5) 止损,CLOSE,OPEN,8,0),colorFF0000;
    DRAWTEXT((REF(CLOSE,1) REF(止损,1) AND CLOSE 止损 OR REF(CLOSE,1)=REF(止损,1) AND REF(LOW,6) REF(止损,1) AND CLOSE 止损 OR REF(CLOSE,1) REF(止损,1) AND CLOSE=止损 AND REF(HIGH,5) 止损 OR REF(CLOSE,1)=REF(止损,1) AND REF(LOW,6) REF(止损,1) AND CLOSE=止损 AND REF(HIGH,5) 止损) AND DA,LOW-0.02,'多'),colorFF00FF;
    DRAWTEXT((REF(CLOSE,1) REF(止损,1) AND CLOSE 止损 OR REF(CLOSE,1)=REF(止损,1) AND REF(HIGH,6) REF(止损,1) AND CLOSE 止损 OR REF(CLOSE,1) REF(止损,1) AND CLOSE=止损 AND REF(LOW,5) 止损 OR REF(CLOSE,1)=REF(止损,1) AND REF(HIGH,6) REF(止损,1) AND CLOSE=止损 AND REF(LOW,5) 止损) AND DA,HIGH+0.06,'空'),colorFF00;
    DRAWICON((REF(CLOSE,1) REF(止损,1) AND CLOSE 止损 OR REF(CLOSE,1)=REF(止损,1) AND REF(LOW,6) REF(止损,1) AND CLOSE 止损 OR REF(CLOSE,1) REF(止损,1) AND CLOSE=止损 AND REF(HIGH,5) 止损 OR REF(CLOSE,1)=REF(止损,1) AND REF(LOW,6) REF(止损,1) AND CLOSE=止损 AND REF(HIGH,5) 止损) AND DA,LOW-0.02,4);
    DRAWICON((REF(CLOSE,1) REF(止损,1) AND CLOSE 止损 OR REF(CLOSE,1)=REF(止损,1) AND REF(HIGH,6) REF(止损,1) AND CLOSE 止损 OR REF(CLOSE,1) REF(止损,1) AND CLOSE=止损 AND REF(LOW,5) 止损 OR REF(CLOSE,1)=REF(止损,1) AND REF(HIGH,6) REF(止损,1) AND CLOSE=止损 AND REF(LOW,5) 止损) AND DA,HIGH+0.06,5);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » CPW實戰決策系統 加入收藏