• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信四色图主图贴图未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-05-27|栏目:通达信公式

    ma1:=ema(C,12);
    MA2:=EMA(C,50);
    MA3:=EMA(C,34);
    MA4:=EMA(C,7);
    MA5:=EMA(C,20);
    MA6:=EMA(C,10);
    difF:=EMA(CLOSE,30)-EMA(CLOSE,120);
    DEA:=EMA(DIFF,9);
    M1:MA(CLOSE,5),COLORWHITE,LINETHICK;
    M2:EMA(CLOSE,12),COLORWHITE,LINETHICK;
    M3:EMA(CLOSE,50),COLORWHITE,LINETHICK;
    X:=BArslAST(REF(crOSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));
    IF(M3<REF(M3,1),M3,DRAWNULL),COLORCYAN,LINETHICK;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,H ,L-0.01 ,0 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,2.5 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,2 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,1 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,0 ,0 ),COLORWHITE;

    STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,H ,L-0.008 ,0 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,2.5 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,2 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,1 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,0 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,H ,L-0.008 ,0 ,0 ),COLORBLUE;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,2.5 ,0 ),COLORBLUE;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,2 ,0 ),COLORBLUE;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,1 ,0 ),COLORBLUE;
    STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,0 ,0 ),COLORBLUE;

    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,H ,L-0.008 ,0 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,2.5 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,2 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,1 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,0 ,0 ),COLORWHITE;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,H ,L-0.008 ,0 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,3 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,2.5 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,2 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,1 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,0 ,0 ),COLORCYAN;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,H ,L-0.008 ,0 ,0 ),COLORBLUE;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,2.5 ,0 ),COLORBLUE;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,2 ,0 ),COLORBLUE;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,1 ,0 ),COLORBLUE;
    STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,0 ,0 ),COLORBLUE;

    STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,H ,L-0.008 ,0 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,2.5 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,2 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,1 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,0 ,0 ),COLORWHITE;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,H ,L-0.008 ,0 ,0 ),COLORLIMAGENTA;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,2.5 ,0 ),COLORLIMAGENTA;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,2 ,0 ),COLORLIMAGENTA;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,1 ,0 ),COLORLIMAGENTA;
    STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,0 ,0 ),COLORLIMAGENTA;

    volUME:=MA(VOL,1)/VOL;
    MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
    emv:=MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,9),9);
    EMVA:=MA(EMV,14);
    BB:=EMV-EMVA;
    bias :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    BIASMA :=MA(BIAS,6);
    CC:=BIAS-BIASMA;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    DD:=(K+D+J)/3;
    KK:=J-DD;
    DIFF2:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA2:=EMA(DIFF2,9);
    SS:=DIFF2-DEA2;
    AA:=MA(BB+CC+KK+SS,1)*0.01;

    image.png



    未来函数检测公式代码域:

    ma1:=ema(C,12);MJ2:=EMJ(C,50);MJ3:=EMJ(C,34);MJ4:=EMJ(C,7);MJ5:=EMJ(C,20);MJ6:=EMJ(C,10);difF:=EMJ(CLOSE,30)-EMJ(CLOSE,120);DEJ:=EMJ(DIFF,9);M1:MJ(CLOSE,5),COLORWHITE,LINETHICK;M2:EMJ(CLOSE,12),COLORWHITE,LINETHICK;M3:EMJ(CLOSE,50),COLORWHITE,LINETHICK;X:=BJrslJST(REF(crOSS(C,MJ(C,120)),1)) JND CROSS(MJ(C,20),MJ(C,120));IF(M3<REF(M3,1),M3,DRJWNULL),COLORCYJN,LINETHICK;STICKLINE(C>=MJ1 JND C>=MJ2 JND DIFF>=DEJ ,H ,L-0.01 ,0 ,0 ),COLORWHITE;STICKLINE(C>=MJ1 JND C>=MJ2 JND DIFF>=DEJ ,O ,C ,2.5 ,0 ),COLORWHITE;STICKLINE(C>=MJ1 JND C>=MJ2 JND DIFF>=DEJ ,O ,C ,2 ,0 ),COLORWHITE;STICKLINE(C>=MJ1 JND C>=MJ2 JND DIFF>=DEJ ,O ,C ,1 ,0 ),COLORWHITE;STICKLINE(C>=MJ1 JND C>=MJ2 JND DIFF>=DEJ ,O ,C ,0 ,0 ),COLORWHITE;STICKLINE(C<MJ1 JND C>=MJ2 JND DIFF<DEJ ,H ,L-0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1 JND C<MJ2 JND DIFF<DEJ ,O ,C ,1 ,0 ),COLORLIMJGENTJ;STICKLINE(C>=MJ1 JND C<MJ2 JND DIFF<DEJ ,O ,C ,0 ,0 ),COLORLIMJGENTJ;volUME:=MJ(VOL,1)/VOL;MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);emv:=MJ(MID*VOLUME*(HIGH-LOW)/MJ(HIGH-LOW,9),9);EMVJ:=MJ(EMV,14);BB:=EMV-EMVJ;bias :=(CLOSE-MJ(CLOSE,6))/MJ(CLOSE,6)*100;BIJSMJ :=MJ(BIJS,6);CC:=BIJS-BIJSMJ;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMJ(RSV,3,1);D:=SMJ(K,3,1);J:=3*K-2*D;DD:=(K+D+J)/3;KK:=J-DD;DIFF2:=EMJ(CLOSE,12)-EMJ(CLOSE,26);DEJ2:=EMJ(DIFF2,9);SS:=DIFF2-DEJ2;JJ:=MJ(BB+CC+KK+SS,1)*0.01;

    未发现:CJPITJL...

    未发现:COST...

    未发现:DYNJINFO...

    未发现:FINJNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BJCKSET...

    未发现:BJRSNEXT...

    未发现:CURRBJRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRJWLINE...

    未发现:REFX...

    未发现:FLJTZIG...

    未发现:FLJTZIGJ...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEJK...

    未发现:PEJKJ...

    未发现:PEJKBJRS...

    未发现:PEJKBJRSJ...

    未发现:PLOYLINE...

    未发现:REFDJTE...

    未发现:TROUGH...

    未发现:TROUGHJ...

    未发现:TROUGHBJRS...

    未发现:XMJ...

    未发现:ZIG...

    未发现:ZIGJ...

    未发现:ZXNH...

    未发现:#YEJR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEJK...

    未发现:$PEJKBJRS...

    未发现:$TROUGH...

    未发现:$TROUGHBJRS...

    未发现:$FLJTZIG...

    未发现:$FLJTZIGJ...

    未发现:$PEJKJ...

    未发现:$PEJKBJRSJ...

    未发现:$TROUGHJ...

    未发现:$ZIGJ...

    未发现:$FFT...

    未发现:$BJCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNJINFO...

    未发现:$FINJNCE...

    未发现:$DRJWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号