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

    正文概述    2024-04-13 11:44:01  

    HJ_1:=1.1;
    粘合:INTPART(MAX(MAX(MAX(MAX(MAX(MA(CLOSE,5),MA(CLOSE,10)),MA(CLOSE,20)),MA(CLOSE,60)),MA(CLOSE,120)),MA(CLOSE,250))/MIN(MIN(MIN(MIN(MIN(MA(CLOSE,5),MA(CLOSE,10)),MA(CLOSE,20)),MA(CLOSE,60)),MA(CLOSE,120)),MA(CLOSE,250))*1000)/1000,COLORGREEN;
    共振:BARSLASTCOUNT(MA(CLOSE,5) REF(MA(CLOSE,5),1) AND MA(CLOSE,10) REF(MA(CLOSE,10),1) AND MA(CLOSE,20) REF(MA(CLOSE,20),1) AND MA(CLOSE,60) REF(MA(CLOSE,60),1) AND MA(CLOSE,120) REF(MA(CLOSE,120),1) AND MA(CLOSE,250) REF(MA(CLOSE,250),1)),NODRAW,COLORMAGENTA;
    多头:BARSLASTCOUNT(MA(CLOSE,5) MA(CLOSE,10) AND MA(CLOSE,10) MA(CLOSE,20) AND MA(CLOSE,20) MA(CLOSE,60) AND MA(CLOSE,60) MA(CLOSE,120) AND MA(CLOSE,120) MA(CLOSE,250)),NODRAW,COLORRED;
    PLOYLINE(1.1,1.1),COLORWHITE;
    PLOYLINE(粘合,粘合),COLORGREEN;
    STICKLINE(共振,1.1,粘合,6,0),COLORYELLOW;
    STICKLINE(多头,1.1,粘合,6,0),COLORRED;
    STICKLINE(粘合 =1.1,粘合,1.1,6,0),COLORGREEN;
    HJ_2:=BARSLASTCOUNT(共振)=1 OR BARSLASTCOUNT(多头) AND 粘合 REF(粘合,1);
    买点:HJ_2 AND REF(HJ_2,1)=0,NODRAW,COLORGREEN;
    DRAWTEXT(买点,粘合*1.1,124),COLORGREEN;

    {-----------------------------------}

    通达信均线三部曲源码副图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信均线三部曲源码副图 加入收藏