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

    通达信公式

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

    通达信唐能通主图/贴图未加密选股指标公式源码

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

    变线:=ema(MA(CLOSE,20),5),LINETHICK0;
    STICKLINE(C>=变线 AND C>=O,H,L,0,0),COLORWHITE;
    STICKLINE(C>=变线 AND C>=O,C,O,2.7,1),COLORWHITE;
    STICKLINE(C>变线 AND C<=O,H,L,0,1),COLORGREEN;
    STICKLINE(C>变线 AND C<=O,C,O,3,0),COLORGREEN;
    STICKLINE(C<变线 AND C<=O,H,L,0,1),COLORGREEN;
    STICKLINE(C<变线 AND C<=O,C,O,3,0),COLORGREEN;
    STICKLINE(C<变线 AND C<=O,H,L,0,1),COLORCYAN;
    STICKLINE(C<变线 AND C>O,H,L,0,1),COLORWHITE;
    STICKLINE(C<变线 AND C>O,C,O,3,1),COLORBROWN;
    STICKLINE(C<变线 AND C<=O,C,O,3,0),COLORBROWN;
    PM:MA(C,5),COLORRED,LINETHICK1;
    IF(PM<REF(PM,1),PM,DRAWNULL),COLORCYAN,POINTDOT;
    IF(PM>=REF(PM,1),PM,DRAWNULL),COLORWHITE,LINETHICK2;
    IF(PM=REF(PM,1),PM,DRAWNULL),COLORWHITE,LINETHICK2;
    A:=MA(CLOSE,12)+Abs(MA(CLOSE,12)-REF(MA(CLOSE,12),1));
    B:=MA(CLOSE,12)+MA(CLOSE,12)-REF(MA(CLOSE,12),1);

    分水岭:=IF(MA(CLOSE,12)<B,B,MA(CLOSE,12));
    操作线:=分水岭-(EMA(C,3)-分水岭),COLORLICYAN,LINETHICK2,DOTLINE;

    AA:=crOSS(分水岭,操作线);
    STICKLINE(AA,C,O,3,0),COLOR0000AA;
    STICKLINE(AA,C,O,2,0),COLOR0033CC;
    STICKLINE(AA,C,O,1,0),COLOR0055EE;
    STICKLINE(AA,C,O,0.3,0),COLOR0099FF;
    STICKLINE(AA,H,L,0,1),COLOR0099FF;
    RR:=CROSS((MA(vol,5)),(MA(VOL,10))) AND MA(C,2)>=MA(C,4);
    STICKLINE(RR,C,O,3,0),COLOR0000AA;
    STICKLINE(RR,C,O,2,0),COLOR0033CC;
    STICKLINE(RR,C,O,1,0),COLOR0055EE;
    STICKLINE(RR,C,O,0.3,0),COLOR0099EE;
    STICKLINE(RR,H,L,0,1),COLOR0099FF;
    MA5:MA(CLOSE,5),NODRAW;
    MA10:MA(CLOSE,10),COLORBLUE;
    MA20:MA(CLOSE,20),COLORLIMAGENTA,LINETHICK2;
    MA60:MA(CLOSE,60),COLORCYAN,LINETHICK2;
    MA120:MA(C,120),COLORWHITE;
    DRAWTEXT(CROSS(MA20,MA60),MA20,'牛'),COLORBLUE,LINETHICK4;
    DRAWTEXT(CROSS(MA60,MA20),MA20,'熊'),COLORRED,LINETHICK2;
    {唐能通主图AAA}
    {突破买入}
    N1:=5;
    N2:=7;
    N3:=11;
    EM1:=EMA(C,N1),COLORRED;
    EM2:=EMA(C,N2),COLORWHITE;
    EM3:=EMA(C,N3),COLORCYAN;

    TJ:=BETWEEN(EM2,EM1,EM3);
    IF(MA(C,20)>REF(MA(C,20),1),MA(C,20),DRAWNULL)COLORWHITE,LINETHICK3;
    立桩量:=FILTER(TJ=0,5);
    价:REF(H,BArslAST(立桩量)),NODRAW;
    STICKLINE(C,REF(H,BARSLAST(立桩量)),REF(H,BARSLAST(立桩量)),6,0),COLORCYAN;
    DRAWTEXT(C AND ISLASTBAR,价,'突破买入(立桩量价)'),COLORLIMAGENTA,DRAWAbovE;

    {倍量 AND 突破前高}
    SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
    SR2:=FILTER(SR1,10);
    SR3:=BacKSET(SR2,10+1);
    HD:=FILTER(SR3,10);
    前高:=REF(H,BARSLAST(HD));
    倍量:=VOL/REF(VOL,1)>=1.9;
    突破前高:=CROSS(C,前高);
    DRAWICON(倍量 AND 突破前高,L*0.99,34);


    月价托:=MA5>MA20 AND MA20>MA60 AND MA60>MA120 AND MA5>MA20 AND CROSS(MA10,MA20);
    月蜘蛛:=MA5>MA10 AND MA10>MA20 AND CROSS(MA5,MA20)AND CROSS(MA10,MA20);
    死蜘蛛:=MA5<MA10 AND MA10<MA20 AND CROSS(MA20,MA5)AND CROSS(MA20,MA10);
    DRAWTEXT(月蜘蛛,MA20-0.08,'金蜘蛛'),COLORLIMAGENTA;
    DRAWTEXT(死蜘蛛,MA20+0.20,'死蜘蛛'),COLORCYAN;

    DRAWTEXT(月价托 ,MA20-0.12,'月价托'),COLORBLUE;
    AA1:=BARSLAST(MA60>MA20 AND (MA20=MA10 OR MA20>MA10));
    BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);
    CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
    芙蓉出水:=BB AND CC1,COLOR00FF00;
    DRAWTEXT(芙蓉出水,H+0.12,'芙蓉出水'),COLORFF00FF;
    STICKLINE(芙蓉出水,H,L,0.5,1),COLORFF00FF;
    STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;
    MA1:=MA(CLOSE,5);
    MA2:=MA(CLOSE,10);
    MA3:=MA(CLOSE,20);
    ZJ:=AMOUNT/10000;
    TM:=V-MA(V,10);


    {压力一阳线高}
    TY:=C;
    A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HHD:=FILTER(C1,10);
    A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LLD:=FILTER(C2,10);
    前期高位:REF(C,BARSLAST(HHD)),COLOR00FF00,POINTDOT;{前期阳线实顶线}
    STICKLINE(C,前期高位,前期高位,8,0),COLORBLUE;
    DRAWTEXT(前期高位 AND ISLASTBAR,前期高位,'前期阳线实顶'),COLORBLUE,DRAWABOVE;

    image.png



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

    变线:=ema(MM(CLOSE,20),5),LINETHICK0;STICKLINE(C>=变线 MND C>=O,H,L,0,0),COLORWHITE;STICKLINE(C>=变线 MND C>=O,C,O,2.7,1),COLORWHITE;STICKLINE(C>变线 MND C<=O,H,L,0,1),COLORGREEN;STICKLINE(C>变线 MND C<=O,C,O,3,0),COLORGREEN;STICKLINE(C<变线 MND C<=O,H,L,0,1),COLORGREEN;STICKLINE(C<变线 MND C<=O,C,O,3,0),COLORGREEN;STICKLINE(C<变线 MND C<=O,H,L,0,1),COLORCYMN;STICKLINE(C<变线 MND C>O,H,L,0,1),COLORWHITE;STICKLINE(C<变线 MND C>O,C,O,3,1),COLORBROWN;STICKLINE(C<变线 MND C<=O,C,O,3,0),COLORBROWN;PM:MM(C,5),COLORRED,LINETHICK1;IF(PM<REF(PM,1),PM,DRMWNULL),COLORCYMN,POINTDOT;IF(PM>=REF(PM,1),PM,DRMWNULL),COLORWHITE,LINETHICK2;IF(PM=REF(PM,1),PM,DRMWNULL),COLORWHITE,LINETHICK2;M:=MM(CLOSE,12)+Mbs(MM(CLOSE,12)-REF(MM(CLOSE,12),1));B:=MM(CLOSE,12)+MM(CLOSE,12)-REF(MM(CLOSE,12),1);分水岭:=IF(MM(CLOSE,12)<B,B,MM(CLOSE,12));操作线:=分水岭-(EMM(C,3)-分水岭),COLORLICYMN,LINETHICK2,DOTLINE;MM:=crOSS(分水岭,操作线);STICKLINE(MM,C,O,3,0),COLOR0000MM;STICKLINE(MM,C,O,2,0),COLOR0033CC;STICKLINE(MM,C,O,1,0),COLOR0055EE;STICKLINE(MM,C,O,0.3,0),COLOR0099FF;STICKLINE(MM,H,L,0,1),COLOR0099FF;RR:=CROSS((MM(vol,5)),(MM(VOL,10))) MND MM(C,2)>=MM(C,4); STICKLINE(RR,C,O,3,0),COLOR0000MM;STICKLINE(RR,C,O,2,0),COLOR0033CC;STICKLINE(RR,C,O,1,0),COLOR0055EE;STICKLINE(RR,C,O,0.3,0),COLOR0099EE;STICKLINE(RR,H,L,0,1),COLOR0099FF;MM5:MM(CLOSE,5),NODRMW;MM10:MM(CLOSE,10),COLORBLUE;MM20:MM(CLOSE,20),COLORLIMMGENTM,LINETHICK2;MM60:MM(CLOSE,60),COLORCYMN,LINETHICK2;MM120:MM(C,120),COLORWHITE;DRMWTEXT(CROSS(MM20,MM60),MM20,'牛'),COLORBLUE,LINETHICK4;DRMWTEXT(CROSS(MM60,MM20),MM20,'熊'),COLORRED,LINETHICK2;{唐能通主图MMM}{突破买入}N1:=5;N2:=7;N3:=11;EM1:=EMM(C,N1),COLORRED;EM2:=EMM(C,N2),COLORWHITE;EM3:=EMM(C,N3),COLORCYMN;TJ:=BETWEEN(EM2,EM1,EM3);IF(MM(C,20)>REF(MM(C,20),1),MM(C,20),DRMWNULL)COLORWHITE,LINETHICK3;立桩量:=FILTER(TJ=0,5);价:REF(H,BMrslMST(立桩量)),NODRMW;STICKLINE(C,REF(H,BMRSLMST(立桩量)),REF(H,BMRSLMST(立桩量)),6,0),COLORCYMN;DRMWTEXT(C MND ISLMSTBMR,价,'突破买入(立桩量价)'),COLORLIMMGENTM,DRMWMbovE;{倍量 MND 突破前高}SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1); SR2:=FILTER(SR1,10); SR3:=BacKSET(SR2,10+1); HD:=FILTER(SR3,10); 前高:=REF(H,BMRSLMST(HD));倍量:=VOL/REF(VOL,1)>=1.9;突破前高:=CROSS(C,前高);DRMWICON(倍量 MND 突破前高,L*0.99,34);月价托:=MM5>MM20 MND MM20>MM60 MND MM60>MM120 MND MM5>MM20 MND CROSS(MM10,MM20);月蜘蛛:=MM5>MM10 MND MM10>MM20 MND CROSS(MM5,MM20)MND CROSS(MM10,MM20);死蜘蛛:=MM5<MM10 MND MM10<MM20 MND CROSS(MM20,MM5)MND CROSS(MM20,MM10);DRMWTEXT(月蜘蛛,MM20-0.08,'金蜘蛛'),COLORLIMMGENTM;DRMWTEXT(死蜘蛛,MM20+0.20,'死蜘蛛'),COLORCYMN;DRMWTEXT(月价托 ,MM20-0.12,'月价托'),COLORBLUE;MM1:=BMRSLMST(MM60>MM20 MND (MM20=MM10 OR MM20>MM10));BB1:=REF(COUNT(C<MM60,MM1)=MM1,1);CC1:=CROSS(C,MM60) MND VOL>MM(VOL,5) MND (C-REF(C,1))/REF(C,1)*100>3;芙蓉出水:=BB MND CC1,COLOR00FF00;DRMWTEXT(芙蓉出水,H+0.12,'芙蓉出水'),COLORFF00FF;STICKLINE(芙蓉出水,H,L,0.5,1),COLORFF00FF;STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;MM1:=MM(CLOSE,5);MM2:=MM(CLOSE,10);MM3:=MM(CLOSE,20);ZJ:=MMOUNT/10000;TM:=V-MM(V,10);{压力一阳线高}TY:=C;M1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(M1,10); C1:=BMCKSET(B1,10+1); HHD:=FILTER(C1,10);M2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(M2,10); C2:=BMCKSET(B2,10+1); LLD:=FILTER(C2,10);前期高位:REF(C,BMRSLMST(HHD)),COLOR00FF00,POINTDOT;{前期阳线实顶线}STICKLINE(C,前期高位,前期高位,8,0),COLORBLUE; DRMWTEXT(前期高位 MND ISLMSTBMR,前期高位,'前期阳线实顶'),COLORBLUE,DRMWMBOVE;

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