最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 凤凰线指标 做为主图,让原K线显示

    正文概述    2024-04-14 08:31:38  

    九毛八公式指标

    公式模块:

    N:=1;
    xopen:=(ref(o,N)+ref(c,N))/2;
    xclose:=close;
    xhigh:=max(high,xopen);
    xlow:=min(low,xopen);
    volality:=ma(xhigh-xlow,8);
    w:ma(xclose,5)+VOLality/2;

    k:ma(xclose,5)-volality/2;

    bu:=cross(xclose,w);
    sel:=cross(k,xclose);
    var1:=barslast(bu);
    var2:=barslast(sel);
    drawicon(ref(var1,1)>var2 and var1=0,xlow,7),align1,valign0;

    STICKLINE(xclose>xopen and var1<var2,xclose,xopen ,8,0 ),colorff00ff;
    STICKLINE(xclose>xopen and var1<var2,xhigh,xclose ,0.5,0 ),colorff55ff;

    STICKLINE(xclose>xopen and var1<var2,xopen,xlow ,0.5,0 ),colorff55ff;

    STICKLINE(xclose<=xopen and var1<var2,xclose,xopen ,8,0 ),coloryellow;
    STICKLINE(xclose<=xopen and var1<var2,xhigh,xopen ,0.5,0 ),coloryellow;
    STICKLINE(xclose<=xopen and var1<var2,xclose,xlow ,0.5,0 ),coloryellow;

    STICKLINE(xclose<=xopen and var1>var2,xclose ,xopen ,8,0 ),colorgreen;
    STICKLINE(xclose<=xopen and var1>var2,xopen ,xhigh ,0.5,0 ),colorgreen;
    STICKLINE(xclose<=xopen and var1>var2,xclose,xlow ,0.5,0 ),colorgreen;

    STICKLINE(xclose>xopen and var1>var2,xclose ,xopen ,8,0 ),colorblue;
    STICKLINE(xclose>xopen and var1>var2,xclose,xhigh ,0.5,0 ),colorblue;
    STICKLINE(xclose>xopen and var1>var2,xopen,xlow ,0.5,0 ),colorblue;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 凤凰线指标 做为主图,让原K线显示 加入收藏