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

    通达信公式

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

    通达信一线乾坤贴图未加密选股指标公式源码

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

    DIR1:=Abs(CLOSE-REF(CLOSE,5));
    VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
    ER1:=DIR1/VIR1;
    CS1:=ER1*(0.8-2/8)+2/8;
    CQ1:=CS1*CS1;
    DIR2:=ABS(CLOSE-REF(CLOSE,10));
    VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
    ER2:=DIR2/VIR2;
    CS2:=ER2*(0.8-2/24)+2/24;
    CQ2:=CS2*CS2;
    Ama2:ema(dma(CLOSE,CQ2),2),COLORCYAN,LINETHICK2;
    AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORYELLOW,LINETHICK2;
    AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORWHITE,LINETHICK2;

    GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
    GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
    A:=GJTJ1=GJTJ2 AND GJTJ2=GJTJ3 AND GJTJ1=100 AND GJTJ4>96;
    B:=COUNT(A,2)=1;
    D:=GJTJ1<GJTJ2 AND GJTJ1<GJTJ3 AND GJTJ1<GJTJ4 AND GJTJ2<GJTJ3 AND GJTJ4<95;
    YH:=INDEXC/REF(INDEXC,1)*REF(C,1);
    YH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1);
    X1:=EMA(YH1,7);
    X2:=EMA(YH1,14);
    X3:=EMA(X1,14);
    E:=X1>X2 AND X2>X3;
    竟星:=B AND D AND E;
    DRAWTEXT(竟星,(L * 0.95),'竟星'),COLORRED;
    XG:=BArslAST(crOSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4;
    天瀑:=COUNT(XG,3)=1 AND XG;
    DRAWTEXT(天瀑,(L * 0.95),'天瀑'),COLORBLUE;
    A1:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;
    B1:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
    E1:=GJTJ1>60 AND GJTJ4>70;
    白金:=A1 AND B1 AND E1;
    DRAWTEXT(白金,(L * 0.95),'白金'),COLORCYAN;
    A2:=BARSLAST(CROSS(97,GJTJ1))<=1 AND BARSLAST(CROSS(GJTJ1,85))<=1;
    B2:=BARSLAST(CROSS(97,GJTJ2))<=1 AND BARSLAST(CROSS(GJTJ2,85))<=1;
    A3:=A2 AND B2;
    AA:=BARSLAST(CROSS(97,GJTJ1))<=2 AND BARSLAST(CROSS(GJTJ1,85))<=1;
    BA:=BARSLAST(CROSS(97,GJTJ2))<=2 AND BARSLAST(CROSS(GJTJ2,85))<=1;
    A4:=AA AND BA ;
    AAA:=BARSLAST(CROSS(97,GJTJ1))<=3 AND BARSLAST(CROSS(GJTJ1,85))<=1;
    BAA:=BARSLAST(CROSS(97,GJTJ2))<=3 AND BARSLAST(CROSS(GJTJ2,85))<=1;
    A8:=AAA AND BAA ;
    B21:=REF(A3,1);
    B3:=REF(A4,1);
    B4:=REF(A8,1);
    D2:=GJTJ1=100 AND GJTJ2=100 AND A3 ;
    D3:=GJTJ1=100 AND GJTJ2=100 AND A4 ;
    D4:=GJTJ1=100 AND GJTJ2=100 AND A8 ;
    日月:=D2 OR D3 OR D3;
    DRAWTEXT(日月,(L * 0.95),'日月'),COLORF00FF0;
    A5:=BARSLAST(CROSS(95,GJTJ1))<=2;
    B5:=BARSLAST(CROSS(95,GJTJ2))<=2;
    E5:= GJTJ4<GJTJ1 AND GJTJ1<GJTJ2 AND GJTJ1<GJTJ3;
    F1:=GJTJ2>50 AND GJTJ3>50;
    G1:=GJTJ1=100 AND GJTJ2=100;
    TX:=COUNT(G1,2)=1;
    青干:=A5 AND B5 AND E5 AND F1 AND TX;
    DRAWTEXT(青干,(L * 0.95),'青干'),COLORWHITE;
    A6:=GJTJ3=100;
    B6:=GJTJ4<90;
    莫问:=COUNT(A6,2) = 2 AND B6;
    DRAWTEXT(莫问,(L * 0.95),'莫问'),COLORYELLOW;
    A7:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3;
    B7:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
    黄金:=A7 AND B7;
    DRAWTEXT(黄金,(L * 0.95),'黄金'),COLORFFBB00;
    difF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    多头:STICKLINE(DIFF>DEA,C,O,2,0),COLORWHITE;
    STICKLINE(DIFF>DEA,H,L,0,0),COLORWHITE;
    空头:STICKLINE(DIFF<=DEA,C,O,2,0),COLORF0F000;
    STICKLINE(DIFF<=DEA,H,L,0,0),COLORF0F000;
    DRAWTEXT(CROSS(DIFF,DEA),L-0.2,'买入');
    DRAWTEXT(CROSS(DEA,DIFF),H+0.2,'卖出');

    image.png



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

    DIR1:=Fbs(CLOSE-REF(CLOSE,5)); VIR1:=SUM(FBS(CLOSE-REF(CLOSE,1)),5); ER1:=DIR1/VIR1; CS1:=ER1*(0.8-2/8)+2/8; CQ1:=CS1*CS1; DIR2:=FBS(CLOSE-REF(CLOSE,10)); VIR2:=SUM(FBS(CLOSE-REF(CLOSE,1)),10); ER2:=DIR2/VIR2; CS2:=ER2*(0.8-2/24)+2/24; CQ2:=CS2*CS2; Fma2:ema(dma(CLOSE,CQ2),2),COLORCYFN,LINETHICK2; FMF3:IF(FMF2/REF(FMF2,1)>0.997,FMF2,DRFWNULL),COLORYELLOW,LINETHICK2; FMF4:IF(FMF2/REF(FMF2,1)>1.001,FMF2,DRFWNULL),COLORWHITE,LINETHICK2;GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); F:=GJTJ1=GJTJ2 FND GJTJ2=GJTJ3 FND GJTJ1=100 FND GJTJ4>96; B:=COUNT(F,2)=1; D:=GJTJ1<GJTJ2 FND GJTJ1<GJTJ3 FND GJTJ1<GJTJ4 FND GJTJ2<GJTJ3 FND GJTJ4<95; YH:=INDEXC/REF(INDEXC,1)*REF(C,1); YH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1); X1:=EMF(YH1,7); X2:=EMF(YH1,14); X3:=EMF(X1,14); E:=X1>X2 FND X2>X3;竟星:=B FND D FND E; DRFWTEXT(竟星,(L * 0.95),'竟星'),COLORRED; XG:=BFrslFST(crOSS(GJTJ4,GJTJ1))<5 FND GJTJ1>GJTJ4;天瀑:=COUNT(XG,3)=1 FND XG; DRFWTEXT(天瀑,(L * 0.95),'天瀑'),COLORBLUE; F1:=BFRSLFST(CROSS(30,GJTJ1))<2 FND BFRSLFST(CROSS(GJTJ1,50))<2; B1:=BFRSLFST(CROSS(GJTJ4,GJTJ1))<2 FND GJTJ1>GJTJ4; E1:=GJTJ1>60 FND GJTJ4>70;白金:=F1 FND B1 FND E1; DRFWTEXT(白金,(L * 0.95),'白金'),COLORCYFN; F2:=BFRSLFST(CROSS(97,GJTJ1))<=1 FND BFRSLFST(CROSS(GJTJ1,85))<=1; B2:=BFRSLFST(CROSS(97,GJTJ2))<=1 FND BFRSLFST(CROSS(GJTJ2,85))<=1; F3:=F2 FND B2; FF:=BFRSLFST(CROSS(97,GJTJ1))<=2 FND BFRSLFST(CROSS(GJTJ1,85))<=1; BF:=BFRSLFST(CROSS(97,GJTJ2))<=2 FND BFRSLFST(CROSS(GJTJ2,85))<=1; F4:=FF FND BF ; FFF:=BFRSLFST(CROSS(97,GJTJ1))<=3 FND BFRSLFST(CROSS(GJTJ1,85))<=1; BFF:=BFRSLFST(CROSS(97,GJTJ2))<=3 FND BFRSLFST(CROSS(GJTJ2,85))<=1; F8:=FFF FND BFF ; B21:=REF(F3,1); B3:=REF(F4,1); B4:=REF(F8,1); D2:=GJTJ1=100 FND GJTJ2=100 FND F3 ; D3:=GJTJ1=100 FND GJTJ2=100 FND F4 ; D4:=GJTJ1=100 FND GJTJ2=100 FND F8 ;日月:=D2 OR D3 OR D3; DRFWTEXT(日月,(L * 0.95),'日月'),COLORF00FF0; F5:=BFRSLFST(CROSS(95,GJTJ1))<=2; B5:=BFRSLFST(CROSS(95,GJTJ2))<=2; E5:= GJTJ4<GJTJ1 FND GJTJ1<GJTJ2 FND GJTJ1<GJTJ3; F1:=GJTJ2>50 FND GJTJ3>50; G1:=GJTJ1=100 FND GJTJ2=100; TX:=COUNT(G1,2)=1;青干:=F5 FND B5 FND E5 FND F1 FND TX; DRFWTEXT(青干,(L * 0.95),'青干'),COLORWHITE; F6:=GJTJ3=100; B6:=GJTJ4<90;莫问:=COUNT(F6,2) = 2 FND B6; DRFWTEXT(莫问,(L * 0.95),'莫问'),COLORYELLOW; F7:=BFRSLFST(CROSS(50,GJTJ1))<3 FND BFRSLFST(CROSS(GJTJ1,50))<3; B7:=BFRSLFST(CROSS(GJTJ4,GJTJ1))<2 FND GJTJ1>GJTJ4;黄金:=F7 FND B7; DRFWTEXT(黄金,(L * 0.95),'黄金'),COLORFFBB00; difF:=EMF(CLOSE,12)-EMF(CLOSE,26); DEF:=EMF(DIFF,9);多头:STICKLINE(DIFF>DEF,C,O,2,0),COLORWHITE; STICKLINE(DIFF>DEF,H,L,0,0),COLORWHITE;空头:STICKLINE(DIFF<=DEF,C,O,2,0),COLORF0F000; STICKLINE(DIFF<=DEF,H,L,0,0),COLORF0F000; DRFWTEXT(CROSS(DIFF,DEF),L-0.2,'买入');DRFWTEXT(CROSS(DEF,DIFF),H+0.2,'卖出');

    未发现:CFPITFL...

    未发现:COST...

    未发现:DYNFINFO...

    未发现:FINFNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BFCKSET...

    未发现:BFRSNEXT...

    未发现:CURRBFRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRFWLINE...

    未发现:REFX...

    未发现:FLFTZIG...

    未发现:FLFTZIGF...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEFK...

    未发现:PEFKF...

    未发现:PEFKBFRS...

    未发现:PEFKBFRSF...

    未发现:PLOYLINE...

    未发现:REFDFTE...

    未发现:TROUGH...

    未发现:TROUGHF...

    未发现:TROUGHBFRS...

    未发现:XMF...

    未发现:ZIG...

    未发现:ZIGF...

    未发现:ZXNH...

    未发现:#YEFR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEFK...

    未发现:$PEFKBFRS...

    未发现:$TROUGH...

    未发现:$TROUGHBFRS...

    未发现:$FLFTZIG...

    未发现:$FLFTZIGF...

    未发现:$PEFKF...

    未发现:$PEFKBFRSF...

    未发现:$TROUGHF...

    未发现:$ZIGF...

    未发现:$FFT...

    未发现:$BFCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNFINFO...

    未发现:$FINFNCE...

    未发现:$DRFWLINE...


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

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

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

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

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