最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信时空自用主图指标 让看盘简单方便 九毛八公式指标网

    正文概述    2024-04-07 12:19:27  
    通达信时空自用主图指标 让看盘简单方便 源码 贴图
    通达信时空自用主图指标 让看盘简单方便 源码 贴图

    STICKLINE(MA(C,10) REF(MA(C,10),1) AND C =MA(C,10),REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
    COLOR400080;
    STICKLINE(MA(C,10) =REF(MA(C,10),1) OR C MA(C,10),REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
    COLOR2F4F2F;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);


    现价:DRAWLINE(CURRBARSCOUNT=TOTALBARSCOUNT,CONST(C),CURRBARSCOUNT=1,C,3),DOTLINE,COLORLIGRAY;

    双线持币:HHV(MA(HIGH,(3)),2),LINETHICK2,COLOR00FF00;
    单线持股:LLV(MA(HIGH,(3)),1),LINETHICK2,COLOR0000FF;

    {波峰波谷}
    A1:=REF(C,10)=HHV(C,2*10+1);
    B1:=FILTER(A1,10);
    C1:=BACKSET(B1,10+1);
    HD:=FILTER(C1,10);
    A2:=REF(C,10)=LLV(C,2*10+1);
    B2:=FILTER(A2,10);
    C2:=BACKSET(B2,10+1);
    LD:=FILTER(C2,10);
    A:=REF(C,BARSLAST(HD));
    B:=REF(C,BARSLAST(LD));
    TTT1:=BARSLAST(HD) BARSLAST(LD) AND NOT(HD) ;
    TTT2:=BARSLAST(HD) BARSLAST(LD) AND NOT(LD);
    NOTEXT_波峰:IF(TTT1,A,A),COLORFF00FF,POINTDOT;
    STICKLINE(TTT1,A,A,9,0),COLORFF00FF;
    NOTEXT_浪谷:IF(TTT2,B,B),COLOR80FF00,POINTDOT;
    STICKLINE(TTT2,B,B,9,0),COLOR80FF00;

    {买卖点}{www.9m8.cn 九毛八公式指标网}
    AA05:=MA(C,5),COLOR0099CC;
    五日乖离率:=(C-AA05)/AA05*100;
    BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
    速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
    加速度5:=EMA((速度5-REF(速度5,1)),3),LINETHICK0;
    AA10:=MA(C,10);
    AA20:=MA(C,20);
    BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
    AA30:=MA(C,30);
    三拾日乖离率:=(C-AA30)/AA30*100,LINETHICK0;
    VAR1:=(AA20-AA30) REF((AA20-AA30),1) AND AA20 REF(AA20,1) AND AA30 REF(AA30,1);
    VAR2:=(AA30-AA20) REF((AA30-AA20),1) AND AA20 REF(AA20,1) AND AA30 REF(AA30,1);
    BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;

    强势狙击:=FILTER(BB30 30 AND BB10 45 AND CROSS(BB05,60),10);
    加仓:=FILTER(COUNT(CROSS(BB05,30),5) =1 AND AA05 REF(AA05,1) AND 三拾日乖离率 REF(三拾日乖离率,1) AND AA10 REF(AA10,1)
    AND 加速度5 REF(加速度5,1) AND 速度5 REF(速度5,1) ,10) ;
    清仓:=FILTER(COUNT(CROSS(30,BB05),5) =1 AND (C AA30 OR O AA30) AND AA05 REF(AA05,1) AND 三拾日乖离率 REF(三拾日乖离率,1) AND AA10 REF(AA10,1),10);
    DRAWTEXT(加仓 ,LOW*0.98,' 加仓'),COLORRED;
    JC:=CROSS(0,五日乖离率) AND 三拾日乖离率 REF(三拾日乖离率,1) AND AA10 REF(AA10,1) ;
    减仓:=FILTER(JC,10);
    MR:=COUNT(CROSS(五日乖离率,0),3) =1 AND 三拾日乖离率 REF(三拾日乖离率,1) AND AA05 REF(AA05,1) AND (C/REF(C,1)-1)*100 5 AND REF(C,1) AA30;
    买入:=FILTER(MR,10);
    DRAWTEXT(减仓,HIGH*1.02,' 减仓'),COLORCYAN;
    DRAWTEXT(买入,LOW*0.98,' 买入'),COLORYELLOW;
    DRAWTEXT(清仓 ,HIGH*1.02,' 清仓'),COLORGREEN;
    DRAWTEXT(强势狙击,LOW*0.98,' 强势狙击'),COLORYELLOW;


    {笑脸}
    ZB1:=EMA(C,34);
    长期趋势:=EMA(ZB1,13);
    CSAR:=SAR(10,2,20);
    持股:=IF(CSAR =L,CSAR,0);
    止损:=EMA(C,5);
    菩提B:=XMA(H,20);
    参买:=IF(止损 =REF(止损,1),止损,DRAWNULL),LINETHICK2,COLORRED;{持股前提};
    DRAWICON(CROSS(L,CSAR) AND 参买 0 AND H 菩提B AND 持股 0 AND H 长期趋势,(LOW- 0.1),5);

    {涨停金黄柱}
    ZT:=C/REF(C,1) 1.0995;
    XH:=FILTER(ZT,13);
    BH:=BARSLAST(ZT);
    CZ:=REF(H,BH)-REF(L,BH);
    STICKLINE(ZT,REF(O,BH),REF(C,BH),3,0),COLORYELLOW;
    ZT1:=C/REF(C,1) 0.9005;
    XH1:=FILTER(ZT1,13);
    BH1:=BARSLAST(ZT1);
    CZ1:=REF(H,BH1)-REF(L,BH1);
    STICKLINE(ZT1,REF(O,BH1),REF(C,BH1),3,0),COLORBLUE;
    DRAWTEXT_FIX(1,0.01,0,0,'所属板块:'),COLORWHITE;
    Z1:=STRCAT(HYBLOCK,' ');
    Z2:=STRCAT(Z1,' ');
    Z3:=STRCAT(Z2,GNBLOCK);
    DRAWTEXT_FIX(ISLASTBAR,0.15,0,0,STRCAT(Z3,ZHBLOCK)),COLORCYAN;

    V1:=(C-REF(C,1))/REF(C,1);
    V2:=V1 =0.0955 AND C=H;
    V3:=(C-O)/O;{www.9m8.cn 九毛八公式指标网}
    V4:=V3 =0.0155 AND C O AND V2;
    V5:=EXIST(COUNT(V4,5) =1,3);
    V6:=EXIST(REF(V4,4),4);
    V7:=O REF(C,1) AND C
    V8:=EXIST(REF(V7,3),3);
    V9:=V REF(V,1);
    V10:=REF(V9,2);
    V11:=EVERY(V9,2);
    V12:=REF(V11,1);

    MA10:=MA(C,10),COLORCYAN,LINETHICK2;
    MA5:=MA(C,5),COLORWHITE,LINETHICK2;

    DRAWTEXT(ISLASTBAR,MA5,VAR2STR(MA5,2)),COLORWHITE;
    DRAWTEXT(ISLASTBAR,MA10,VAR2STR(MA10,2)),COLORCYAN;
    DRAWTEXT(ISLASTBAR,现价,VAR2STR(现价,2)),COLORYELLOW;

    回踩5日线:=FILTER(V12 AND V10 OR V9 AND V8 AND V6 AND V5,10) AND MA(C,5) REF(MA(C,5),1) AND C MA(C,5) AND 单线持股=双线持币 AND 长期趋势 REF(长期趋势,1) AND V REF(V,1),COLORRED;
    DRAWTEXT(回踩5日线,LOW*0.96,' 回踩5日线'),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信时空自用主图指标 让看盘简单方便 九毛八公式指标网 加入收藏