最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信红色警戒3#“诚信危机”末日版(源码主图注意含未来函数)

    正文概述    2024-04-13 14:02:28  

    n,n3参数可根据自己需要和抄作习惯设定参数;本图缺省参数为15,3.箱体指标也可参照公式中已设定参数。希望一起动手一起努力,命运要靠自己努力!!!
    箱顶3:PEAK(CLOSE,N3,1),LINETHICK2,COLORBLUE;
    箱底3:TROUGH(CLOSE,N3,1),LINETHICK2,COLORBLUE;
    HHV(CLOSE,N),LINETHICK1,COLORYELLOW;
    LLV(CLOSE,N),LINETHICK1,COLORYELLOW;
    LLV(CLOSE,8),LINETHICK1,COLORCYAN;
    RSV1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
    K1:=SMA(RSV1,5,1),NODRAW;
    D1:=SMA(K1,5,1),NODRAW;
    J:=3*K1-2*D1;
    X:=REF(J,1) 10 AND H REF(H,1) AND C REF(C,1) AND C REF(O,1) AND L REF(L,1);
    X8:=REF(K1,1) 80 AND H REF(H,1) AND C REF(C,1) AND C REF(O,1) AND L REF(L,1);
    STICKLINE(X8,C ,O,2,0),COLOR1880FF;
    STICKLINE(X8,L ,H,0,0),COLOR1880FF;
    STICKLINE(X8,L ,L,20,0),COLOR1880FF;
    STICKLINE(X,L ,L,20,0),COLOR008888;
    STICKLINE(X,L ,H,0,0),COLORFF00FF;
    STICKLINE(X,C ,O,2,0),COLORFF00FF;
    V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
    STICKLINE(V2 =1,O,C,0.8,0),COLORYELLOW;
    T12:=V2
    T0:=BARSLAST(T12);
    L11:=REF(L,T0);
    H55:=REF(H,T0);
    STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),H55,H55,18,-1),COLORWHITE;
    STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),L11,L11,18,-1),COLORWHITE;
    VAR9:=CLOSE-REF(CLOSE,5),NODRAW;
    VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5),NODRAW;
    VARC:=EMA(EMA(VAR9,10),10)/EMA(EMA(ABS(VAR9),20),20),NODRAW;
    卖出:=IF(VARA 0 AND CROSS(VARC,VARA),90,100);
    DRAWICON(卖出 0,H+0.05,2); 买线:=EMA(CLOSE,2),NODRAW;
    卖线:=EMA(SLOPE(CLOSE,11)*10+CLOSE,22),NODRAW;
    B1:IF(CROSS(买线,卖线),L-0.05,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;
    B2:IF(CROSS(卖线,买线),H+0.05,DRAWNULL),CROSSDOT,LINETHICK3,COLORGRAY;
    S1:IF(CROSS(20,RSI)*10,H+0.05,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
    VC:=((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100+(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3,NODRAW;
    S2:=IF(VC 20 AND FILTER(VC REF(VC,1),5),H+0.05,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;
    A0:=(L+H+C*2)/4;
    A1:EMA(A0,5)COLORBLUE,LINETHICK2;
    A2:=EMA(A0,10)COLORLIBLUE,LINETHICK2;
    A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
    A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;
    看多:IF(A1X =0 AND BARSLAST(CROSS(A1X,0)) 0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL),COLORMAGENTA{,LINETHICK2};
    逃顶:IF(A1X 0 AND BARSLAST(CROSS(0,A1X)) 0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),COLORCYAN,{LINETHICK2};
    买入持股:IF(A1X =0,A1,DRAWNULL)COLORRED,LINETHICK2;
    卖出空仓:IF(A1X 0 AND A2X 0,A1,DRAWNULL)COLORGREEN,LINETHICK2;

    箱顶10:PEAK(CLOSE,10,1),LINETHICK2,COLORLIGRAY;
    箱底10:TROUGH(CLOSE,10,1),LINETHICK2,COLORLIGRAY;
    中线:(箱顶10 + 箱底10)/2,COLORYELLOW,POINTDOT,LINETHICK3;
    持仓:IF(CLOSE =SAR(4,2,20),SAR(4,2,20),
    DRAWNULL),CIRCLEDOT,COLORRED,{COLOR9955FF};
    _空仓:IF(CLOSE =SAR(4,2,20),SAR(4,2,20),
    DRAWNULL),CIRCLEDOT,COLORGREEN,{COLORDDFF00};
    MA10:MA(CLOSE,M1),COLORGRAY;
    DRAWICON(箱底3=C AND CLOSE =L,LOW-0.12,1);
    DRAWICON(箱底10=C AND CLOSE =L,LOW-0.28,1);
    DRAWICON(箱顶10=H AND CLOSE =L,H+0.082,2);
    DRAWICON(箱顶3=H AND CLOSE =L,H+0.052,2);
    AAF:LLV(LOW,34),LINETHICK1,COLORFFFFCC,NODRAW;
    BBF:MA(AAF,4),LINETHICK3,COLORBLUE,NODRAW;
    LC:=REF(CLOSE,1),NODRAW;
    RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100),NODRAW;
    FF:=EMA(CLOSE,3),NODRAW;
    MA15:=EMA(CLOSE,21),NODRAW;
    DRAWTEXT(CROSS(FF,MA15),BBF,'底背离'),COLORA6E500;
    DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;


    通达信红色警戒3# 诚信危机 末日版(源码主图注意含未来函数)

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信红色警戒3#“诚信危机”末日版(源码主图注意含未来函数) 加入收藏