最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 同花顺副图设置问题的解决的方法

    正文概述    2024-04-14 07:59:11  

    九毛八公式指标

    公式模块:

    请老师帮助同花顺副图指标【决策操盘密码】的曲线属性应该怎样设置?我弄了半天就是不显示图形。

    Var1=MONEY/vol;
    A=SMA(Var1,5,1)-SMA(Var1,55,1);
    B=SMA((A-SMA(A,5,1)),5,1);
    IF(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1))
    RETURN ("colorred");
    IF(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1))
    RETURN ("colorwhite");
    IF(A<REF(A,3) AND B<REF(B,3))
    RETURN ("colorgreen");
    IF(A>REF(A,1) AND B<REF(B,1))
    RETURN ("colorwhite");
    IF(A<REF(A,1) AND B>REF(B,1))
    RETURN ("colorwhite");
    RETURN "colorgreen";

    Var1:=AMOUNT/VOL;
    A:=SMA(Var1,5,1)-SMA(Var1,55,1);
    B:=SMA((A-SMA(A,5,1)),5,1);
    STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),L,H,0.5,0),COLOR0000FF;
    STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),C,O,8,0),COLOR000000;
    STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),C,O,8,1),COLOR0000FF;
    STICKLINE(crOSS(CLOSE,MA(CLOSE,5)) AND A>REF(A,1) AND B>REF(B,1),C,O,8,0),COLOR0000FF;
    STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),L,H,0.5,0),COLORFFFFFF;
    STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),C,O,8,0),COLOR000000;
    STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),C,O,8,1),COLORFFFFFF;
    STICKLINE(A<REF(A,3) AND B<REF(B,3),L,H,0.5,0),COLOR00FF00;
    STICKLINE(A<REF(A,3) AND B<REF(B,3),C,O,8,0),COLOR000000;
    STICKLINE(A<REF(A,3) AND B<REF(B,3),C,O,8,1),COLOR00FF00;
    STICKLINE(A>REF(A,1) AND B<REF(B,1),L,H,0.5,0),COLORFFFFFF;
    STICKLINE(A>REF(A,1) AND B<REF(B,1),C,O,8,0),COLOR000000;
    STICKLINE(A>REF(A,1) AND B<REF(B,1),C,O,8,1),COLORFFFFFF;
    STICKLINE(A<REF(A,1) AND B>REF(B,1),L,H,0.5,0),COLORFFFFFF;
    STICKLINE(A<REF(A,1) AND B>REF(B,1),C,O,8,0),COLOR000000;
    STICKLINE(A<REF(A,1) AND B>REF(B,1),C,O,8,1),COLORFFFFFF;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺副图设置问题的解决的方法 加入收藏