最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 同花顺益盟BS公式

    正文概述    2024-04-14 14:06:59  

    源码

    买线:=EMA(C,2);

    卖线:=EMA(SLOPE(C,21)*20+C,42);

    BU:=CROSS(买线,卖线);

    SEL:=CROSS(卖线,买线);

    DRAWTEXT(BU,LOW,'B'),colorred,LINETHICK2;

    DRAWTEXT(SEL,HIGH,'S'),colorgreen,LINETHICK2;

    STICKLINE(买线>=卖线,LOW,HIGH,0,1),colorred;

    STICKLINE(买线>=卖线,CLOSE,OPEN,10,0),COLOR000044;

    STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),COLOR000066;

    STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR000088;

    STICKLINE(买线>=卖线,CLOSE,OPEN,1,0),colorred;

    STICKLINE(买线<卖线,CLOSE,OPEN,10,0),COLOR004400;

    STICKLINE(买线<卖线,CLOSE,OPEN,7,0),COLOR006600;

    STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLOR008800;

    STICKLINE(买线<卖线,CLOSE,OPEN,1,0),COLOR00FF00;

    STICKLINE(买线<卖线,LOW,HIGH,0,1),COLOR00FF00;

    STICKLINE(CROSS(买线,卖线) ,OPEN,CLOSE,10,0),COLOR0033FF;

    STICKLINE(CROSS(买线,卖线) ,OPEN,CLOSE,7,0),COLOR0055FF;

    STICKLINE(CROSS(买线,卖线) ,OPEN,CLOSE,3,0),COLOR0099FF;

    STICKLINE(CROSS(买线,卖线) ,OPEN,CLOSE,1,0),COLOR00FFFF;

    STICKLINE( CROSS(卖线,买线),OPEN,CLOSE,10,0),COLOR333300;

    STICKLINE( CROSS(卖线,买线),OPEN,CLOSE,7,0),COLOR555500;

    STICKLINE( CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR777700;

    STICKLINE( CROSS(卖线,买线),OPEN,CLOSE,1,0),COLORFFFF00;

    指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK3,COLORFFFFFF;
     

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺益盟BS公式 加入收藏