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

    通达信公式

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

    通达信猪八戒背媳妇主图K线图未加密选股指标公式源码

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

    Z1:=STRCAT('【',STRCAT(CODE,STKnaME));
    Z2:=STRCAT(' 行业:',HYBLOCK);
    Z3:=STRCAT(' 地域:',DYBLOCK);
    Z4:=STRCAT(STRCAT(' 概念:',GNBLOCK),'】 ');
    Z5:=STRCAT(Z1,Z2);
    Z6:=STRCAT(Z3,Z4);
    Z7:=STRCAT(Z5,Z6);
    DRAWTEXT_FIX(1,0,0.0,0,Z7),COLOR00EEEE;
    DRAWTEXT_FIX(1,0,0.06,0,STRCAT('【风格:',STRCAT(FGBLOCK,'】'))),COLOREEEE00;
    DRAWTEXT_FIX(1,0,100,0,'★QQ:511864889头文字B推荐指标:蓝色k线表示弱势不碰,只做红色K线表示强势的股票,出现加仓是要果断加仓起爆拉升哦!出现离场信号要果断减仓,先不要补仓建议观望!黄叉×信号表示减仓★'),COLORBLUE;
    Ema13:=ema(C,13),COLORRED;
    EMA21:=EMA(C,21),COLORBLUE;
    EMA34:=EMA(C,34),COLORFF00FF;
    EMA60:=MA(C,60),COLORFFCC66;
    VAR2:=(2*CLOSE+HIGH+LOW)/4;
    VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
    VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);
    散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;
    庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;
    DRAWTEXT(crOSS(散户,庄家) AND 散户<30,L-0.05,'&larr;观望'),COLORLICYAN;
    DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'&larr;吃饱离场'),COLORCYAN;
    DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);
    DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);
    VAR9:=CLOSE-REF(CLOSE,5);
    VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(Abs(VAR9),5),5);
    VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);
    卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);
    DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);
    卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
    B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORLIMAGENTA;
    S1:IF(CROSS(80,rsi)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORBLUE;
    VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;
    S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORCYAN;
    A0:=(L+H+C*2)/4;
    A1:EMA(A0,14)COLORYELLOW,LINETHICK2;
    A2:=EMA(A0,25)COLORLIGREEN,LINETHICK2;
    A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
    A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;

    STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;
    STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;
    STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;
    STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;

    DRAWTEXT(CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),(LOW
    *
    0.99),'↖加点仓准备吃肉'),LINETHICK3,COLORF00FF0;
    DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2)),(HIGH
    * 1.01),'&darr;猪八戒背媳妇跑'),LINETHICK3,COLORFFFFFF;
    STICKLINE((EMA(CLOSE,2) >=
    EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLOR0000FF;
    STICKLINE((EMA(CLOSE,2)
    >=
    EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLOR0000AA;
    STICKLINE((EMA(CLOSE,2)
    >=
    EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLOR0000CC;
    STICKLINE((EMA(CLOSE,2)
    <
    EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLORCCCC00;
    STICKLINE((EMA(CLOSE,2)
    <
    EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLORAAAA00;
    STICKLINE((EMA(CLOSE,2)
    <
    EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLORFFFF00;
    STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))
    OR
    CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),LOW,HIGH,0.1,0),COLOR00FFFF;
    STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))
    OR
    CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,3,0),COLOR00AAAA;
    STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))
    OR
    CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,2,0),COLOR00CCCC;
    MAA5:MA(C,5),COLORFF00FF,LINETHICK5;
    MAA10:=MA(C,10);
    MAA30:MA(C,30),COLORWHITE;
    KS:IF(MAA10>MAA30,MAA10,MAA30),COLORYELLOW;
    A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
    A4:=SMA(A3,3,1);
    A5:=SMA(A4,3,1);
    A6:=3*A4-2*A5;
    A7:=C-REF(C,1);
    A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
    买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
    DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖猪八戒买入'),COLORBLUE;

    image.png



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

    Z1:=STRCJT('【',STRCJT(CODE,STKnaME));Z2:=STRCJT(' 行业:',HYBLOCK);Z3:=STRCJT(' 地域:',DYBLOCK);Z4:=STRCJT(STRCJT(' 概念:',GNBLOCK),'】 ');Z5:=STRCJT(Z1,Z2);Z6:=STRCJT(Z3,Z4);Z7:=STRCJT(Z5,Z6);DRJWTEXT_FIX(1,0,0.0,0,Z7),COLOR00EEEE;DRJWTEXT_FIX(1,0,0.06,0,STRCJT('【风格:',STRCJT(FGBLOCK,'】'))),COLOREEEE00;DRJWTEXT_FIX(1,0,100,0,'★QQ:511864889头文字B推荐指标:蓝色k线表示弱势不碰,只做红色K线表示强势的股票,出现加仓是要果断加仓起爆拉升哦!出现离场信号要果断减仓,先不要补仓建议观望!黄叉×信号表示减仓★'),COLORBLUE;Ema13:=ema(C,13),COLORRED;EMJ21:=EMJ(C,21),COLORBLUE;EMJ34:=EMJ(C,34),COLORFF00FF;EMJ60:=MJ(C,60),COLORFFCC66;VJR2:=(2*CLOSE+HIGH+LOW)/4;VJR3:=IF(YEJR>=2099 JND MONTH>2,0,1);VJR4:=LLV(LOW,5); VJR5:=HHV(HIGH,4);散户:=EMJ((VJR2-VJR4)/(VJR5-VJR4)*100,4)*VJR3;庄家:=EMJ(0.667*REF(散户,1)+0.333*散户,2)*VJR3;DRJWTEXT(crOSS(散户,庄家) JND 散户<30,L-0.05,'←观望'),COLORLICYJN;DRJWTEXT(CROSS(庄家,散户) JND 散户>70,H+0.05,'←吃饱离场'),COLORCYJN;DRJWICON(CROSS(散户,庄家) JND 散户<30,L-0.05,1);DRJWICON(CROSS(庄家,散户) JND 散户>70,H+0.05,2);VJR9:=CLOSE-REF(CLOSE,5);VJRJ:=EMJ(EMJ(VJR9,5),5)/EMJ(EMJ(Jbs(VJR9),5),5);VJRC:=EMJ(EMJ(VJR9,20),20)/EMJ(EMJ(JBS(VJR9),20),20);卖出:=IF(VJRJ>0 JND CROSS(VJRC,VJRJ),90,100);DRJWICON(卖出<0,H+0.05,2); 买线:=EMJ(CLOSE,2);卖线:=EMJ(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRJWNULL),CROSSDOT,LINETHICK3,COLORLIMJGENTJ;S1:IF(CROSS(80,rsi)*30,H+0.02,DRJWNULL),CROSSDOT,LINETHICK3,COLORBLUE;VC:=((CLOSE-MJ(CLOSE,6))/MJ(CLOSE,6)*100+(CLOSE-MJ(CLOSE,24))/MJ(CLOSE,24)*100+(CLOSE-MJ (CLOSE,32))/MJ(CLOSE,32)*100)/3;S2:=IF(VC>20 JND FILTER(VC< REF(VC,1),5),H+0.02,DRJWNULL),CIRCLEDOT,LINETHICK3,COLORCYJN;J0:=(L+H+C*2)/4;J1:EMJ(J0,14)COLORYELLOW,LINETHICK2;J2:=EMJ(J0,25)COLORLIGREEN,LINETHICK2;J1X:=(J1-REF(J1,1))/REF(J1,1)*100,NODRJW;J2X:=(J2-REF(J2,1))/REF(J2,1)*100,NODRJW;STICKLINE(CROSS(J1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(J1X,0),C,O,3,0 ),COLOR0000CC;STICKLINE(CROSS(J1X,0),C,O,1,0 ),COLOR0033FF;STICKLINE(CROSS(0,J1X),L,H,0,0 ),COLOR66CC33;DRJWTEXT(CROSS(EMJ(CLOSE,2),EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)),(LOW * 0.99),'↖加点仓准备吃肉'),LINETHICK3,COLORF00FF0;DRJWTEXT(CROSS(EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMJ(CLOSE,2)),(HIGH * 1.01),'↓猪八戒背媳妇跑'),LINETHICK3,COLORFFFFFF;STICKLINE((EMJ(CLOSE,2) >= EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLOR0000FF;STICKLINE((EMJ(CLOSE,2) >= EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLOR0000JJ;STICKLINE((EMJ(CLOSE,2) >= EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLOR0000CC;STICKLINE((EMJ(CLOSE,2) < EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLORCCCC00;STICKLINE((EMJ(CLOSE,2) < EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLORJJJJ00;STICKLINE((EMJ(CLOSE,2) < EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLORFFFF00;STICKLINE((CROSS(EMJ(CLOSE,2),EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)) OR CROSS(EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMJ(CLOSE,2))),LOW,HIGH,0.1,0),COLOR00FFFF;STICKLINE((CROSS(EMJ(CLOSE,2),EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)) OR CROSS(EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMJ(CLOSE,2))),OPEN,CLOSE,3,0),COLOR00JJJJ;STICKLINE((CROSS(EMJ(CLOSE,2),EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42)) OR CROSS(EMJ(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMJ(CLOSE,2))),OPEN,CLOSE,2,0),COLOR00CCCC;MJJ5:MJ(C,5),COLORFF00FF,LINETHICK5;MJJ10:=MJ(C,10);MJJ30:MJ(C,30),COLORWHITE;KS:IF(MJJ10>MJJ30,MJJ10,MJJ30),COLORYELLOW;J3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;J4:=SMJ(J3,3,1);J5:=SMJ(J4,3,1);J6:=3*J4-2*J5;J7:=C-REF(C,1);J8:=100*EMJ(EMJ(J7,6),6)/EMJ(EMJ(JBS(J7),6),6);买:=LLV(J8,2)=LLV(J8,7) JND COUNT(J8<0,2) JND CROSS(J8,MJ(J8,2));DRJWTEXT(FILTER(买=1,5),LOW-0.05,'↖猪八戒买入'),COLORBLUE;

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