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

    通达信公式

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

    通达信开盘三线分时K线图未加密选股指标公式源码

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

    STICKLINE(TIME2=94000 AND REF(C,BArslAST(TIME2=94000))>=REF(C,BARSLAST(TIME2=93000)),DYnaINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORWHITE;
    STICKLINE(TIME2=94000 AND REF(C,BARSLAST(TIME2=94000))<REF(C,BARSLAST(TIME2=93000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORCYAN;
    STICKLINE(TIME2=95000 AND REF(C,BARSLAST(TIME2=95000))>=REF(C,BARSLAST(TIME2=94000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORWHITE;
    STICKLINE(TIME2=95000 AND REF(C,BARSLAST(TIME2=95000))<REF(C,BARSLAST(TIME2=94000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORCYAN;
    STICKLINE(TIME2=100000 AND REF(C,BARSLAST(TIME2=100000))>=REF(C,BARSLAST(TIME2=95000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORWHITE;
    STICKLINE(TIME2=100000 AND REF(C,BARSLAST(TIME2=100000))<REF(C,BARSLAST(TIME2=95000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORCYAN;
    SJ1:=TIME2=93000;T1:=BARSLAST(SJ1);SJ2:=TIME2=94000;
    SJ4:=TIME2=95000;T2:=BARSLAST(SJ2);T4:=BARSLAST(SJ4);
    H1:=IF(TIME2=94000,REF(C,T2),DRAWNULL)=C;
    H2:=IF(TIME2=95000,REF(C,T4),DRAWNULL)=C;
    CS2:=CONST(REF(C,T2));{理想论坛ID鹏腾2009版本}
    CS4:=CONST(REF(C,T4));
    GL2:=FILTERX(H1,T2);
    GL4:=FILTERX(H2,T4);
    L1:=IF(TIME2=93000,REF(C,T1),DRAWNULL)=C;
    CS1:=CONST(REF(C,T1));
    GL1:=FILTERX(L1,T1);
    DA:=CONST(IF(REF(GL2,BARSLAST(GL2)),REF(BARSLAST(GL1),BARSLAST(GL2)),DRAWNULL));
    DA1:=CONST(IF(REF(GL4,BARSLAST(GL4)),REF(BARSLAST(GL2),BARSLAST(GL4)),DRAWNULL));
    A:=IF(BARSLAST(GL1)>=0 AND BARSLAST(GL1)<=DA,((CS2-CS1)/DA)*BARSLAST(GL1)+CS1,DRAWNULL);
    B:=IF(BARSLAST(GL2)>=0 AND BARSLAST(GL2)<=DA1,((CS4-CS2)/DA1)*BARSLAST(GL2)+CS2,DRAWNULL);
    IF(A>=REF(A,1),A,DRAWNULL)COLORWHITE,LINETHICK3;
    IF(A<REF(A,1),A,DRAWNULL)COLORCYAN,LINETHICK3;
    IF(B>=REF(B,1),B,DRAWNULL)COLORWHITE,LINETHICK3;
    IF(B<REF(B,1),B,DRAWNULL)COLORCYAN,LINETHICK3;
    XSJ1:=TIME2=95000;
    XT1:=BARSLAST(XSJ1);
    XSJ2:=TIME2=100000;
    XT2:=BARSLAST(XSJ2);
    XCS2:=CONST(REF(C,XT2));
    XL1:=IF(TIME2=95000,REF(C,XT1),DRAWNULL)=C;
    XH1:=IF(TIME2=100000,REF(C,XT2),DRAWNULL)=C;
    XCS1:=CONST(REF(C,XT1));
    XGL1:=FILTERX(XL1,XT1);
    XGL2:=FILTERX(XH1,XT2);
    XDA:=CONST(IF(REF(XGL2,BARSLAST(XGL2)),REF(BARSLAST(XGL1),BARSLAST(XGL2)),DRAWNULL));
    XA:=IF(BARSLAST(XGL1)>=0 AND BARSLAST(XGL1)<=XDA,((XCS2-XCS1)/XDA)*BARSLAST(XGL1)+XCS1,DRAWNULL);
    IF(XA>=REF(XA,1),XA,DRAWNULL)COLORWHITE,LINETHICK3;
    IF(XA<REF(XA,1),XA,DRAWNULL)COLORCYAN,LINETHICK3;
    时间:=TIME2=100000;
    N:=BARSLAST(时间);
    C1:CONST(IF(N,maX(REF(HHV(H,0),N+1),DYNAINFO(4)),HHV(H,0))),DOTLINE,COLORWHITE;
    C2:CONST(IF(N,MIN(REF(LLV(L,0),N+1),DYNAINFO(4)),LLV(L,0))),DOTLINE,COLORCYAN;
    C3:(C1+C2)/2,DOTLINE,COLORBLUE;
    VV:=HHV(V,0);
    Z,:=(C1/C2-1)*100;
    DRAWTEXT(CURRBARSCOUNT=30,C1*1.005,VARCAT(VARCAT(VARCAT(VARCAT('上限:',VAR2STR(C1,2)),'元,'),VARCAT('振幅:',VAR2STR(Z,,2))),'%')),COLORWHITE;
    DRAWTEXT(CURRBARSCOUNT=30,C3*1.005,VARCAT(VARCAT('中限:',VAR2STR(C3,2)),'元')),COLORBLUE;
    DRAWTEXT(CURRBARSCOUNT=30,C2*1.005,VARCAT(VARCAT('下限:',VAR2STR(C2,2)),'元')),COLORCYAN;
    DRAWTEXT(C1/C2<=1.03 AND crOSS(C,C1) AND V>=VV,C1*1.005,'★买入')COLORWHITE;
    DRAWTEXT(C1/C2<=1.03 AND CROSS(C2,C) AND V>=VV,C2*0.998,'★卖出')COLORCYAN;
    STICKLINE(C1/C2<1.03 AND CROSS(C,C1) AND V>=VV,C1,C2,1,0),COLORWHITE;image.png



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

    STICKLINE(TIME2=94000 JND REF(C,BJrslJST(TIME2=94000))>=REF(C,BJRSLJST(TIME2=93000)),DYnaINFO(3)*1.1,DYNJINFO(3)*0.9,0.5,-1),COLORWHITE;STICKLINE(TIME2=94000 JND REF(C,BJRSLJST(TIME2=94000))<REF(C,BJRSLJST(TIME2=93000)),DYNJINFO(3)*1.1,DYNJINFO(3)*0.9,0.5,-1),COLORCYJN;STICKLINE(TIME2=95000 JND REF(C,BJRSLJST(TIME2=95000))>=REF(C,BJRSLJST(TIME2=94000)),DYNJINFO(3)*1.1,DYNJINFO(3)*0.9,0.5,-1),COLORWHITE;STICKLINE(TIME2=95000 JND REF(C,BJRSLJST(TIME2=95000))<REF(C,BJRSLJST(TIME2=94000)),DYNJINFO(3)*1.1,DYNJINFO(3)*0.9,0.5,-1),COLORCYJN;STICKLINE(TIME2=100000 JND REF(C,BJRSLJST(TIME2=100000))>=REF(C,BJRSLJST(TIME2=95000)),DYNJINFO(3)*1.1,DYNJINFO(3)*0.9,0.5,-1),COLORWHITE;STICKLINE(TIME2=100000 JND REF(C,BJRSLJST(TIME2=100000))<REF(C,BJRSLJST(TIME2=95000)),DYNJINFO(3)*1.1,DYNJINFO(3)*0.9,0.5,-1),COLORCYJN;SJ1:=TIME2=93000;T1:=BJRSLJST(SJ1);SJ2:=TIME2=94000;SJ4:=TIME2=95000;T2:=BJRSLJST(SJ2);T4:=BJRSLJST(SJ4);H1:=IF(TIME2=94000,REF(C,T2),DRJWNULL)=C;H2:=IF(TIME2=95000,REF(C,T4),DRJWNULL)=C;CS2:=CONST(REF(C,T2));{理想论坛ID鹏腾2009版本}CS4:=CONST(REF(C,T4));GL2:=FILTERX(H1,T2);GL4:=FILTERX(H2,T4);L1:=IF(TIME2=93000,REF(C,T1),DRJWNULL)=C;CS1:=CONST(REF(C,T1));GL1:=FILTERX(L1,T1);DJ:=CONST(IF(REF(GL2,BJRSLJST(GL2)),REF(BJRSLJST(GL1),BJRSLJST(GL2)),DRJWNULL));DJ1:=CONST(IF(REF(GL4,BJRSLJST(GL4)),REF(BJRSLJST(GL2),BJRSLJST(GL4)),DRJWNULL));J:=IF(BJRSLJST(GL1)>=0 JND BJRSLJST(GL1)<=DJ,((CS2-CS1)/DJ)*BJRSLJST(GL1)+CS1,DRJWNULL);B:=IF(BJRSLJST(GL2)>=0 JND BJRSLJST(GL2)<=DJ1,((CS4-CS2)/DJ1)*BJRSLJST(GL2)+CS2,DRJWNULL);IF(J>=REF(J,1),J,DRJWNULL)COLORWHITE,LINETHICK3;IF(J<REF(J,1),J,DRJWNULL)COLORCYJN,LINETHICK3;IF(B>=REF(B,1),B,DRJWNULL)COLORWHITE,LINETHICK3;IF(B<REF(B,1),B,DRJWNULL)COLORCYJN,LINETHICK3;XSJ1:=TIME2=95000;XT1:=BJRSLJST(XSJ1);XSJ2:=TIME2=100000;XT2:=BJRSLJST(XSJ2);XCS2:=CONST(REF(C,XT2));XL1:=IF(TIME2=95000,REF(C,XT1),DRJWNULL)=C;XH1:=IF(TIME2=100000,REF(C,XT2),DRJWNULL)=C;XCS1:=CONST(REF(C,XT1));XGL1:=FILTERX(XL1,XT1);XGL2:=FILTERX(XH1,XT2);XDJ:=CONST(IF(REF(XGL2,BJRSLJST(XGL2)),REF(BJRSLJST(XGL1),BJRSLJST(XGL2)),DRJWNULL));XJ:=IF(BJRSLJST(XGL1)>=0 JND BJRSLJST(XGL1)<=XDJ,((XCS2-XCS1)/XDJ)*BJRSLJST(XGL1)+XCS1,DRJWNULL);IF(XJ>=REF(XJ,1),XJ,DRJWNULL)COLORWHITE,LINETHICK3;IF(XJ<REF(XJ,1),XJ,DRJWNULL)COLORCYJN,LINETHICK3;时间:=TIME2=100000;N:=BJRSLJST(时间);C1:CONST(IF(N,maX(REF(HHV(H,0),N+1),DYNJINFO(4)),HHV(H,0))),DOTLINE,COLORWHITE;C2:CONST(IF(N,MIN(REF(LLV(L,0),N+1),DYNJINFO(4)),LLV(L,0))),DOTLINE,COLORCYJN;C3:(C1+C2)/2,DOTLINE,COLORBLUE;VV:=HHV(V,0);Z,:=(C1/C2-1)*100;DRJWTEXT(CURRBJRSCOUNT=30,C1*1.005,VJRCJT(VJRCJT(VJRCJT(VJRCJT('上限:',VJR2STR(C1,2)),'元,'),VJRCJT('振幅:',VJR2STR(Z,,2))),'%')),COLORWHITE;DRJWTEXT(CURRBJRSCOUNT=30,C3*1.005,VJRCJT(VJRCJT('中限:',VJR2STR(C3,2)),'元')),COLORBLUE;DRJWTEXT(CURRBJRSCOUNT=30,C2*1.005,VJRCJT(VJRCJT('下限:',VJR2STR(C2,2)),'元')),COLORCYJN;DRJWTEXT(C1/C2<=1.03 JND crOSS(C,C1) JND V>=VV,C1*1.005,'★买入')COLORWHITE;DRJWTEXT(C1/C2<=1.03 JND CROSS(C2,C) JND V>=VV,C2*0.998,'★卖出')COLORCYJN;STICKLINE(C1/C2<1.03 JND CROSS(C,C1) JND V>=VV,C1,C2,1,0),COLORWHITE;

    未发现: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号