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

    通达信公式

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

    通达信涨停主图(主图贴图)未加密选股指标公式源码

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

    UPPER:(1+11/100)*ma(CLOSE,10),COLORCYAN,LINETHICK2;
    IF(UPPER>=REF(UPPER,1),UPPER,DRAWNULL),COLORWHITE,LINETHICK3;
    IF(UPPER<=REF(UPPER,1),UPPER,DRAWNULL),COLORCYAN,LINETHICK2;
    LOWER:(1-9/100)*MA(CLOSE,10),COLORCYAN,LINETHICK2;
    IF(LOWER>=REF(LOWER,1),LOWER,DRAWNULL),COLORWHITE,LINETHICK3;
    IF(LOWER<=REF(LOWER,1),LOWER,DRAWNULL),COLORCYAN,LINETHICK2;
    ene:(UPPER+LOWER)/2,COLORCYAN,LINETHICK2;
    IF(ENE>=REF(ENE,1),ENE,DRAWNULL),COLORWHITE,LINETHICK3;
    IF(ENE<=REF(ENE,1),ENE,DRAWNULL),COLORCYAN,LINETHICK2;
    XA_1:=Abs(((3.48*CLOSE+HIGH+LOW+OPEN)/5-ema(CLOSE,20))/EMA(CLOSE,20));
    XA_2:=dma((2.15*CLOSE+LOW+HIGH+OPEN)/5,XA_1);
    XA_3:=EMA(XA_2,200)*1.26;
    XA_4:=EMA(XA_2,200)*1.18;
    XA_5:=MA((LOW+HIGH+CLOSE)/3,5);
    XA_6:=HHV(XA_5,60);
    XA_7:=IF(XA_6>REF(XA_6,1),XA_6,DRAWNULL);
    XA_8:=CLOSE*vol;
    XA_9:=EMA((expma(XA_8,3)/EXPMA(VOL,3)+EXPMA(XA_8,6)/EXPMA(VOL,6)+EXPMA(XA_8,12)/EXPMA(VOL,12)+EXPMA(XA_8,24)/EXPMA(VOL,24))/4,13);
    上轨:1.06*XA_9,COLORBLacK;
    顶:1.13*XA_9,COLORRED,LINETHICK3;
    XA_10:=MIN(XA_7,XA_3);
    XA_11:=MIN(上轨,XA_3);
    XA_12:=MIN(XA_7,XA_4);
    XA_13:=MIN(上轨,XA_4);
    XA_14:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
    XA_15:=crOSS(CLOSE,上轨) AND XA_14;
    {DRAWTEXT(XA_15,LOW*0.85,1),COLORBLUE;}
    DRAWICON(XA_15,LOW*0.86,13);
    XA_16:=CROSS(CLOSE,顶) AND XA_14;
    {DRAWICON(XA_16,LOW*0.8,5);
    DRAWTEXT(XA_16,LOW*0.8,1),COLORBLUE;}
    XA_17:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
    STICKLINE(XA_17,OPEN,CLOSE,4,0),COLORWHITE;
    STICKLINE(XA_17,OPEN,CLOSE,3,0),COLORBLUE;
    STICKLINE(XA_17,HIGH,LOW,0,0),COLORBLUE;
    XA_18:=DMA(AMOUNT/(89*VOL),VOL/CAPITAL);
    XA_19:=CLOSE>REF(HHV(CLOSE,89),1);
    XA_20:=DMA(AMOUNT/(89*VOL),VOL/CAPITAL);
    XA_21:=CROSS(CLOSE,XA_20) AND XA_19;
    {DRAWTEXT(XA_21,LOW*0.99,2),COLORWHITE;
    DRAWTEXT(XA_21,LOW*0.99,3),COLORLIGRAY;}
    STICKLINE(XA_21,CLOSE,OPEN,3.2,0),COLOR0077FF;
    STICKLINE(XA_21,CLOSE,OPEN,2.5,0),COLOR0099FF;
    STICKLINE(XA_21,CLOSE,OPEN,1.9,0),COLOR00BBFF;
    STICKLINE(XA_21,CLOSE,OPEN,1.2,0),COLOR00ddfF;
    STICKLINE(XA_21,CLOSE,OPEN,0.3,0),COLORBLUE;
    XA_22:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
    XA_23:=DMA((2.15*CLOSE+LOW+HIGH)/4,XA_22);
    XA_24:=EMA(XA_23,200)*1.118;
    XA_25:=EMA(XA_23,200)*1.118;
    XA_26:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>8;
    XA_27:=CROSS(CLOSE,XA_24) AND XA_26;
    {DRAWTEXT(XA_27,LOW*0.98,2),COLORWHITE;
    DRAWTEXT(XA_27,LOW*0.98,4),COLORBLUE;}
    STICKLINE(XA_27,CLOSE,OPEN,3.2,0),COLOR0077FF;
    STICKLINE(XA_27,CLOSE,OPEN,2.5,0),COLOR0099FF;
    STICKLINE(XA_27,CLOSE,OPEN,1.9,0),COLOR00BBFF;
    STICKLINE(XA_27,CLOSE,OPEN,1.2,0),COLOR00DDFF;
    STICKLINE(XA_27,CLOSE,OPEN,0.3,0),COLORBLUE;
    XA_28:=EMA((EXPMA(XA_8,23)/EXPMA(VOL,23)+EXPMA(XA_8,54)/EXPMA(VOL,54)+EXPMA(XA_8,108)/EXPMA(VOL,108)+EXPMA(XA_8,316)/EXPMA(VOL,316))/4,34);
    XA_29:=1.0668*XA_28;{www.88gs.com}
    XA_30:=CROSS(CLOSE,XA_29) AND REF(CLOSE,1)*1.08-CLOSE<0.008 AND CLOSE>OPEN*0.5;
    DRAWICON(XA_30,LOW*0.98,13);
    {DRAWTEXT(XA_30,LOW*0.98,1),COLORBLUE;}
    XA_31:=XA_21 AND XA_27;
    DRAWICON(XA_31,LOW*0.95,13);
    {DRAWTEXT(XA_31,LOW*0.96,1),COLORBLUE;}
    XA_32:=CROSS(CLOSE,XA_24) AND XA_26;
    DRAWICON(XA_32,LOW*0.92,13);
    {DRAWTEXT(XA_32,LOW*0.94,1),COLORBLUE;}


    MA3:=MA(CLOSE,3);
    MA5:=MA(CLOSE,5);
    MA7:=MA(CLOSE,7);
    MA10:=MA(CLOSE,10);
    MA15:=MA(CLOSE,15);
    MA20:=MA(CLOSE,20);
    MA25:=MA(CLOSE,25);
    MA30:=MA(CLOSE,30);
    MA45:=MA(CLOSE,45);
    MA60:=MA(CLOSE,60);
    MA90:=MA(CLOSE,90);
    MA120:=MA(CLOSE,120);
    MA160:=MA(CLOSE,160);
    MA200:=MA(CLOSE,200);
    MA250:=MA(CLOSE,200);

    HJ26:=SUM(C,H) AND H>L;
    FHJ1:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA3,MA5),MA7),MA10),MA15),MA20),MA25),MA30),MA45),MA60),MA90),MA120),MA160),MA200),MA250);
    FHJ2:=MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MA3,MA5),MA7),MA10),MA15),MA20),MA25),MA30),MA45),MA60),MA90),MA120),MA160),MA200),MA250);
    三与250乖率:MA3/MA250*100-100,COLORLIMAGENTA,NODRAW;
    所有线乖率:FHJ1/FHJ2*100-100,COLORBLUE,NODRAW;
    涨停基因:(CONST(BARSCOUNT(CLOSE)))/(COUNT(HJ26,BARSSINCE(HJ26)+1)),NODRAW,COLORWHITE;

    GP:=naMELIKE('S') OR NAMELIKE('*');
    HJ28:=IF(GP,REF(C,1)*1.05,REF(C,1)*1.1);
    HJ29:=IF(HJ28,REF(C,1)*1.05,REF(C,1)*1.1);
    DRAWTEXT_FIX(1,0.95,1,1,STRCAT('涨停:',CON2STR(HJ28,2))),COLORWHITE;
    明涨停价:REF(C,H),NODRAW,COLOR0080FF;
    流通市值:(FINANCE(40)/100000000),NODRAW,COLORGREEN;
    融资融券股:IF(FINANCE(52)>0,100,DRAWNULL),COLORBROWN,NODRAW;

    XZ_1:=ABS(((3.48*CLOSE+HIGH+LOW+OPEN)/5-EMA(CLOSE,20))/EMA(CLOSE,20));
    XZ_2:=DMA((2.15*CLOSE+LOW+HIGH+OPEN)/5,XZ_1);
    XZ_3:=EMA(XZ_2,200)*1.26;
    XZ_4:=EMA(XZ_2,200)*1.18;
    XZ_5:=MA((LOW+HIGH+CLOSE)/3,5);
    XZ_6:=HHV(XZ_5,60);
    XZ_7:=IF(XZ_6>REF(XZ_6,1),XZ_6,DRAWNULL);
    XZ_8:=CLOSE*VOL;
    XZ_9:=EMA((EXPMA(XZ_8,3)/EXPMA(VOL,3)+EXPMA(XZ_8,6)/EXPMA(VOL,6)+EXPMA(XZ_8,12)/EXPMA(VOL,12) + EXPMA (XZ_8,24)/ EXPMA( VOL,24 ) )/4 , 13 ) ;
    XZ_10:=1.03*XZ_9;
    XZ_11:=1.13*XZ_9;
    XZ_12:=MIN(XZ_7,XZ_3);
    XZ_13:=MIN(XZ_10,XZ_3);
    XZ_14:=MIN(XZ_7,XZ_4);
    XZ_15:=MIN(XZ_10,XZ_4);
    XZ_16:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE=HIGH;
    XZ_17:=CROSS(CLOSE,XZ_11) AND XZ_16;
    DRAWICON(XZ_17,LOW*0.86,5);
    DRAWTEXT(XZ_17,LOW*0.86,' 90%吃肉'),COLORBLUE;

    image.png



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

    UPPER:(1+11/100)*ma(CLOSE,10),COLORCYAN,LINETHICK2;IF(UPPER>=REF(UPPER,1),UPPER,DRAWNULL),COLORWHITE,LINETHICK3;IF(UPPER<=REF(UPPER,1),UPPER,DRAWNULL),COLORCYAN,LINETHICK2;LOWER:(1-9/100)*MA(CLOSE,10),COLORCYAN,LINETHICK2;IF(LOWER>=REF(LOWER,1),LOWER,DRAWNULL),COLORWHITE,LINETHICK3;IF(LOWER<=REF(LOWER,1),LOWER,DRAWNULL),COLORCYAN,LINETHICK2;ene:(UPPER+LOWER)/2,COLORCYAN,LINETHICK2;IF(ENE>=REF(ENE,1),ENE,DRAWNULL),COLORWHITE,LINETHICK3;IF(ENE<=REF(ENE,1),ENE,DRAWNULL),COLORCYAN,LINETHICK2;XA_1:=Abs(((3.48*CLOSE+HIGH+LOW+OPEN)/5-ema(CLOSE,20))/EMA(CLOSE,20));XA_2:=dma((2.15*CLOSE+LOW+HIGH+OPEN)/5,XA_1);XA_3:=EMA(XA_2,200)*1.26;XA_4:=EMA(XA_2,200)*1.18;XA_5:=MA((LOW+HIGH+CLOSE)/3,5);XA_6:=HHV(XA_5,60);XA_7:=IF(XA_6>REF(XA_6,1),XA_6,DRAWNULL);XA_8:=CLOSE*vol;XA_9:=EMA((expma(XA_8,3)/EXPMA(VOL,3)+EXPMA(XA_8,6)/EXPMA(VOL,6)+EXPMA(XA_8,12)/EXPMA(VOL,12)+EXPMA(XA_8,24)/EXPMA(VOL,24))/4,13);上轨:1.06*XA_9,COLORBLacK;顶:1.13*XA_9,COLORRED,LINETHICK3;XA_10:=MIN(XA_7,XA_3);XA_11:=MIN(上轨,XA_3);XA_12:=MIN(XA_7,XA_4);XA_13:=MIN(上轨,XA_4);XA_14:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;XA_15:=crOSS(CLOSE,上轨) AND XA_14;{DRAWTEXT(XA_15,LOW*0.85,1),COLORBLUE;}DRAWICON(XA_15,LOW*0.86,13);XA_16:=CROSS(CLOSE,顶) AND XA_14;{DRAWICON(XA_16,LOW*0.8,5);DRAWTEXT(XA_16,LOW*0.8,1),COLORBLUE;}XA_17:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);STICKLINE(XA_17,OPEN,CLOSE,4,0),COLORWHITE;STICKLINE(XA_17,OPEN,CLOSE,3,0),COLORBLUE;STICKLINE(XA_17,HIGH,LOW,0,0),COLORBLUE;XA_18:=DMA(AMOUNT/(89*VOL),VOL/CAPITAL);XA_19:=CLOSE>REF(HHV(CLOSE,89),1);XA_20:=DMA(AMOUNT/(89*VOL),VOL/CAPITAL);XA_21:=CROSS(CLOSE,XA_20) AND XA_19;{DRAWTEXT(XA_21,LOW*0.99,2),COLORWHITE;DRAWTEXT(XA_21,LOW*0.99,3),COLORLIGRAY;}STICKLINE(XA_21,CLOSE,OPEN,3.2,0),COLOR0077FF;STICKLINE(XA_21,CLOSE,OPEN,2.5,0),COLOR0099FF;STICKLINE(XA_21,CLOSE,OPEN,1.9,0),COLOR00BBFF;STICKLINE(XA_21,CLOSE,OPEN,1.2,0),COLOR00ddfF;STICKLINE(XA_21,CLOSE,OPEN,0.3,0),COLORBLUE;XA_22:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));XA_23:=DMA((2.15*CLOSE+LOW+HIGH)/4,XA_22);XA_24:=EMA(XA_23,200)*1.118;XA_25:=EMA(XA_23,200)*1.118;XA_26:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>8;XA_27:=CROSS(CLOSE,XA_24) AND XA_26;{DRAWTEXT(XA_27,LOW*0.98,2),COLORWHITE;DRAWTEXT(XA_27,LOW*0.98,4),COLORBLUE;}STICKLINE(XA_27,CLOSE,OPEN,3.2,0),COLOR0077FF;STICKLINE(XA_27,CLOSE,OPEN,2.5,0),COLOR0099FF;STICKLINE(XA_27,CLOSE,OPEN,1.9,0),COLOR00BBFF;STICKLINE(XA_27,CLOSE,OPEN,1.2,0),COLOR00DDFF;STICKLINE(XA_27,CLOSE,OPEN,0.3,0),COLORBLUE;XA_28:=EMA((EXPMA(XA_8,23)/EXPMA(VOL,23)+EXPMA(XA_8,54)/EXPMA(VOL,54)+EXPMA(XA_8,108)/EXPMA(VOL,108)+EXPMA(XA_8,316)/EXPMA(VOL,316))/4,34);XA_29:=1.0668*XA_28;{www.88gs.com}XA_30:=CROSS(CLOSE,XA_29) AND REF(CLOSE,1)*1.08-CLOSE<0.008 AND CLOSE>OPEN*0.5;DRAWICON(XA_30,LOW*0.98,13);{DRAWTEXT(XA_30,LOW*0.98,1),COLORBLUE;}XA_31:=XA_21 AND XA_27;DRAWICON(XA_31,LOW*0.95,13);{DRAWTEXT(XA_31,LOW*0.96,1),COLORBLUE;}XA_32:=CROSS(CLOSE,XA_24) AND XA_26;DRAWICON(XA_32,LOW*0.92,13);{DRAWTEXT(XA_32,LOW*0.94,1),COLORBLUE;}MA3:=MA(CLOSE,3);MA5:=MA(CLOSE,5);MA7:=MA(CLOSE,7);MA10:=MA(CLOSE,10);MA15:=MA(CLOSE,15);MA20:=MA(CLOSE,20);MA25:=MA(CLOSE,25);MA30:=MA(CLOSE,30);MA45:=MA(CLOSE,45);MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);MA120:=MA(CLOSE,120);MA160:=MA(CLOSE,160);MA200:=MA(CLOSE,200);MA250:=MA(CLOSE,200);HJ26:=SUM(C,H) AND H>L;FHJ1:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA3,MA5),MA7),MA10),MA15),MA20),MA25),MA30),MA45),MA60),MA90),MA120),MA160),MA200),MA250);FHJ2:=MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MA3,MA5),MA7),MA10),MA15),MA20),MA25),MA30),MA45),MA60),MA90),MA120),MA160),MA200),MA250); 三与250乖率:MA3/MA250*100-100,COLORLIMAGENTA,NODRAW;所有线乖率:FHJ1/FHJ2*100-100,COLORBLUE,NODRAW;涨停基因:(CONST(BARSCOUNT(CLOSE)))/(COUNT(HJ26,BARSSINCE(HJ26)+1)),NODRAW,COLORWHITE;GP:=naMELIKE('S') OR NAMELIKE('*');HJ28:=IF(GP,REF(C,1)*1.05,REF(C,1)*1.1);HJ29:=IF(HJ28,REF(C,1)*1.05,REF(C,1)*1.1);DRAWTEXT_FIX(1,0.95,1,1,STRCAT('涨停:',CON2STR(HJ28,2))),COLORWHITE;明涨停价:REF(C,H),NODRAW,COLOR0080FF;流通市值:(FINANCE(40)/100000000),NODRAW,COLORGREEN;融资融券股:IF(FINANCE(52)>0,100,DRAWNULL),COLORBROWN,NODRAW;XZ_1:=ABS(((3.48*CLOSE+HIGH+LOW+OPEN)/5-EMA(CLOSE,20))/EMA(CLOSE,20));XZ_2:=DMA((2.15*CLOSE+LOW+HIGH+OPEN)/5,XZ_1);XZ_3:=EMA(XZ_2,200)*1.26;XZ_4:=EMA(XZ_2,200)*1.18;XZ_5:=MA((LOW+HIGH+CLOSE)/3,5);XZ_6:=HHV(XZ_5,60);XZ_7:=IF(XZ_6>REF(XZ_6,1),XZ_6,DRAWNULL);XZ_8:=CLOSE*VOL;XZ_9:=EMA((EXPMA(XZ_8,3)/EXPMA(VOL,3)+EXPMA(XZ_8,6)/EXPMA(VOL,6)+EXPMA(XZ_8,12)/EXPMA(VOL,12) + EXPMA (XZ_8,24)/ EXPMA( VOL,24 ) )/4 , 13 ) ;XZ_10:=1.03*XZ_9;XZ_11:=1.13*XZ_9;XZ_12:=MIN(XZ_7,XZ_3);XZ_13:=MIN(XZ_10,XZ_3);XZ_14:=MIN(XZ_7,XZ_4);XZ_15:=MIN(XZ_10,XZ_4);XZ_16:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE=HIGH;XZ_17:=CROSS(CLOSE,XZ_11) AND XZ_16;DRAWICON(XZ_17,LOW*0.86,5);DRAWTEXT(XZ_17,LOW*0.86,' 90%吃肉'),COLORBLUE;

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

    未发现:COST...

    未发现:DYNAINFO...

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

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BACKSET...

    未发现:BARSNEXT...

    未发现:CURRBARSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRAWLINE...

    未发现:REFX...

    未发现:FLATZIG...

    未发现:FLATZIGA...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEAK...

    未发现:PEAKA...

    未发现:PEAKBARS...

    未发现:PEAKBARSA...

    未发现:PLOYLINE...

    未发现:REFDATE...

    未发现:TROUGH...

    未发现:TROUGHA...

    未发现:TROUGHBARS...

    未发现:XMA...

    未发现:ZIG...

    未发现:ZIGA...

    未发现:ZXNH...

    未发现:#YEAR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEAK...

    未发现:$PEAKBARS...

    未发现:$TROUGH...

    未发现:$TROUGHBARS...

    未发现:$FLATZIG...

    未发现:$FLATZIGA...

    未发现:$PEAKA...

    未发现:$PEAKBARSA...

    未发现:$TROUGHA...

    未发现:$ZIGA...

    未发现:$FFT...

    未发现:$BACKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNAINFO...

    未发现:$FINANCE...

    未发现:$DRAWLINE...


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

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

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

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

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