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

    正文概述    2024-04-14 15:05:30  

    {唯我独尊主图指标公式}

    N1:=30;N2:=17;N3:=5;
    {震仓}
    VAR1M:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
    VAR2M:=EMA(VAR1M,N3);
    ZC:=CROSS(VAR1M,VAR2M) AND TROUGHBARS(3,7,1)<1;
    DRAWTEXT(ZC,H+0.2,'㊣'),COLORYELLOW,;
    DRAWTEXT(ZC,L,'震仓*'),COLORYELLOW,;
    空:=EMA(C,1);
    多:=EMA(C,5);
    X:IF(空>=多,多,空);
    IF(空>多,X,DRAWNULL),COLORRED,LINETHICK2;
    IF(空<多,X,DRAWNULL),COLORGREEN,LINETHICK2;
    IF(空<多,多,DRAWNULL),LINETHICK2,COLORGREEN;
    {转向}
    中:=EMA(C,21);
    转向:=REF(中,1);
    X1:=(3*C+H+L+O)/6;
    X2:=EMA(X1,10);
    X3:=REF(X2,1);
    IF(X2>X3,转向,DRAWNULL),CIRCLEDOT,LINETHICK5,COLORRED;
    IF(X2 {趋势线}
    VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
    VAR2:=CROSS(VAR1,0.9);
    VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
    VAR4:=CROSS(VAR3,0.9);
    VAR5:=IF(VAR2,HIGH,IF(VAR4,LOW,0));
    趋势线:=ZIG(3,6),COLORAAAAAA;
    DRAWTEXT(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*1.008,'跑*'),COLORGRAY,LINETHICK1;
    DRAWTEXT(CROSS(ZIG(3,6),TROUGHBARS(3,6,1)),HIGH*1.008,'加仓*'),COLORYELLOW,LINETHICK1;
    VAR6:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW VAR7:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW>REF(LOW,1) AND HIGH>REF(HIGH,1),3);
    VAR8:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND HIGHREF(LOW,1)
    AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1) VAR9:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW>REF(LOW,1) AND HIGH>REF(HIGH,1),3);
    VARA:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW VARB:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND HIGHREF(LOW,1)
    AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1) 压力: REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLOREA91B5;
    STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),5,0),COLOREA91B5;
    支撑: REF(LOW,BARSLAST(VAR4)), POINTDOT,COLOR00B4FF;
    STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4)),REF(LOW,BARSLAST(VAR4)),5,0),COLOR00B4FF;
    现价:CLOSE,POINTDOT,COLOR000F89;
    DRAWTEXT((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),L-0.2,'买'),,COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信唯我独尊主图指标公式 加入收藏