最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 凤凰升降线指标

    正文概述    2024-04-14 21:12:37  

    N:=1;

    XOPEN:=(REF(O,N)+REF(C,N))/2;

    XCLOSE:=CLOSE;

    XHIGH:=MAX(HIGH,XOPEN);

    XLOW:=MIN(LOW,XOPEN);

    ALITY:=MA(XHIGH-XLOW,8);

    凰线:MA(XCLOSE,5)+VOLALITY/2;

    凤线:MA(XCLOSE,5)-VOLALITY/2;

    凰线升:IF(凰线 REF(凰线,1),凰线,DRAWNULL),COLORRED,LINETHICK2;

    凰线降:IF(凰线 REF(凰线,1),凰线,DRAWNULL),COLORGREEN,LINETHICK2;

    凤线升:IF(凤线 REF(凤线,1),凤线,DRAWNULL),COLORMAGENTA,LINETHICK2;

    凤线降:IF(凤线 REF(凤线,1),凤线,DRAWNULL),COLORGREEN,LINETHICK2;

    BU:=CROSS(XCLOSE,凰线);

    SEL:=CROSS(凤线,XCLOSE);

    VAR1:=BARSLAST(BU);

    VAR2:=BARSLAST(SEL);

    买:DRAWICON(REF(VAR1,1) VAR2 AND VAR1=0,凤线*0.99,1);

    卖:DRAWICON(REF(VAR2,1) VAR1 AND VAR2=0,凰线*1.01,2);

    STICKLINE(XCLOSE XOPEN AND VAR1 VAR2,XCLOSE,XOPEN ,8,0 ),COLORRED;

    STICKLINE(XCLOSE XOPEN AND VAR1 VAR2,XHIGH,XCLOSE ,0.5,0 ),COLORRED;

    STICKLINE(XCLOSE XOPEN AND VAR1 VAR2,XOPEN,XLOW ,0.5,0 ),COLORRED;

    STICKLINE(XCLOSE =XOPEN AND VAR1 VAR2,XCLOSE,XOPEN ,8,0 ),COLORYELLOW;

    STICKLINE(XCLOSE =XOPEN AND VAR1 VAR2,XHIGH,XOPEN ,0.5,0 ),COLORYELLOW;

    STICKLINE(XCLOSE =XOPEN AND VAR1 VAR2,XCLOSE,XLOW ,0.5,0 ),COLORYELLOW;

    STICKLINE(XCLOSE =XOPEN AND VAR1 VAR2,XCLOSE ,XOPEN ,8,0 ),COLORGREEN;

    STICKLINE(XCLOSE =XOPEN AND VAR1 VAR2,XOPEN ,XHIGH ,0.5,0 ),COLORGREEN;

    STICKLINE(XCLOSE =XOPEN AND VAR1 VAR2,XCLOSE,XLOW ,0.5,0 ),COLORGREEN;

    STICKLINE(XCLOSE XOPEN AND VAR1 VAR2,XCLOSE ,XOPEN ,8,0 ),COLORMAGENTA;

    STICKLINE(XCLOSE XOPEN AND VAR1 VAR2,XCLOSE,XHIGH ,0.5,0 ),COLORMAGENTA;

    STICKLINE(XCLOSE XOPEN AND VAR1 VAR2,XOPEN,XLOW ,0.5,0 ),COLORMAGENTA;

    {凤凰升降线指标}

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 凤凰升降线指标 加入收藏