• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 通达信稳妥多空主图及选股指标公式及通达信破敌突破主图指标公式

    发布时间: 2019-10-15 14:26 首页:股票一点通>股票公式>通达信公式> 阅读()

    一、通达信稳妥多空主图及选股指标公式

    A:=(3*C+H+L+O)/6;

    多方线:(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)

    +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)

    +6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210,COLORYELLOW;

    空方线:MA(多方线,10),COLORRED;

    生命线:MA(多方线,30),COLORWHITE,LINETHICK2;

    ZT:=C>=ZTPRICE(REF(CLOSE,1),0.1);

    STICKLINE(ZT,O,C,3,0),COLORYELLOW;

    STICKLINE(ZT,H,L,0,0),COLORYELLOW;

    DT:=C<=DTPRICE(REF(CLOSE,1),0.1);

    STICKLINE(DT,O,C,3,0),COLORBLUE;

    STICKLINE(DT,H,L,0,0),COLORBLUE;

    DRAWICON(CROSS(空方线,多方线),空方线+0.5,2);

    DRAWICON(CROSS(多方线,空方线),多方线+0.5,1);

    {

    选股公式:

    A:=(3*C+H+L+O)/6;

    多方线:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)

    +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)

    +6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;

    空方线:=MA(多方线,10);

    生命线:=MA(多方线,30);

    XG:CROSS(多方线,空方线) AND C>=生命线;

    通达信稳妥多空主图及选股指标公式及通达信破敌突破主图指标公式

    二、通达信破敌突破主图指标公式

    DRAWGBK(C>0, RGB(01,01,01),RGB(01,01,01),0,0,1);

    DRAWKLINE(H,O,L,C);

    MA7:MA(CLOSE,7)COLORRED,LINETHICK2;

    DRAWNUMBER(ISLASTBAR ,C,C),COLORMAGENTA;

    SJTJ:=DATE<1590301;

    X1:=(C+L+H)/3;

    X2:=EMA(X1,6);

    X3:=EMA(X2,5);

    STICKLINE(X2>=X3 AND SJTJ,LOW,HIGH,0,1),COLORRED;

    STICKLINE(X2>=X3 AND SJTJ,CLOSE,OPEN,3.2,2),COLORRED;

    STICKLINE(X2

    STICKLINE(X2

    STICKLINE(CROSS(X3,X2) AND SJTJ,OPEN,CLOSE,3.2,0),COLORGREEN;

    STICKLINE(CROSS(X2,X3) AND SJTJ,OPEN,CLOSE,3.2,0),COLORRED;

    STICKLINE((CLOSE>OPEN) AND (X2

    STICKLINE((CLOSE>OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,3.2,2)COLORRED;

    STICKLINE((CLOSE

    STICKLINE((CLOSE=X3) AND SJTJ,CLOSE,OPEN,3.2,0)COLORRED;

    操盘线:=EMA(EMA(EMA(CLOSE,2),2),2);

    MA2:=MA(C,2)COLORWHITE;

    趋势线:=(MA(操盘线,5)),COLORGREEN,LINETHICK2;

    MA05:=MA(C,5)LINETHICK3,COLOR00CCFF;

    MA10:=MA(C,10);

    MA20:=MA(C,20);

    MA30:=MA(C,30);

    五日乖离率:=(C-MA05)/MA05*100;

    BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;

    速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);

    加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;

    BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;

    三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;

    VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);

    VAR2:=(MA30-MA20)

    BB30:=ATAN((MA30/REF(MA30,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 MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)

    AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;

    清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05

    DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;

    JC:=CROSS(0,五日乖离率) AND 三拾日乖离率REF(MA10,1) ;

    减仓:=FILTER(JC,10);

    MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)

    买入:=FILTER(MR,10);

    DRAWTEXT(减仓,HIGH*1.02,'←风险'),COLORCYAN;

    DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;

    DRAWTEXT(清仓 ,HIGH*1.02,'←清仓'),COLORGREEN;

    DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORYELLOW;

    VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));

    VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);

    MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;

    ZZ1:=REF(HIGH,4)=HHV(HIGH,2*4+1);

    Y1:=FILTER(ZZ1,3);

    C1:=BACKSET(Y1,3+1);

    D1:=FILTER(C1,3);

    A2:=REF(LOW,3)=LLV(LOW,2*3+1);

    V2:=FILTER(A2,3);

    C2:=BACKSET(V2,3+1);

    D2:=FILTER(C2,3);

    E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;

    E2:=(HIGH+LOW)/2;

    H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;

    H2:=D1 AND NOT(D2 AND E1>=E2);

    L1:=D2 AND NOT(D1 AND E1=E2);

    XX1:=REF(BARSLAST(H1),1)+1;

    F1:=BACKSET(H1 AND COUNT(L1,XX1)>0,LLVBARS(IF(L1,LOW,10000),XX1));

    G1:=F1>REF(F1,1);

    I1:=BACKSET(G1,2);

    LD:=I1>REF(I1,1);

    L2:=LD OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;

    XXX2:=REF(BARSLAST(L2),1)+1;

    F2:=BACKSET(L2 AND COUNT(H2,XXX2)>0,HHVBARS(IF(H2,HIGH,0),XXX2));

    G2:=F2>REF(F2,1);

    I2:=BACKSET(G2,2);

    HD:=I2>REF(I2,1);

    UU2:=BACKSET(ISLASTBAR=1,BARSLAST(HD)+1);

    VV2:=UU2>REF(UU2,1);

    WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

    XX2:=WW2>REF(WW2,1);

    突破线:REF(H,BARSLAST(VV2))COLORMAGENTA,DOTLINE;

    持仓线:REF(H,BARSLAST(XX2))COLORGREEN,DOTLINE;

    TP1:=CROSS(C,突破线);

    TP2:=CROSS(C,持仓线);

    STICKLINE(TP1,H,L,0,0),COLORYELLOW;

    STICKLINE(TP1,C,O,3,0),COLORYELLOW;

    STICKLINE(TP1,C,O,2,0),COLORYELLOW;

    STICKLINE(TP1,C,O,1,0),COLORYELLOW;

    DRAWTEXT(TP1,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW;

    STICKLINE(TP2,H,L,0,0),COLORYELLOW;

    STICKLINE(TP2,C,O,3,0),COLORYELLOW;

    STICKLINE(TP2,C,O,2,0),COLORYELLOW;

    STICKLINE(TP2,C,O,1,0),COLORYELLOW;

    DRAWTEXT(TP2,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW;

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map