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

    正文概述    2024-04-14 17:29:07  

    PL5:=IF(PERIOD>=7,zig(3,1),IF(PERIOD=3,ZIG(1,2),ZIG(1,2)));
    {S说明: 如果周月以上的选5%转向,如果日线选3%转向,如果日线以下周期选2%转向 }
    PL10:=IF(PERIOD>=7,ZIG(3,30),IF(PERIOD=3,ZIG(1,10),ZIG(1,10)));
    {S说明: 如果周月以上的选10%转向,如果日线选5%转向,如果日线以下周期选4%转向 }
    PL20:=IF(PERIOD>=7,ZIG(1,10),IF(PERIOD=3,ZIG(1,30),ZIG(1,20)));
    {S说明: 如果周月以上的选15%转向,如果日线选8%转向,如果日线以下周期选7%转向 }
    EN1:=PL5>REF(PL5,1) AND REF(PL5,1)<=REF(PL5,2) AND REF(PL5,2)<=REF(PL5,3);
    EX1:=PL5=REF(PL5,2) AND REF(PL5,2)>=REF(PL5,3);
    EN2:=PL10>REF(PL10,1) AND REF(PL10,1)<=REF(PL10,2) AND REF(PL10,2)<=REF(PL10,3);
    EX2:=PL10=REF(PL10,2) AND REF(PL10,2)>=REF(PL10,3);
    EN3:=PL20>REF(PL20,1) AND REF(PL20,1)<=REF(PL20,2) AND REF(PL20,2)<=REF(PL20,3);
    EX3:=PL20=REF(PL20,2) AND REF(PL20,2)>=REF(PL20,3);
    走强1:=BArslAST(PL5 走弱1:=BARSLAST(PL5>REF(PL5,1));
    走强2:=BARSLAST(PL10 走弱2:=BARSLAST(PL10>REF(PL10,1));
    走强3:=BARSLAST(PL20 走弱3:=BARSLAST(PL20>REF(PL20,1));
    ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
    ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
    DTJZ5:=IF(PL10 DTJD5:=IF(PL10 ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
    ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
    DTJZ10:=IF(PL20 DTJD10:=IF(PL20 DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'(A)'),COLORFFFF00;
    DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'(B)'),COLORFFFF00;
    DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'(C)'),COLORFFFF00;
    DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLOR0000FF;
    DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;
    DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;
    DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;
    DRAWTEXT(EX2 AND (PL10>REF(PL10,1) OR REF(PL10>REF(PL10,1),1) OR ZTJD10=1),H*1.08,'⑸'),,COLOR0000FF;
    DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.06,'①'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'②'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2,H*1.06,'③'),LINETHICK3,COLOR00FFFF;
    DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.94,'④'),LINETHICK3,COLOR00FFFF;
    XG1:=EX2;
    XG2:=PL20>REF(PL20,3);
    XG3:=ZTJZ10=3;
    DRAWTEXT(REF(XG2*XG3,1) AND XG1,H*1.06,'⑤'),LINETHICK3,COLORWHITE;
    DRAWTEXT(REF(XG2*XG3,1) AND XG1,H*1.04,'●'),LINETHICK3,COLORFFFF00;
    DRAWTEXT(REF(XG2*XG3,1) AND XG1,H*1.02,'●'),LINETHICK3,COLOR00FFFF;
    买线:=EMA(C,2),COLORRED;
    卖线:=EMA(SLOPE(C,21)*20+C,42),COLORYELLOW;
    BU:=crOSS(买线,卖线);
    SEL:=CROSS(卖线,买线);
    STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;
    STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORRED;
    STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLOR00FFFF;
    STICKLINE(买线<卖线,LOW,HIGH,0,0),COLOR00FFFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信求胜之路主图指标公式 加入收藏