最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 无惧大盘涨跌 通达信中短线操作指南,源码奉献

    正文概述    2024-04-13 08:40:40  

    DRAWBAND(MA(CLOSE,5),RGB(88,20,20),MA(CLOSE,10),RGB(20,88,20));
    DRAWKLINE(H,O,L,C);

    MA5:MA(CLOSE,5),COLORWHITE;
    MA10:MA(CLOSE,10),COLORGREEN,LINETHICK2;
    短线进场:IF(C =MA10 AND C =MA5,MA10,DRAWNULL),COLORRED,LINETHICK2;
    MA20:MA(CLOSE,20),COLORBROWN;
    MA45:MA(CLOSE,45),COLORBLUE,LINETHICK2;
    中线进场:IF(C =MA45 AND C =MA10,MA45,DRAWNULL),COLORYELLOW,LINETHICK2;
    MA60:MA(CLOSE,60),COLORCYAN;
    {短线高手}
    VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH LOW+0.04,4,0);
    VAR11:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
    VAR12:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
    VAR13:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
    VAR14:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
    VAR15:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
    VAR16:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
    VAR17:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
    VAR18:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
    买1:=VAR10;
    买2:=(VAR11+VAR13+VAR15+VAR17);
    卖1:=(VAR12+VAR14+VAR16+VAR18);
    B:IF(买1 0 OR 买2 0,LOW*0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
    S:IF(卖1 0,HIGH*1.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;

    {趋势买卖}
    卖出:XMA((C+H+O+L)/4,20)*(1+80/1000),COLORGREEN,POINTDOT;
    买入:XMA((C+H+O+L)/4,32)*(1-100/1000),COLORMAGENTA,POINTDOT;
    DRAWTEXT(CROSS(CLOSE,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
    DRAWTEXT(CROSS(卖出,CLOSE),HIGH*1.02,'S'),COLORGREEN;

    DRAWTEXT(CLOSE MA(CLOSE,5) AND COUNT(CLOSE MA(CLOSE,5),5)=4,MA(CLOSE,5),'

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 无惧大盘涨跌 通达信中短线操作指南,源码奉献 加入收藏