最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信仓位控制管理指标公式

    正文概述    2024-04-13 14:59:31  

    VAR2:=MA(CLOSE,5);
    VAR3:=MA(CLOSE,15);
    VAR4:=MA(CLOSE,20);
    VAR5:=MA(CLOSE,45);
    满仓:100,POINTDOT,COLORRED;
    八成:80,POINTDOT,COLORMAGENTA;
    半仓:50,POINTDOT,COLORYELLOW;
    三成:30,POINTDOT,COLORGREEN;
    空仓:0,POINTDOT,COLORWHITE;
    VAR6:=CLOSEVAR7:=CLOSE>VAR2 AND CLOSEVAR8:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSEVAR9:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSEVAR10:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
    VAR11:=CLOSEVAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
    VAR12:=CLOSEVAR4 AND CLOSE>VAR5;
    VAR13:=CLOSEVAR5;
    VAR14:=CLOSEVAR3 AND CLOSE>VAR4 AND CLOSEVAR15:=CLOSEVAR3 AND CLOSEVAR16:=CLOSE>VAR2 AND CLOSEVAR4 AND CLOSE>VAR5;
    VAR17:=CLOSE>VAR2 AND CLOSE=VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
    VAR18:=CLOSE>VAR2 AND CLOSEVAR5;
    VAR19:=CLOSEVAR4 AND CLOSEVAR20:=CLOSE>VAR2 AND CLOSEVAR4 AND CLOSEVAR21:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSEVAR5;
    STICKLINE(VAR6,0,5,3,0),COLORWHITE;
    STICKLINE(VAR7 OR VAR18 OR VAR19 OR VAR21,0,30,3,0),COLORGREEN;
    DRAWICON(((VAR7 OR VAR18 OR VAR19 OR VAR21) AND REF(VAR6,1)),30,1);
    STICKLINE(VAR8 OR VAR20,0,50,3,0),COLORYELLOW;
    DRAWICON(((VAR8 OR VAR20) AND REF((VAR7 OR VAR18 OR VAR19 OR VAR21),1)),50,7);
    STICKLINE(VAR9,0,80,3,0),COLORLIMAGENTA;
    DRAWICON((VAR9 AND REF((VAR8 OR VAR20),1)),80,23);
    STICKLINE(VAR10,0,100,3,0),COLORRED;
    STICKLINE(VAR11,0,80,3,0),COLORMAGENTA;
    DRAWICON((VAR10 AND REF(VAR11,1)),90,9);
    STICKLINE(VAR12,0,50,3,0),COLORYELLOW;
    STICKLINE(VAR13,0,20,3,0),COLORGREEN;
    STICKLINE(VAR14 OR VAR15 OR VAR16 OR VAR17,0,50,3,0),COLORGRAY;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信仓位控制管理指标公式 加入收藏