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

    正文概述    2024-04-13 14:00:41  

    通达信公式一支三压主图

    M5:=MA(C,5);
    M10:=MA(C,10);
    M20:=MA(C,20);
    M60:=MA(C,60);
    A:=M5 =M60 AND M10 =M60 AND M20 =M60;
    T:=BARSLAST(CROSS(A,0.5));
    HT:=HHVBARS(H,T+1);
    NOTEXT1:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),ISLASTBAR,REF(H,T),0),COLORYELLOW,LINETHICK2;
    NOTEXT2:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,REF(H,HT),1),COLORYELLOW,LINETHICK2;
    NOTEXT3:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,(REF(H,HT)-REF(H,T))*0.382+REF(H,T),1),DOTLINE,COLORMAGENTA;
    NOTEXT4:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,(REF(H,HT)-REF(H,T))*0.618+REF(H,T),1),DOTLINE,COLORGREEN;
    STICKLINE(CURRBARSCOUNT=CONST(T)+1,C,O,1.8,0),COLORYELLOW;
    STICKLINE(CURRBARSCOUNT=CONST(T)+1,H,L,0,0),COLORYELLOW;
    STICKLINE(CURRBARSCOUNT=CONST(HT)+1,C,O,1.8,0),COLORYELLOW;
    STICKLINE(CURRBARSCOUNT=CONST(HT)+1,H,L,0,0),COLORYELLOW;
    压力:NOTEXT2,NODRAW,COLORYELLOW;
    支撑1:NOTEXT3,NODRAW,COLORMAGENTA;
    支撑2:NOTEXT4,NODRAW,COLORGREEN;
    DRAWTEXT(CURRBARSCOUNT=CONST(T)+1,NOTEXT1*0.96,VARCAT(VARCAT( 底部支撑价: ,VAR2STR(NOTEXT1,2)), 元 ))COLORYELLOW;

    通达信一支三压主图公式源码K线图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信一支三压主图公式源码K线图 加入收藏