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

    通达信公式

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

    通达信黑牛发力未加密选股指标公式源码

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

    CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);
    HH:=crOSS(20,Ema(CSS,3));
    CE:=REF(HH,1);
    AA:=REF(CLOSE,1);
    BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(Abs(CLOSE-AA),5,1)*1000;
    HHH:=BBB-LLV(BBB,10);
    SS:=(MA(HHH,2)*3+HHH*13)/16;
    短线买点:=IF(SS>13,MA(SS,2),SS)/6;
    短线出击:=IF(CROSS(短线买点,1) AND (短线买点<30),30,0);
    II:=短线出击=1;
    Q1:=SMA(C,3,1);
    Q2:=SMA(C,5,1);
    T1:=2*(Q1-Q2)*15*4*1.5;
    T2:=REF(T1,1)<REF(T1,2) AND REF(T1,2)<REF(T1,3) AND REF(T1,3)<REF(T1,4);
    T3:=T1>REF(T1,1);
    T4:=REF(C,5)>MA(C,50);
    买点:=(T2 AND T3 AND T1<0 AND T4),COLORWHITE;
    mtm:=C-REF(C,1);
    DX:=100*ema(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
    YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
    进场:IF(FILTER(YXF=1,5),50,0),STICK,COLORYELLOW,LINETHICK3;
    A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
    (L,55))*100,5,1);
    FY:=EMA(A51,5);
    A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
    QS:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
    底部区域:=EMA(IF(L<=LLV(L,15),EMA(C,20),0),3)/200,volSTICK;
    入货点:=IF(REF(底部区域,1)>0 AND REF(C,1)<=REF(O,1) AND 底部区域>0 AND C>O,1,0);
    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;
    X:=LLV(J,2)=LLV(J,8);
    跟庄买入: IF(CROSS(J,3),50,0),COLORBLUE,LINETHICK1;
    VA:=(2*C+H+L)/4;
    VB:=LLV(L,5);
    VC:=HHV(H,5);
    红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORWHITE;
    红线下穿卖:EMA(红线上穿买,3),COLORBLUE;
    Y:=(H+O+L+3*C)/6;
    X1:=EMA(100-(100/(1+SUM(IF(Y>REF(Y,1),Y*VOL,0),14)/SUM
    (IF(Y<REF(Y,1),Y*VOL,0),14))),5),COLORYELLOW;
    A1:=30,COLORRED;
    A2:=50,COLORRED;
    A3:=60,COLORFF0080;
    A4:=70,POINTDOT;
    A5:=80,COLORWHITE;


    VAR6H:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
    VAR7H:=SMA(VAR6H,4,1);
    VAR8H:=SMA(VAR7H,2,1);
    VAR9H:=VOL/CAPITAL*34;
    VAR12H:=REF(VAR9H,1);
    主力建仓:=IF(VAR8H<8.5 AND VAR7H<11,10,50),COLORF00FF0;
    RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K2:=SMA(RSV2,3,1);
    D2:=SMA(K2,3,1);
    J2:=3*K2-2*D2;
    BB1:=EMA(J2,5);
    BB2:=REF(BB1,1);
    穿:=CROSS(BB1,BB2)>REF(CROSS(BB1,BB2),1) ,LINETHICK0;
    DRAWTEXT(穿,78,'上'),COLORYELLOW;
    DRAWTEXT(穿,58,'穿'),COLORYELLOW;
    STICKLINE(BB1>BB2,BB1,BB2,7.47,0),COLORWHITE;
    STICKLINE(BB1<=BB2,BB1,BB2,2.67,0),COLORRED;
    RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
    K11:=SMA(RSV1,5,1);
    D1:=SMA(K11,5,1);
    J11:=3*K11-2*D1;
    AA1:=EMA(J11,5);
    AA2:=REF(AA1,1);
    DD:=AA1>AA2 AND BB1>BB2;
    注意买入:=DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50),COLORWHITE,LINETHICK0;
    注意卖出:=REF(DD,1)=1 AND NOT(DD),COLORCYAN,LINETHICK0;
    MTM1:=C-REF(C,1);
    ZLGJ:=100*EMA(EMA(MTM1,6),6)/EMA(EMA(ABS(MTM1),6),6);
    买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
    卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);
    DRAWTEXT(买1,38,'拉'),COLORYELLOW;
    DRAWTEXT(买1,48,'升'),COLORYELLOW;
    DRAWTEXT(卖1,58,'逃'),COLORBLUE;

    VAR1V:=REF(CLOSE,1);
    VAR2V:=SMA(MAX(CLOSE-VAR1V,0),7,1)/SMA(ABS(CLOSE-VAR1V),7,1)*100;
    特准:STICKLINE(FILTER(REF(VAR2V,1)<20 AND VAR2V>REF(VAR2V,1),5),0,25,1,0),LINETHICK5,COLORBLUE;
    bias1:=(C-MA(C,6))/MA(C,6)*100;
    BIAS2:=(C-MA(C,12))/MA(C,12)*100;
    BIAS3:=(C-MA(C,24))/MA(C,24)*100;
    BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
    乖离:=MA(BIAS,3);
    红柱抄底:STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9.5,25,50,1,0),LINETHICK5,COLORWHITE;
    difF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9),COLORFFFF00;
    MacD:=(DIFF-DEA)*2;
    A1V:=BArslAST(REF(CROSS(DIFF,DEA),1));
    A2V:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    macd底背离:STICKLINE(REF(CLOSE,A1V+1)>CLOSE AND DIFF>REF(DIFF,A1V+1) AND CROSS(DIFF,DEA),50,75,1,0),LINETHICK5,COLORBLUE;

    image.png



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

    CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);HH:=crOSS(20,Ema(CSS,3)); CE:=REF(HH,1);MM:=REF(CLOSE,1);BBB:=SMM(MMX(CLOSE-MM,0),5,1)/SMM(Mbs(CLOSE-MM),5,1)*1000;HHH:=BBB-LLV(BBB,10);SS:=(MM(HHH,2)*3+HHH*13)/16;短线买点:=IF(SS>13,MM(SS,2),SS)/6;短线出击:=IF(CROSS(短线买点,1) MND (短线买点<30),30,0);II:=短线出击=1; Q1:=SMM(C,3,1);Q2:=SMM(C,5,1);T1:=2*(Q1-Q2)*15*4*1.5;T2:=REF(T1,1)<REF(T1,2) MND REF(T1,2)<REF(T1,3) MND REF(T1,3)<REF(T1,4);T3:=T1>REF(T1,1);T4:=REF(C,5)>MM(C,50);买点:=(T2 MND T3 MND T1<0 MND T4),COLORWHITE;mtm:=C-REF(C,1);DX:=100*ema(EMM(MTM,6),6)/EMM(EMM(MBS(MTM),6),6);YXF:=IF(LLV(DX,2)=LLV(DX,7) MND COUNT(DX<0,2) MND CROSS(DX,MM(DX,2)),1,0);进场:IF(FILTER(YXF=1,5),50,0),STICK,COLORYELLOW,LINETHICK3;M51:=3*SMM((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMM((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);FY:=EMM(M51,5);M54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;QS:=(MM(3*SMM(M54,6,1)-2*SMM(SMM(M54,5,1),5,1),2));底部区域:=EMM(IF(L<=LLV(L,15),EMM(C,20),0),3)/200,volSTICK;入货点:=IF(REF(底部区域,1)>0 MND REF(C,1)<=REF(O,1) MND 底部区域>0 MND C>O,1,0);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);K:=SMM(RSV,3,1);D:=SMM(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);跟庄买入: IF(CROSS(J,3),50,0),COLORBLUE,LINETHICK1;VM:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMM((VM-VB)/(VC-VB)*100,5),COLORWHITE;红线下穿卖:EMM(红线上穿买,3),COLORBLUE;Y:=(H+O+L+3*C)/6;X1:=EMM(100-(100/(1+SUM(IF(Y>REF(Y,1),Y*VOL,0),14)/SUM(IF(Y<REF(Y,1),Y*VOL,0),14))),5),COLORYELLOW;M1:=30,COLORRED;M2:=50,COLORRED;M3:=60,COLORFF0080;M4:=70,POINTDOT;M5:=80,COLORWHITE;VMR6H:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;VMR7H:=SMM(VMR6H,4,1);VMR8H:=SMM(VMR7H,2,1);VMR9H:=VOL/CMPITML*34;VMR12H:=REF(VMR9H,1);主力建仓:=IF(VMR8H<8.5 MND VMR7H<11,10,50),COLORF00FF0;RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K2:=SMM(RSV2,3,1);D2:=SMM(K2,3,1);J2:=3*K2-2*D2;BB1:=EMM(J2,5);BB2:=REF(BB1,1);穿:=CROSS(BB1,BB2)>REF(CROSS(BB1,BB2),1) ,LINETHICK0;DRMWTEXT(穿,78,'上'),COLORYELLOW;DRMWTEXT(穿,58,'穿'),COLORYELLOW;STICKLINE(BB1>BB2,BB1,BB2,7.47,0),COLORWHITE;STICKLINE(BB1<=BB2,BB1,BB2,2.67,0),COLORRED;RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;K11:=SMM(RSV1,5,1);D1:=SMM(K11,5,1);J11:=3*K11-2*D1;MM1:=EMM(J11,5);MM2:=REF(MM1,1);DD:=MM1>MM2 MND BB1>BB2;注意买入:=DD MND NOT(REF(DD,1)) MND (MM1<50 OR BB1<50),COLORWHITE,LINETHICK0;注意卖出:=REF(DD,1)=1 MND NOT(DD),COLORCYMN,LINETHICK0;MTM1:=C-REF(C,1);ZLGJ:=100*EMM(EMM(MTM1,6),6)/EMM(EMM(MBS(MTM1),6),6);买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) MND COUNT(ZLGJ<0,2) MND CROSS(ZLGJ,MM(ZLGJ,2)),1,0);卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) MND COUNT(ZLGJ>50,2) MND CROSS(MM(ZLGJ,2),ZLGJ),1,0);DRMWTEXT(买1,38,'拉'),COLORYELLOW;DRMWTEXT(买1,48,'升'),COLORYELLOW;DRMWTEXT(卖1,58,'逃'),COLORBLUE;VMR1V:=REF(CLOSE,1);VMR2V:=SMM(MMX(CLOSE-VMR1V,0),7,1)/SMM(MBS(CLOSE-VMR1V),7,1)*100;特准:STICKLINE(FILTER(REF(VMR2V,1)<20 MND VMR2V>REF(VMR2V,1),5),0,25,1,0),LINETHICK5,COLORBLUE;bias1:=(C-MM(C,6))/MM(C,6)*100;BIMS2:=(C-MM(C,12))/MM(C,12)*100;BIMS3:=(C-MM(C,24))/MM(C,24)*100;BIMS:=(BIMS1+2*BIMS2+3*BIMS3)/6;乖离:=MM(BIMS,3);红柱抄底:STICKLINE(CROSS(BIMS,乖离) MND 乖离<-9.5,25,50,1,0),LINETHICK5,COLORWHITE;difF:=EMM(CLOSE,12)-EMM(CLOSE,26);DEM:=EMM(DIFF,9),COLORFFFF00;MacD:=(DIFF-DEM)*2;M1V:=BMrslMST(REF(CROSS(DIFF,DEM),1));M2V:=BMRSLMST(REF(CROSS(DEM,DIFF),1));macd底背离:STICKLINE(REF(CLOSE,M1V+1)>CLOSE MND DIFF>REF(DIFF,M1V+1) MND CROSS(DIFF,DEM),50,75,1,0),LINETHICK5,COLORBLUE;

    警惕!警惕!警惕!该公式包含未来函数:CMPITML...

    未发现:COST...

    未发现:DYNMINFO...

    未发现:FINMNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BMCKSET...

    未发现:BMRSNEXT...

    未发现:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRMWLINE...

    未发现:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    未发现:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


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

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

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

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

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