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

    通达信公式

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

    通达信牛股涨停临界突破主图未加密选股指标公式源码

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

    个股涨跌:((C-REF(C,1))/REF(C,1))*100,NODRAW;
    大盘涨跌:((INDEXC-REF(INDEXC,1))/REF(INDEXC,1))*100,NODRAW;
    A1:Ema((ema(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5))/3,3),COLORWHITE,NODRAW;
    A:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),COLORBLUE;
    B:=REF(A,1);
    DRAWTEXT(A>B,(A+B)/2,'★'), COLORFF00FF;
    DRAWTEXT(A<=B,(A+B)/2,'☆'), COLORCYAN,NODRAW;
    STICKLINE(A>B,A,B,3,0),COLORFF00FF;
    STICKLINE(A<=B,A,B,3,1),COLORFF0000,NODRAW;
    A6:EMA((EMA(CLOSE,11)+EMA(CLOSE,13)+EMA( CLOSE,15))/3,3),COLORWHITE,NODRAW;
    A7:EMA((EMA(CLOSE,13)+EMA(CLOSE,15)+EMA( CLOSE,17))/3,3),COLORWHITE,NODRAW;
    A8:EMA((EMA(CLOSE,15)+EMA(CLOSE,17)+EMA( CLOSE,19))/3,3),COLORWHITE,NODRAW;
    A9:EMA((EMA(CLOSE,17)+EMA(CLOSE,19)+EMA( CLOSE,21))/3,3),COLORBLUE,NODRAW;
    A10:EMA((EMA(CLOSE,19)+EMA(CLOSE,21)+EMA( CLOSE,23))/3,3),COLORBLUE,NODRAW;
    A11:EMA((EMA(CLOSE,21)+EMA(CLOSE,23)+EMA( CLOSE,25))/3,3),COLORBLUE,NODRAW;
    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6,NODRAW;
    MA1:MA(MID,8),COLORRED,NODRAW;
    MA2:MA(MID,13),COLORFFCCCC,NODRAW;
    MA3:MA(MID,21),COLORFFCC66,NODRAW;
    MA60:MA(MID,55),LINETHICK8,NODRAW;
    MA144:MA(MID,144),LINETHICK2,NODRAW;
    MA233:MA(MID,233),LINETHICK6;
    乖离线:=((C-REF(MA1,1))/20+MA1)*1.20;
    回调认同:EMA(expma(MID,20),13),COLORWHITE,LINETHICK3;
    T:=(C+L+H)/3;
    SL:=((REF(T,1)*REF(V,1)+T*V)/(REF(V,1)+V));
    VV:=SL;
    Y911:=IFF(CURRBARSCOUNT=1, (xma(VV,9)*9-MA(VV,8)+MA(VV,7) -MA(VV,6)+MA(VV,5) -MA(VV,4)+MA(VV,3) -MA(VV,2) +VV)/9,XMA(VV,9));
    Y912:=IFF(CURRBARSCOUNT=1, (XMA(Y911,9)*9-MA(Y911,8)+MA(Y911,7) -MA(Y911,6)+MA(Y911,5) -MA(Y911,4)+MA(Y911,3) -MA(Y911,2) +Y911)/9,XMA(Y911,9));
    Y913:=IFF(CURRBARSCOUNT=1, (XMA(Y912,9)*9-MA(Y912,8)+MA(Y912,7) -MA(Y912,6)+MA(Y912,5) -MA(Y912,4)+MA(Y912,3) -MA(Y912,2) +Y912)/9,XMA(Y912,9));
    Y291:=IFF(CURRBARSCOUNT=1,(XMA(VV,29)*29-MA(VV,28)+MA(VV,27)-MA(VV,26)+MA(VV,25)-MA(VV,24)+MA(VV,23)-MA(VV,22)+MA(VV,21)-MA(VV,20)+MA(VV,19)-MA(VV,18)+MA(VV,17)-MA(VV,16)+MA(VV,15)-MA(VV,14)+MA(VV,13)-MA(VV,12)+MA(VV,11) -MA(VV,10)+MA(VV,9) -MA(VV,8)+MA(VV,7) -MA(VV,6)+MA(VV,5) -MA(VV,4)+MA(VV,3) -MA(VV,2)+VV)/29,XMA(VV,29));
    Y292:=IFF(CURRBARSCOUNT=1,(XMA(Y291,29)*29-MA(Y291,28)+MA(Y291,27)-MA(Y291,26)+MA(Y291,25)-MA(Y291,24)+MA(Y291,23)-MA(Y291,22)+MA(Y291,21)-MA(Y291,20)+MA(Y291,19)-MA(Y291,18)+MA(Y291,17)-MA(Y291,16)+MA(Y291,15)-MA(Y291,14)+MA(Y291,13)-MA(Y291,12)+MA(Y291,11) -MA(Y291,10)+MA(Y291,9) -MA(Y291,8)+MA(Y291,7) -MA(Y291,6)+MA(Y291,5) -MA(Y291,4)+MA(Y291,3) -MA(Y291,2)+Y291)/29,XMA(Y291,29));
    Y293:=IFF(CURRBARSCOUNT=1,(XMA(Y292,29)*29-MA(Y292,28)+MA(Y292,27)-MA(Y292,26)+MA(Y292,25)-MA(Y292,24)+MA(Y292,23)-MA(Y292,22)+MA(Y292,21)-MA(Y292,20)+MA(Y292,19)-MA(Y292,18)+MA(Y292,17)-MA(Y292,16)+MA(Y292,15)-MA(Y292,14)+MA(Y292,13)-MA(Y292,12)+MA(Y292,11) -MA(Y292,10)+MA(Y292,9) -MA(Y292,8)+MA(Y292,7) -MA(Y292,6)+MA(Y292,5) -MA(Y292,4)+MA(Y292,3) -MA(Y292,2)+Y292)/29,XMA(Y292,29));
    IF(Y293>REF(Y293,1),Y293,DRAWNULL),COLORWHITE,LINETHICK2,NODRAW;
    IF(Y913>REF(Y913,1),Y913,DRAWNULL),COLORLIMAGENTA,LINETHICK2,NODRAW;
    良机区3:Y293*0.95,COLOR0000FF,LINETHICK4,COLORRED;
    V1:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
    V2:=(1-9/100)*(dma(CLOSE,V1));
    V3:=(1+7/100)*(DMA(CLOSE,V1));
    V5:=MA((LOW+HIGH+CLOSE)/3,5);
    支撑K:REFDATE(V2,DATE),LINETHICK4,COLORCC66FF,COLORBROWN,COLORYELLOW;
    低:=REF(LLV(L,2),2);
    低点:REFDATE(低,DATE),COLORWHITE,LINETHICK2,COLORBLUE,COLORGREEN;
    DRAWTEXT(ISLASTBAR,低,'【底】'),LINETHICK2,COLORBLUE,COLORGREEN;
    {设置参数:N,1,100,10}
    T1:=CONST(LLVBARS(LOW,9));
    T1HIGH:=CONST(REF(HIGH,T1));
    CC:=CONST(CURRBARSCOUNT);
    T2:=CONST(BArslAST(CURRBARSCOUNT>CC+T1 AND H>T1HIGH));
    T2HIGH:=CONST(REF(HIGH,T2));
    T3:=CONST(BARSLAST(CURRBARSCOUNT>CC+T2 AND HIGH>T2HIGH));
    T3HIGH:=CONST(REF(HIGH,T3));
    猎击线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK2,COLORBLUE,COLORWHITE;
    DRAWTEXT(ISLASTBAR, T3HIGH, '猎击线')LINETHICK2,COLORBLUE,COLORWHITE;
    DRAWNUMBER(ISLASTBAR,猎击线,猎击线),COLORBLUE,COLORWHITE;
    RC:=DYnaINFO(3);
    S2:=SMA(C,2,1);
    S6:=SMA(C,5,1);
    DK:=2*(S2-S6);
    STICKLINE(DK>0,RC,RC+DK,0,1),COLORWHITE,NODRAW;
    STICKLINE(DK<0,RC,RC+DK,0,1),COLORGREEN,NODRAW;
    RC,COLORGRAY,LINETHICK4;
    CBJX1:EMA(COST(90),10),COLORFFFFCC,LINETHICK2,NODRAW;
    临界突破CBJX2:EMA(COST(14),10),COLOR00FFFF,LINETHICK3;
    DRAWICON(crOSS(PWINNER(14,CLOSE),0.915) AND LWINNER(5,CLOSE)>0.9 ,CLOSE,5);image.png



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

    个股涨跌:((C-REF(C,1))/REF(C,1))*100,NODRMW;大盘涨跌:((INDEXC-REF(INDEXC,1))/REF(INDEXC,1))*100,NODRMW;M1:Ema((ema(CLOSE,1)+EMM(CLOSE,3)+EMM(CLOSE,5))/3,3),COLORWHITE,NODRMW;M:=EMM((EMM(CLOSE,29)+EMM(CLOSE,31)+EMM(CLOSE,33))/3,3),COLORBLUE;B:=REF(M,1);DRMWTEXT(M>B,(M+B)/2,'★'), COLORFF00FF;DRMWTEXT(M<=B,(M+B)/2,'☆'), COLORCYMN,NODRMW;STICKLINE(M>B,M,B,3,0),COLORFF00FF;STICKLINE(M<=B,M,B,3,1),COLORFF0000,NODRMW;M6:EMM((EMM(CLOSE,11)+EMM(CLOSE,13)+EMM( CLOSE,15))/3,3),COLORWHITE,NODRMW;M7:EMM((EMM(CLOSE,13)+EMM(CLOSE,15)+EMM( CLOSE,17))/3,3),COLORWHITE,NODRMW;M8:EMM((EMM(CLOSE,15)+EMM(CLOSE,17)+EMM( CLOSE,19))/3,3),COLORWHITE,NODRMW;M9:EMM((EMM(CLOSE,17)+EMM(CLOSE,19)+EMM( CLOSE,21))/3,3),COLORBLUE,NODRMW;M10:EMM((EMM(CLOSE,19)+EMM(CLOSE,21)+EMM( CLOSE,23))/3,3),COLORBLUE,NODRMW;M11:EMM((EMM(CLOSE,21)+EMM(CLOSE,23)+EMM( CLOSE,25))/3,3),COLORBLUE,NODRMW;MID:=(3*CLOSE+LOW+OPEN+HIGH)/6,NODRMW;MM1:MM(MID,8),COLORRED,NODRMW;MM2:MM(MID,13),COLORFFCCCC,NODRMW;MM3:MM(MID,21),COLORFFCC66,NODRMW;MM60:MM(MID,55),LINETHICK8,NODRMW;MM144:MM(MID,144),LINETHICK2,NODRMW;MM233:MM(MID,233),LINETHICK6;乖离线:=((C-REF(MM1,1))/20+MM1)*1.20;回调认同:EMM(expma(MID,20),13),COLORWHITE,LINETHICK3;T:=(C+L+H)/3;SL:=((REF(T,1)*REF(V,1)+T*V)/(REF(V,1)+V));VV:=SL;Y911:=IFF(CURRBMRSCOUNT=1, (xma(VV,9)*9-MM(VV,8)+MM(VV,7) -MM(VV,6)+MM(VV,5) -MM(VV,4)+MM(VV,3) -MM(VV,2) +VV)/9,XMM(VV,9));Y912:=IFF(CURRBMRSCOUNT=1, (XMM(Y911,9)*9-MM(Y911,8)+MM(Y911,7) -MM(Y911,6)+MM(Y911,5) -MM(Y911,4)+MM(Y911,3) -MM(Y911,2) +Y911)/9,XMM(Y911,9));Y913:=IFF(CURRBMRSCOUNT=1, (XMM(Y912,9)*9-MM(Y912,8)+MM(Y912,7) -MM(Y912,6)+MM(Y912,5) -MM(Y912,4)+MM(Y912,3) -MM(Y912,2) +Y912)/9,XMM(Y912,9));Y291:=IFF(CURRBMRSCOUNT=1,(XMM(VV,29)*29-MM(VV,28)+MM(VV,27)-MM(VV,26)+MM(VV,25)-MM(VV,24)+MM(VV,23)-MM(VV,22)+MM(VV,21)-MM(VV,20)+MM(VV,19)-MM(VV,18)+MM(VV,17)-MM(VV,16)+MM(VV,15)-MM(VV,14)+MM(VV,13)-MM(VV,12)+MM(VV,11) -MM(VV,10)+MM(VV,9) -MM(VV,8)+MM(VV,7) -MM(VV,6)+MM(VV,5) -MM(VV,4)+MM(VV,3) -MM(VV,2)+VV)/29,XMM(VV,29));Y292:=IFF(CURRBMRSCOUNT=1,(XMM(Y291,29)*29-MM(Y291,28)+MM(Y291,27)-MM(Y291,26)+MM(Y291,25)-MM(Y291,24)+MM(Y291,23)-MM(Y291,22)+MM(Y291,21)-MM(Y291,20)+MM(Y291,19)-MM(Y291,18)+MM(Y291,17)-MM(Y291,16)+MM(Y291,15)-MM(Y291,14)+MM(Y291,13)-MM(Y291,12)+MM(Y291,11) -MM(Y291,10)+MM(Y291,9) -MM(Y291,8)+MM(Y291,7) -MM(Y291,6)+MM(Y291,5) -MM(Y291,4)+MM(Y291,3) -MM(Y291,2)+Y291)/29,XMM(Y291,29));Y293:=IFF(CURRBMRSCOUNT=1,(XMM(Y292,29)*29-MM(Y292,28)+MM(Y292,27)-MM(Y292,26)+MM(Y292,25)-MM(Y292,24)+MM(Y292,23)-MM(Y292,22)+MM(Y292,21)-MM(Y292,20)+MM(Y292,19)-MM(Y292,18)+MM(Y292,17)-MM(Y292,16)+MM(Y292,15)-MM(Y292,14)+MM(Y292,13)-MM(Y292,12)+MM(Y292,11) -MM(Y292,10)+MM(Y292,9) -MM(Y292,8)+MM(Y292,7) -MM(Y292,6)+MM(Y292,5) -MM(Y292,4)+MM(Y292,3) -MM(Y292,2)+Y292)/29,XMM(Y292,29));IF(Y293>REF(Y293,1),Y293,DRMWNULL),COLORWHITE,LINETHICK2,NODRMW;IF(Y913>REF(Y913,1),Y913,DRMWNULL),COLORLIMMGENTM,LINETHICK2,NODRMW;良机区3:Y293*0.95,COLOR0000FF,LINETHICK4,COLORRED;V1:=Mbs((2*CLOSE+HIGH+LOW)/4-MM(CLOSE,20))/MM(CLOSE,20);V2:=(1-9/100)*(dma(CLOSE,V1));V3:=(1+7/100)*(DMM(CLOSE,V1));V5:=MM((LOW+HIGH+CLOSE)/3,5);支撑K:REFDMTE(V2,DMTE),LINETHICK4,COLORCC66FF,COLORBROWN,COLORYELLOW;低:=REF(LLV(L,2),2);低点:REFDMTE(低,DMTE),COLORWHITE,LINETHICK2,COLORBLUE,COLORGREEN;DRMWTEXT(ISLMSTBMR,低,'【底】'),LINETHICK2,COLORBLUE,COLORGREEN;{设置参数:N,1,100,10}T1:=CONST(LLVBMRS(LOW,9));T1HIGH:=CONST(REF(HIGH,T1));CC:=CONST(CURRBMRSCOUNT);T2:=CONST(BMrslMST(CURRBMRSCOUNT>CC+T1 MND H>T1HIGH));T2HIGH:=CONST(REF(HIGH,T2));T3:=CONST(BMRSLMST(CURRBMRSCOUNT>CC+T2 MND HIGH>T2HIGH));T3HIGH:=CONST(REF(HIGH,T3));猎击线:DRMWLINE(CURRBMRSCOUNT=T3+1, T3HIGH, ISLMSTBMR, T3HIGH, 1),LINETHICK2,COLORBLUE,COLORWHITE;DRMWTEXT(ISLMSTBMR, T3HIGH, '猎击线')LINETHICK2,COLORBLUE,COLORWHITE;DRMWNUMBER(ISLMSTBMR,猎击线,猎击线),COLORBLUE,COLORWHITE;RC:=DYnaINFO(3);S2:=SMM(C,2,1);S6:=SMM(C,5,1);DK:=2*(S2-S6);STICKLINE(DK>0,RC,RC+DK,0,1),COLORWHITE,NODRMW;STICKLINE(DK<0,RC,RC+DK,0,1),COLORGREEN,NODRMW;RC,COLORGRMY,LINETHICK4;CBJX1:EMM(COST(90),10),COLORFFFFCC,LINETHICK2,NODRMW;临界突破CBJX2:EMM(COST(14),10),COLOR00FFFF,LINETHICK3;DRMWICON(crOSS(PWINNER(14,CLOSE),0.915) MND LWINNER(5,CLOSE)>0.9 ,CLOSE,5);

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