最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 天机均线+趋势跟踪(指标 主图+副图 通达信)

    正文概述    2024-04-13 10:10:22  

    天机均线+趋势跟踪(指标 主图+副图 通达信)

    机均线是一个不错的均线主图,愿大家喜欢。趋势跟踪幅图是一品茶缘大师编写的

    天机均线(主图)源码

    EMA250:MA(C,250),COLORRED;
    EMA6:MA(C,6),COLORRED LINETHICK2;
    EMA18:MA(C,18),COLORYELLOW;
    EMA55:MA(C,55),COLORFF00FF;
    EMA144:MA(C,144),COLORGREEN;
    EMA288:MA(C,288),COLORBLUE;
    中线【买入】:=COUNT(CLOSE EMA18,5)=4 AND
    CLOSE/EMA18 1.004 AND CROSS(CLOSE,EMA18) AND EMA18 =
    REF(EMA18,1),LINETHICK,COLORRED;
    DRAWTEXT(中线【买入】,LOW*0.95,' 中线【买入】'),COLORRED;
    VL:=REF(LOW,1);
    VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;
    VAR14:=MA(VAR12,13);
    VAR15:=LLV(LOW,34);
    VAR18:=EMA(IF(LOW =VAR15,VAR14,0),3);
    VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
    VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;
    T:=FILTER(IF(VAR111 =VAR110 AND VAR18 REF(VAR18,1),VAR18*8,0),20);
    DRAWTEXT(T,LOW-0.4,' 洗盘结束'),COLORFF00FF;
    DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF;
    VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
    VAR22:=SMA(VAR21,3,1);
    VAR23:=SMA(VAR22,3,1);
    VAR24:=SMA(VAR23,3,1);
    VAR25:=CROSS(VAR23,VAR24) AND VAR23
    DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.4,' 抄底'),COLORRED;
    DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'|'),COLORRED;
    VAR29:=CROSS(VAR24,VAR23) AND VAR23
    DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,' 逃顶'),COLORBLUE;
    DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'|'),COLORBLUE;

    趋势跟踪(副图)源码

    {趋势跟踪通达信版本副图指标}
    {【趋势跟踪】指标使用说明:
    趋势为王守铁律,顺势而为主升期;
    临界出现防风险,挖坑不涨早休息!}
    MA5:=MA(CLOSE,5);
    MA10:=MA(CLOSE,10);
    MA20:=MA(CLOSE,20);
    A1:=IF(C =MA5,1,-1);
    A2:=IF(C =MA10,1,-1);
    A3:=IF(C =MA20,1,-1);
    A4:=IF(MA5 =REF(MA5,1),1,-1);
    A5:=IF(MA10 =REF(MA10,1),1,-1);
    A6:=IF(MA20 =REF(MA20,1),1,-1);
    趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLOR00FF00;
    主升浪:趋势 =50,COLOR0000FF,POINTDOT,NODRAW;
    :趋势 50,COLORFFFFFF,POINTDOT,NODRAW;
    周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,NODRAW;
    临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,POINTDOT,NODRAW;
    WKQY:=BARSLAST(CROSS(50,趋势)) MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));
    挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,POINTDOT,NODRAW;
    {以下设置副图显示方式}
    DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));
    AA:=IF(挖坑,趋势,50);
    DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));
    STICKLINE(主升浪,周期*0.8,周期*0.95,3,0),COLOR0000FF;
    STICKLINE(主升浪,周期*1.05,周期*1.2,3,0),COLOR0000FF;
    STICKLINE(主升浪 AND C REF(C,1),周期*0.9,周期*1.1,3,1),COLORFFFFFF;
    STICKLINE(CROSS(主升浪,0.1),0,100,0,-1),COLOR0000FF;
    DRAWTEXT(临界,90,'☆'),COLOR00FF00;
    平:0,COLORFFFFFF;
    STICKLINE(C 0,50,50,1,0),COLOR000000;
    %:趋势,COLOR00FF00;
    {以下设置文字提示部分}
    DRAWTEXT(CURRBARSCOUNT=60,20,'====★趋势为王.顺势而为!★===='),COLOR0000FF;
    DRAWTEXT(CURRBARSCOUNT=58,-30,'■只做主升, 挖坑低吸!'),COLORFFFFFF;
    DRAWTEXT(CURRBARSCOUNT=58,-60,'●临界不涨, 逢高离场!'),COLOR00FFFF;
    DRAWTEXT(CURRBARSCOUNT=60,-90,'====【一品茶缘】===='),COLOR00FF00;

    天机均线+趋势跟踪(指标 主图+副图 通达信)

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 天机均线+趋势跟踪(指标 主图+副图 通达信) 加入收藏