股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」通达信精准主图指标


        [-----复制链接-----]

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-3-4 22:09:16
    【资料名称】:通达信精准主图指标介绍
    【资料描述】:

    通达信精准主图指标






    VAR1:=(C+H+O+L)/4;
    卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,POINTDOT,LINETHICK3;
    买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,POINTDOT,LINETHICK3;
    DRAWBAND(卖出,RGB(0,80,60),买入,RGB(0,0,0));

    操盘线:=EMA(EMA(EMA(CLOSE,2),2),2);
    趋势线:(MA(操盘线,5))DOTLINE,COLORWHITE;
    YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORRED,LINETHICK1;
    YM1:=EMA(YM,5),COLORRED,LINETHICK1;
    YM2:=EMA(YM1,5),COLORRED,LINETHICK1;
    IF(YM>=YM2,YM,DRAWNULL),LINETHICK1,COLORRED;
    IF(YM>=YM2,YM1,DRAWNULL),LINETHICK1,COLORRED;
    IF(YM<=YM2,YM,DRAWNULL),LINETHICK1,COLORGREEN;
    IF(YM<=YM2,YM1,DRAWNULL),LINETHICK1,COLORGREEN;
    HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
    +13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
    +7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
    REF(H,20))/210,COLORBLUE,LINETHICK1;
    LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
    +13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
    +7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
    REF(L,20))/210,COLORBLUE,LINETHICK1;
    D90H:=EMA(HH,90),COLORRED,LINETHICK1;
    D90L:=EMA(LL,90),COLORRED,LINETHICK1;
    D90:(D90H+D90L)/2,COLORWHITE,LINETHICK1;
    D1:=EMA(D90,10),COLORWHITE,LINETHICK1;
    D2:=EMA(D1,10),COLORWHITE,LINETHICK1;

    IF(EMA((CLOSE+HIGH+LOW)/3,5)>=D90,D90,DRAWNULL),LINETHICK1,COLORLIRED;
    IF(EMA((CLOSE+HIGH+LOW)/3,5)>=D90,D1,DRAWNULL),LINETHICK1,COLORLIRED;

    G0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))+XMA(XMA(H,25),25);
    D0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25));
    DTD:=(D0+G0)/2>=(D90H+D90L)/2;
    STICKLINE(L<D0 AND DTD=1 AND YM>YM1,L,D0,3,0),COLORMAGENTA;

    止损线: EMA(COST(81),10) COLORYELLOW,DOTLINE;
    牛熊线: EMA(COST(27),120), CIRCLEDOT;
    {MA60:MA(CLOSE,60)LINETHICK2,COLORCYAN;}

    DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
    幅度:100*(卖出-买入)/买入,NODRAW;
    MA1:=MA(VAR1,3);
    STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),2,0),COLORGREEN;
    STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),2,0),COLORGREEN;
    STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;
    STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;
    STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
    STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;
    STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
    STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA;
    STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
    STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
    DRAWTEXT(CROSS(C,买入) OR (L<买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
    DRAWTEXT(CROSS(C,卖出) OR (H>卖出),HIGH*1.02,'S'),COLORGREEN;
    A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
    A4:=SMA(A3,3,1);
    A5:=SMA(A4,3,1);
    A6:=3*A4-2*A5;
    A7:=C-REF(C,1);
    A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
    买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
    DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;
    STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;

    QGA1:=REF(C,10)==HHV(C,2*10+1);
    QGB1:=FILTER(QGA1,10);
    QGC1:=BACKSET(QGB1,10+1);
    HD:=FILTER(QGC1,10);
    QDA2:=REF(C,10)==LLV(C,2*10+1);
    QDB2:=FILTER(QDA2,10);
    QDC2:=BACKSET(QDB2,10+1);
    LD:=FILTER(QDC2,10);
    前期高位:REF(C,BARSLAST(HD)),POINTDOT,COLORFFFFFF;
    STICKLINE(C,前期高位,前期高位,8,0),COLORFFFFFF;
    前期低位:REF(C,BARSLAST(LD)),NODRAW,COLORRED;
    STICKLINE(C,前期低位,前期低位,8,0),COLORRED;


    涨停:=IF(REF(C,1)*1.095-C<0.01 ,1,0);
    STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
    STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
    DRAWTEXT(涨停,L-0.1,'涨停'),COLORRED;

    C3:=REF(C,1);
    跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
    STICKLINE(跌停,OPEN,CLOSE,4,0),COLORBLUE;
    STICKLINE(跌停,OPEN,CLOSE,3,0),COLORBLUE;
    DRAWTEXT(跌停,H+0.3,'跌停'),COLORYELLOW;


    DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
    DEA:=EMA(DIF,9);
    AAA1:=(DIF-DEA)*2*60;
    起爆:=CROSS(AAA1-REF(AAA1,1),15),COLORRED,LINETHICK2;
    DRAWTEXT(起爆,L*0.99,'↖起爆'),COLORYELLOW,LINETHICK2;
     


     





     



    gd31041


    【下载地址隐藏】:                    点:回复可见地址
    游客,如果您要查看本帖隐藏内容请回复






    上一篇:「指标」唐能通短线是银1-14号指标 通达信版
    下一篇:「指标」通达信锁喉枪买卖指标公式
    回复

    举报

    QQ|

    GMT+8, 2024-11-14 14:41

    快速回复 返回顶部 返回列表