• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【配资炒股】【通达信】股道选股指标公式

    发布时间: 2020-04-12 19:24 首页:股票一点通>股票公式>通达信公式> 阅读()

    FF:=EMA(CLOSE,3);
    MA15:=EMA(CLOSE,21);
    TTJ:=CROSS(FF,MA15);
    TYP:= (HIGH + LOW + CLOSE)/3;
    CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
    差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0;
    CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
    差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;
    CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
    差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;
    CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
    差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;
    CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
    差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;
    CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
    AAA:=(3*C+H+L+O)/6;
    VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
    +4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
    VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
    VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
    VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
    VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
    VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
    短线:=VAR1;
    中线:=VAR6;
    下跌:=IF(VAR1=VAR6,VAR6, DRAWNULL);
    TJ1:=CCI1>差值4;
    立桩量:=FILTER(TJ1,0);
    TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);
    成立1:=TJ2=1;
    条件成立1:=FILTER(成立1,5);
    TJ011:= CCI1REF(HIGH,1),1,
    IF(BARSLAST(立桩量2)=2 AND CLOSE>REF(HIGH,2),1,
    IF(BARSLAST(立桩量2)=3 AND CLOSE>REF(HIGH,3),1,0)));
    TJ:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);
    成立2:=TJ=1;
    条件成立2:=FILTER(成立2,5);
    TJ111:=(ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5))
    OR (VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1);
    立桩量3:=FILTER(TJ111,5);
    TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));
    成立:=TJ3=1;
    条件成立:=FILTER(成立,5);
    上:=EMA(C,3),COLORBLUE,LINETHICK1;
    中:=EMA(C,5),COLORWHITE,LINETHICK1;
    下:=EMA(中,5),COLOR00FF00,LINETHICK1;
    QQ:= CREF(上,1) AND REF(上,1)0,MA2,MA2);
    MA5:=MA(CLOSE,5),COLOR888899;
    MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;
    VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
    OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
    REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
    C>=REF(C,1) AND C>=REF(C,2);
    {收盘价=4日内收盘价的最高值 AND 昨收>=2日前的收盘价}
    VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
    {收盘价=4日内收盘价的最高值 AND 昨收=4日内收盘价的最低值}
    VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)

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

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

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

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