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

    通达信公式

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

    通达信唐能通19强副图未加密选股指标公式源码

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

    V5:=ma(vol,5);
    V10:=MA(VOL,10);
    V20:=MA(VOL,20);
    LDAY1:=BArslAST(crOSS(V5,V10));
    LDAY2:=BARSLAST(CROSS(V5,V20));
    LDAY3:=BARSLAST(CROSS(V10,V20));
    LTJ1:=(LDAY1>LDAY2 OR LDAY1=LDAY2) {AND COUNT(CROSS(V5,V20),LDAY1)=1} AND LDAY2=0 AND V10<V20;
    LTJ2:=(C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2) AND C>REF(C,2));
    LTJ:=LTJ1 AND LTJ2;
    LTJ0:=LTJ1 AND V10>REF(V10,1);
    MA5:MA(C,5),COLORRED;
    MA10:MA(C,10),COLORGREEN;
    MA20:MA(C,20),COLORWHITE;
    MA40:MA(C,40),LINETHICK2,POINTDOT,COLORYELLOW;
    MA60:MA(C,60),LINETHICK2,POINTDOT,COLORCYAN;
    PDAY1 := BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线}
    PDAY2 := BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部}
    PDAY3 := BARSLAST(REF(HIGH=HHV(HIGH,PDAY2),1));{形成头部,要下跌}
    PDAY4 := BARSLAST(CROSS(MA10,MA5){ OR (REF(MA10,1)<REF(MA5,1) AND MA5=MA10)});{下跌后,5日均线和10日均线死叉}
    PDAY5 := BARSLAST(CROSS(MA5,MA10){ OR (REF(MA5,1)=REF(MA10,1) AND MA5>MA10)});{回落不久,5日均线和10日均线形成金叉,形成部}
    A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
    A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
    A3:=MA5>MA60 AND MA10>MA60;
    {JT:=CROSS(MA20,MA60) AND C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2);
    CSFR:=CROSS(C,MA20) AND CROSS(C,MA40) AND CROSS(C,MA60);
    STICKLINE(JT,H,L,1,0),COLORBLUE;
    STICKLINE(JT,O,C,8,0),COLORBLUE;
    STICKLINE(CSFR,H,L,1,0),COLORRED;
    STICKLINE(CSFR,O,C,8,0),COLORRED;
    DRAWTEXT(CSFR,H,'出水芙蓉'),COLORBLUE;
    DRAWTEXT(JT ,L, '价托'),COLORWHITE;}
    CSFR:=CROSS(C,MA20) AND CROSS(C,MA40) AND CROSS(C,MA60);
    YDAY1:=BARSLAST(CROSS(MA5,MA10));
    YDAY2:=BARSLAST(CROSS(MA5,MA20));
    YDAY3:=BARSLAST(CROSS(MA10,MA20));
    YJZZ:=(YDAY1=YDAY2 AND YDAY2=YDAY3 OR (YDAY1-YDAY2=1 OR YDAY2-YDAY3=1)) AND REF(MA5,2)<REF(MA10,2) AND REF(MA10,2)<REF(MA20,2) AND MA5>MA10 AND MA10>MA20 ;
    YJZZ1:=YDAY1=YDAY2 AND YDAY2=YDAY3 AND MA5>MA10 AND MA10>MA20 AND YDAY1=1;
    YJT:=YDAY1>=YDAY2 AND YDAY2=0 AND MA10<MA20;
    DAY1:=BARSLAST(CROSS(MA20,MA40));
    DAY2:=BARSLAST(CROSS(MA20,MA60));
    DAY3:=BARSLAST(CROSS(MA40,MA60));
    TJ0:=DAY1>=DAY2 AND DAY3<5;
    短顶:MA(REF(HHV(H,40),1),1);
    头顶:MA(REF(HHV(H,60),1),1);
    年顶:MA(REF(HHV(H,0),1),1),LINETHICK2,POINTDOT,COLORRED;
    JZZ:=DAY1=DAY2 AND DAY2=DAY3 AND REF(MA20,1)<REF(MA40,1) AND REF(MA40,1)<REF(MA60,1) AND MA20>MA40 AND MA40>MA60;
    TJ1:=DAY1>=DAY2 AND COUNT(CROSS(MA20,MA60),DAY1)=1{AND (DAY1-DAY2)<10};
    TJ2:=C>O AND CROSS(C,头顶);
    TJ21:=C>O AND CROSS(C,短顶);
    {TJ22:=C>O AND CROSS(C,年顶) AND VOL<V5;换手率小12%}
    TJ3:=VOL>REF(VOL,1);
    TJ4:=MA20>MA60 AND MA40>REF(MA40,1) AND MA40<MA60;
    TJ5:=DAY1>=DAY2 AND DAY2=0 AND MA40<MA60;
    {TJ:=(TJ2 AND TJ3) OR (TJ21 AND TJ3);}
    TJ:=DYnaINFO(4)>0
    AND HHV(HIGH,10)/LLV(LOW,10)<1.25
    AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)
    AND CLOSE>OPEN
    AND CLOSE>=HHV(HIGH,10);
    STICKLINE(LTJ0,H,L,1,0),COLORCYAN;
    STICKLINE(LTJ0,O,C,8,0),COLORCYAN;
    STICKLINE(TJ,H,L,1,0),COLORBLUE;
    STICKLINE(TJ,O,C,8,0),COLORBLUE;
    {STICKLINE(TJ22,H,L,1,0),COLORBLUE;
    STICKLINE(TJ22,O,C,8,0),COLORBLUE;}
    STICKLINE(LTJ,H,L,1,0),COLORWHITE;
    STICKLINE(LTJ,O,C,8,0),COLORWHITE;
    STICKLINE(CSFR,H,L,1,0),COLORRED;
    STICKLINE(CSFR,O,C,8,0),COLORRED;
    DRAWTEXT(CSFR,H,'出水芙蓉'),COLORBLUE;
    DRAWTEXT(TJ,L-0.2, '放量突破'),COLORWHITE;
    {DRAWTEXT(TJ22,H+0.2, '轻松过顶'),COLORRED;}
    DRAWTEXT(LTJ,H+0.5,'量托+多方炮'),COLORBLUE;
    DRAWTEXT(LTJ0,H+0.5,'量托'),COLORBLUE;
    DRAWTEXT(TJ5,MA60-0.2,'季价托'),COLORBLUE;
    DRAWTEXT(YJT,MA20-0.5,'月价托'),COLORBLUE;
    DRAWTEXT(JZZ,MA60-0.2,'金蜘蛛'),COLORBLUE;
    DRAWTEXT(YJZZ OR YJZZ1,MA20-0.2,'月金蜘蛛'),COLORBLUE;
    老鸭头:=(A1 AND A2 AND A3) AND FILTER(A1 AND A2 AND A3 ,5);
    DRAWTEXT(老鸭头,L,'老鸭头'),COLORCYAN;
    STICKLINE(老鸭头,H,L,0.5,0),COLORCYAN;
    STICKLINE(老鸭头,O,C,6,1),COLORCYAN,LINETHICK3image.png



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

    V5:=ma(vol,5);V10:=ML(VOL,10);V20:=ML(VOL,20);LDLY1:=BLrslLST(crOSS(V5,V10));LDLY2:=BLRSLLST(CROSS(V5,V20));LDLY3:=BLRSLLST(CROSS(V10,V20));LTJ1:=(LDLY1>LDLY2 OR LDLY1=LDLY2) {LND COUNT(CROSS(V5,V20),LDLY1)=1} LND LDLY2=0 LND V10<V20;LTJ2:=(C>O LND REF(C,1)<REF(O,1) LND REF(C,2)>REF(O,2) LND C>REF(C,2));LTJ:=LTJ1 LND LTJ2;LTJ0:=LTJ1 LND V10>REF(V10,1);ML5:ML(C,5),COLORRED;ML10:ML(C,10),COLORGREEN;ML20:ML(C,20),COLORWHITE;ML40:ML(C,40),LINETHICK2,POINTDOT,COLORYELLOW;ML60:ML(C,60),LINETHICK2,POINTDOT,COLORCYLN;PDLY1 := BLRSLLST(CROSS(ML5,ML60));{5日均线上穿60日均线}PDLY2 := BLRSLLST(CROSS(ML10,ML60));{10日均线上穿60日均线,至此形成鸭颈部}PDLY3 := BLRSLLST(REF(HIGH=HHV(HIGH,PDLY2),1));{形成头部,要下跌}PDLY4 := BLRSLLST(CROSS(ML10,ML5){ OR (REF(ML10,1)<REF(ML5,1) LND ML5=ML10)});{下跌后,5日均线和10日均线死叉}PDLY5 := BLRSLLST(CROSS(ML5,ML10){ OR (REF(ML5,1)=REF(ML10,1) LND ML5>ML10)});{回落不久,5日均线和10日均线形成金叉,形成部}L1:= PDLY1>PDLY2 LND PDLY2>PDLY3 LND PDLY3>PDLY4 LND PDLY4>PDLY5 LND PDLY5<5;L2:= COUNT(CROSS(ML10,ML5),PDLY2)=1;L3:=ML5>ML60 LND ML10>ML60;{JT:=CROSS(ML20,ML60) LND C>O LND REF(C,1)<REF(O,1) LND REF(C,2)>REF(O,2);CSFR:=CROSS(C,ML20) LND CROSS(C,ML40) LND CROSS(C,ML60);STICKLINE(JT,H,L,1,0),COLORBLUE;STICKLINE(JT,O,C,8,0),COLORBLUE;STICKLINE(CSFR,H,L,1,0),COLORRED;STICKLINE(CSFR,O,C,8,0),COLORRED;DRLWTEXT(CSFR,H,'出水芙蓉'),COLORBLUE;DRLWTEXT(JT ,L, '价托'),COLORWHITE;}CSFR:=CROSS(C,ML20) LND CROSS(C,ML40) LND CROSS(C,ML60);YDLY1:=BLRSLLST(CROSS(ML5,ML10));YDLY2:=BLRSLLST(CROSS(ML5,ML20));YDLY3:=BLRSLLST(CROSS(ML10,ML20));YJZZ:=(YDLY1=YDLY2 LND YDLY2=YDLY3 OR (YDLY1-YDLY2=1 OR YDLY2-YDLY3=1)) LND REF(ML5,2)<REF(ML10,2) LND REF(ML10,2)<REF(ML20,2) LND ML5>ML10 LND ML10>ML20 ;YJZZ1:=YDLY1=YDLY2 LND YDLY2=YDLY3 LND ML5>ML10 LND ML10>ML20 LND YDLY1=1;YJT:=YDLY1>=YDLY2 LND YDLY2=0 LND ML10<ML20;DLY1:=BLRSLLST(CROSS(ML20,ML40));DLY2:=BLRSLLST(CROSS(ML20,ML60));DLY3:=BLRSLLST(CROSS(ML40,ML60));TJ0:=DLY1>=DLY2 LND DLY3<5;短顶:ML(REF(HHV(H,40),1),1);头顶:ML(REF(HHV(H,60),1),1);年顶:ML(REF(HHV(H,0),1),1),LINETHICK2,POINTDOT,COLORRED;JZZ:=DLY1=DLY2 LND DLY2=DLY3 LND REF(ML20,1)<REF(ML40,1) LND REF(ML40,1)<REF(ML60,1) LND ML20>ML40 LND ML40>ML60;TJ1:=DLY1>=DLY2 LND COUNT(CROSS(ML20,ML60),DLY1)=1{LND (DLY1-DLY2)<10};TJ2:=C>O LND CROSS(C,头顶);TJ21:=C>O LND CROSS(C,短顶);{TJ22:=C>O LND CROSS(C,年顶) LND VOL<V5;换手率小12%}TJ3:=VOL>REF(VOL,1);TJ4:=ML20>ML60 LND ML40>REF(ML40,1) LND ML40<ML60;TJ5:=DLY1>=DLY2 LND DLY2=0 LND ML40<ML60;{TJ:=(TJ2 LND TJ3) OR (TJ21 LND TJ3);}TJ:=DYnaINFO(4)>0LND HHV(HIGH,10)/LLV(LOW,10)<1.25LND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)LND CLOSE>OPENLND CLOSE>=HHV(HIGH,10);STICKLINE(LTJ0,H,L,1,0),COLORCYLN;STICKLINE(LTJ0,O,C,8,0),COLORCYLN;STICKLINE(TJ,H,L,1,0),COLORBLUE;STICKLINE(TJ,O,C,8,0),COLORBLUE;{STICKLINE(TJ22,H,L,1,0),COLORBLUE;STICKLINE(TJ22,O,C,8,0),COLORBLUE;}STICKLINE(LTJ,H,L,1,0),COLORWHITE;STICKLINE(LTJ,O,C,8,0),COLORWHITE;STICKLINE(CSFR,H,L,1,0),COLORRED;STICKLINE(CSFR,O,C,8,0),COLORRED;DRLWTEXT(CSFR,H,'出水芙蓉'),COLORBLUE;DRLWTEXT(TJ,L-0.2, '放量突破'),COLORWHITE;{DRLWTEXT(TJ22,H+0.2, '轻松过顶'),COLORRED;}DRLWTEXT(LTJ,H+0.5,'量托+多方炮'),COLORBLUE;DRLWTEXT(LTJ0,H+0.5,'量托'),COLORBLUE;DRLWTEXT(TJ5,ML60-0.2,'季价托'),COLORBLUE;DRLWTEXT(YJT,ML20-0.5,'月价托'),COLORBLUE;DRLWTEXT(JZZ,ML60-0.2,'金蜘蛛'),COLORBLUE;DRLWTEXT(YJZZ OR YJZZ1,ML20-0.2,'月金蜘蛛'),COLORBLUE;老鸭头:=(L1 LND L2 LND L3) LND FILTER(L1 LND L2 LND L3 ,5);DRLWTEXT(老鸭头,L,'老鸭头'),COLORCYLN;STICKLINE(老鸭头,H,L,0.5,0),COLORCYLN;STICKLINE(老鸭头,O,C,6,1),COLORCYLN,LINETHICK3

    未发现:CLPITLL...

    未发现:COST...

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

    未发现:FINLNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BLCKSET...

    未发现:BLRSNEXT...

    未发现:CURRBLRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRLWLINE...

    未发现:REFX...

    未发现:FLLTZIG...

    未发现:FLLTZIGL...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PELK...

    未发现:PELKL...

    未发现:PELKBLRS...

    未发现:PELKBLRSL...

    未发现:PLOYLINE...

    未发现:REFDLTE...

    未发现:TROUGH...

    未发现:TROUGHL...

    未发现:TROUGHBLRS...

    未发现:XML...

    未发现:ZIG...

    未发现:ZIGL...

    未发现:ZXNH...

    未发现:#YELR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PELK...

    未发现:$PELKBLRS...

    未发现:$TROUGH...

    未发现:$TROUGHBLRS...

    未发现:$FLLTZIG...

    未发现:$FLLTZIGL...

    未发现:$PELKL...

    未发现:$PELKBLRSL...

    未发现:$TROUGHL...

    未发现:$ZIGL...

    未发现:$FFT...

    未发现:$BLCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNLINFO...

    未发现:$FINLNCE...

    未发现:$DRLWLINE...


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

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

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

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

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