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

    通达信公式

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

    通达信超级主升黄金坑主升浪和黄金坑结合副图未加密选股指标公式源码

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

    {================背景 ================};
    {DRAWGBK(ISLASTBAR, RGB(60,60,60),RGB(0,0,0),0,'0',0);}
    上涨家数:INDEXADV,COLORmaGENTA ,NODRAW;
    下跌家数:INDEXDEC,COLORCYAN ,NODRAW;

    A1:=ema((C - REF(C,1)) / REF(C,3),10) * 100;
    A2:=EMA(EMA(EMA(EMA(A1,2),2),2),3);
    A3:=(C - MA(C,26)) / MA(C,26) * 100;
    0,LINETHICK2;
    A4:=IF(YEAR >= 2022,0,1);

    黄金坑:IF(MA((C - MA(C,28)) / MA(C,28),3) * 100 < -15,MA((C - MA(C,28)) / MA(C,28),3) * 100,0) * A4,LINETHICK2,COLOR00F600;
    A5:IF(MA((C - MA(C,28)) / MA(C,28),3) * 100 > 0 AND MA(C,5) > MA(C,10) AND A3 > EMA(MA((C - MA(C,28)) / MA(C,28),3) * 100,5) AND A2 > REF(A2,1),MA((C - MA(C,28)) / MA(C,28),3) * 100,0) * A4;
    持股线:(MA((C - MA(C,28)) / MA(C,28),3) * 100 > 0 AND MA(C,5) > MA(C,10) AND A3 > EMA(MA((C - MA(C,28)) / MA(C,28),3) * 100,5) AND DYnaINFO(17) > 0) * A5 * A4,LINETHICK1,COLORWHITE;
    VARD1:=MA((C - MA(C,28)) / MA(C,28),3) * 100;
    STICKLINE(VARD1 < -20 AND VARD1> REF(VARD1,1) * A4,VARD1,-6,4,0),COLORC8C8FA;
    STICKLINE(VARD1 < -20,VARD1,-6,4,0),COLOR00C8FA;
    STICKLINE(VARD1 < -20,0,-6,4,0),COLOR00C800;
    STICKLINE(VARD1< -20 AND VARD1> REF(VARD1,1) * A4,0,-6,4,0),COLOR6464FA;
    A6:=(MA(C,3) + MA(C,6) + MA(C,12) + MA(C,24)) / 4;
    A7:=A6 + 3 * STD(A6,10);
    A8:=MA(C,26) + 2 * STD(C,26);
    买点:(V > 0 AND BArslASTCOUNT(A5>0)=1 AND A2 > REF(A2,1)) * A5,COLORFF0000,NODRAW;
    STICKLINE(买点,买点,0,3,0),COLOR990000;{蓝色}
    DRAWTEXT(V > 0 AND BARSLASTCOUNT(A5>0)=1 AND A2 > REF(A2,1),-6,'买'),COLORBLUE;
    VAK1:=(V > 0 AND A5 > 0 AND A2 > REF(A2,1)) * EMA(A5,5),COLOR005999;
    STICKLINE(VAK1,VAK1,0,2,0),COLORWHITE ;{红色}
    VAK2:=(V > 0 AND BARSLASTCOUNT(A5>0)=1 AND crOSS(EMA(C,2),HHV(EMA(C,5),26))) * EMA(A5,2),COLOR000999;
    STICKLINE(VAK2,VAK2,0,3,0),COLORRED ;{白色}
    VAK3:=(V > 0 AND BARSLASTCOUNT(A5>0)=1 AND CROSS(EMA(C,2),HHV(EMA(C,5),26))) * -3,COLOR009999;
    STICKLINE(VAK3,VAK3,0,6,0),COLORBLUE;{色}
    STICKLINE(VAK3,VAK3,0,2,0),COLOR005555;
    STICKLINE(VAK3,VAK3,0,1,0),COLOR007777;
    STICKLINE(VAK3,VAK3,0,0.2,0),COLOR009999;
    卖点:(V > 0 AND CROSS(0.5,持股线)) * REVERSE(MA((C - MA(C,28)) / MA(C,28),3) * 100) * A4,COLORCYAN;
    STICKLINE(卖点,卖点,0,3,0),COLOR009900;{绿色};

    短线起爆:(V > 0 AND BARSLASTCOUNT(A5>0)=1 AND CROSS(EMA(C,2),HHV(EMA(C,5),26))) * 10 * A4,NODRAW;
    VAK4:=(V > 0 AND EMA((C - MA(C,28)) / MA(C,28),2) > MA((C - MA(C,28)) / MA(C,28),4) AND MA((C - MA(C,28)) / MA(C,28),4) > REF(MA((C - MA(C,28)) / MA(C,28),4),1) AND SMA(MAX(C - REF(C,1),0),14,1) / SMA(Abs(C - REF(C,1)),14,1) * 100 > 64.5 AND EMA(C,1) > (A7 OR A8)) * EMA(A5,5) / 2.5 * A4,COLORWHITE;
    STICKLINE(VAK4,VAK4,0,3,0),COLORBLUE;{黄色}
    VAK5:=(V > 0 AND EMA((C - MA(C,28)) / MA(C,28),2) > MA((C - MA(C,28)) / MA(C,28),4) AND MA((C - MA(C,28)) / MA(C,28),4) > REF(MA((C - MA(C,28)) / MA(C,28),4),1) AND (V > 0 AND A5 > 0 AND A2 > REF(A2,1)) * EMA(A5,5) = 0) * A3 * A4,COLORADA899;
    STICKLINE(VAK5,VAK5,0,3,0),COLORLIGREEN ;{灰色};

    DRAWBMP(短线起爆 < 0,-3,'BUY1');
    IF(EMA(C,2) > HHV(EMA(C,5),26) AND A5 > 0 * A4,持股线,DRAWNULL),LINETHICK3,COLORLIMAGENTA;
    A9:=EMA((EMA(C * V,3) / EMA(V,3) + EMA(C * V,6) / EMA(V,6) + EMA(C * V,12) / EMA(V,12) + EMA(C * V,24) / EMA(V,24)) / 4,13);
    A10:=1.06 * A9 * A4;
    A11:=(C - REF(C,1)) / REF(C,1) * 100;
    STICKLINE(A11 > 8.5 AND CROSS(MA(C,1),EMA(H,10) * (1 + 5 / 100)) AND CROSS(MA(C,1),A10),MA((C - MA(C,28)) / MA(C,28),3) * 100 * 2,MA((C - MA(C,28)) / MA(C,28),3) * 100,1,0),COLORFF0099;
    STICKLINE(A11 > 8.5 AND CROSS(MA(C,1),EMA(H,10) * (1 + 5 / 100)) AND CROSS(MA(C,1),A10),MA((C - MA(C,28)) / MA(C,28),3) * 100 * 1.5,MA((C - MA(C,28)) / MA(C,28),3) * 100,1,0),COLORWHITE;
    DRAWTEXT(A11 > 8.5 AND CROSS(MA(C,1),EMA(H,10) * (1 + 5 / 100)) AND CROSS(MA(C,1),A10) > 0,MA((C - MA(C,28)) / MA(C,28),3) * 100 * 2,'追板'),COLORBLUE;
    DRAWTEXT(V > 0 AND CROSS(0.5,持股线),5,'卖'),COLORCYAN;
    追板选股:(A11 > 8.5 AND CROSS(MA(C,1),EMA(H,10) * (1 + 5 / 100)) AND CROSS(MA(C,1),A10)) * 10,NODRAW;
    {DRAWGBKLAST(MA((C - MA(C,28)) / MA(C,28),3) * 100 > 0,STRIP(RGB(0,0,0),RGB(100,100,100),1));};

    image.png



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

    {================背景 ================};{DRMWGBK(ISLMSTBMR, RGB(60,60,60),RGB(0,0,0),0,'0',0);}上涨家数:INDEXMDV,COLORmaGENTM ,NODRMW; 下跌家数:INDEXDEC,COLORCYMN ,NODRMW;M1:=ema((C - REF(C,1)) / REF(C,3),10) * 100;M2:=EMM(EMM(EMM(EMM(M1,2),2),2),3);M3:=(C - MM(C,26)) / MM(C,26) * 100;0,LINETHICK2;M4:=IF(YEMR >= 2022,0,1);黄金坑:IF(MM((C - MM(C,28)) / MM(C,28),3) * 100 < -15,MM((C - MM(C,28)) / MM(C,28),3) * 100,0) * M4,LINETHICK2,COLOR00F600;M5:IF(MM((C - MM(C,28)) / MM(C,28),3) * 100 > 0 MND MM(C,5) > MM(C,10) MND M3 > EMM(MM((C - MM(C,28)) / MM(C,28),3) * 100,5) MND M2 > REF(M2,1),MM((C - MM(C,28)) / MM(C,28),3) * 100,0) * M4;持股线:(MM((C - MM(C,28)) / MM(C,28),3) * 100 > 0 MND MM(C,5) > MM(C,10) MND M3 > EMM(MM((C - MM(C,28)) / MM(C,28),3) * 100,5) MND DYnaINFO(17) > 0) * M5 * M4,LINETHICK1,COLORWHITE;VMRD1:=MM((C - MM(C,28)) / MM(C,28),3) * 100;STICKLINE(VMRD1 < -20 MND VMRD1> REF(VMRD1,1) * M4,VMRD1,-6,4,0),COLORC8C8FM;STICKLINE(VMRD1 < -20,VMRD1,-6,4,0),COLOR00C8FM;STICKLINE(VMRD1 < -20,0,-6,4,0),COLOR00C800;STICKLINE(VMRD1< -20 MND VMRD1> REF(VMRD1,1) * M4,0,-6,4,0),COLOR6464FM;M6:=(MM(C,3) + MM(C,6) + MM(C,12) + MM(C,24)) / 4;M7:=M6 + 3 * STD(M6,10);M8:=MM(C,26) + 2 * STD(C,26);买点:(V > 0 MND BMrslMSTCOUNT(M5>0)=1 MND M2 > REF(M2,1)) * M5,COLORFF0000,NODRMW;STICKLINE(买点,买点,0,3,0),COLOR990000;{蓝色}DRMWTEXT(V > 0 MND BMRSLMSTCOUNT(M5>0)=1 MND M2 > REF(M2,1),-6,'买'),COLORBLUE;VMK1:=(V > 0 MND M5 > 0 MND M2 > REF(M2,1)) * EMM(M5,5),COLOR005999;STICKLINE(VMK1,VMK1,0,2,0),COLORWHITE ;{红色}VMK2:=(V > 0 MND BMRSLMSTCOUNT(M5>0)=1 MND crOSS(EMM(C,2),HHV(EMM(C,5),26))) * EMM(M5,2),COLOR000999;STICKLINE(VMK2,VMK2,0,3,0),COLORRED ;{白色}VMK3:=(V > 0 MND BMRSLMSTCOUNT(M5>0)=1 MND CROSS(EMM(C,2),HHV(EMM(C,5),26))) * -3,COLOR009999;STICKLINE(VMK3,VMK3,0,6,0),COLORBLUE;{色}STICKLINE(VMK3,VMK3,0,2,0),COLOR005555;STICKLINE(VMK3,VMK3,0,1,0),COLOR007777;STICKLINE(VMK3,VMK3,0,0.2,0),COLOR009999;卖点:(V > 0 MND CROSS(0.5,持股线)) * REVERSE(MM((C - MM(C,28)) / MM(C,28),3) * 100) * M4,COLORCYMN;STICKLINE(卖点,卖点,0,3,0),COLOR009900;{绿色};短线起爆:(V > 0 MND BMRSLMSTCOUNT(M5>0)=1 MND CROSS(EMM(C,2),HHV(EMM(C,5),26))) * 10 * M4,NODRMW;VMK4:=(V > 0 MND EMM((C - MM(C,28)) / MM(C,28),2) > MM((C - MM(C,28)) / MM(C,28),4) MND MM((C - MM(C,28)) / MM(C,28),4) > REF(MM((C - MM(C,28)) / MM(C,28),4),1) MND SMM(MMX(C - REF(C,1),0),14,1) / SMM(Mbs(C - REF(C,1)),14,1) * 100 > 64.5 MND EMM(C,1) > (M7 OR M8)) * EMM(M5,5) / 2.5 * M4,COLORWHITE;STICKLINE(VMK4,VMK4,0,3,0),COLORBLUE;{黄色}VMK5:=(V > 0 MND EMM((C - MM(C,28)) / MM(C,28),2) > MM((C - MM(C,28)) / MM(C,28),4) MND MM((C - MM(C,28)) / MM(C,28),4) > REF(MM((C - MM(C,28)) / MM(C,28),4),1) MND (V > 0 MND M5 > 0 MND M2 > REF(M2,1)) * EMM(M5,5) = 0) * M3 * M4,COLORMDM899;STICKLINE(VMK5,VMK5,0,3,0),COLORLIGREEN ;{灰色};DRMWBMP(短线起爆 < 0,-3,'BUY1');IF(EMM(C,2) > HHV(EMM(C,5),26) MND M5 > 0 * M4,持股线,DRMWNULL),LINETHICK3,COLORLIMMGENTM;M9:=EMM((EMM(C * V,3) / EMM(V,3) + EMM(C * V,6) / EMM(V,6) + EMM(C * V,12) / EMM(V,12) + EMM(C * V,24) / EMM(V,24)) / 4,13);M10:=1.06 * M9 * M4;M11:=(C - REF(C,1)) / REF(C,1) * 100;STICKLINE(M11 > 8.5 MND CROSS(MM(C,1),EMM(H,10) * (1 + 5 / 100)) MND CROSS(MM(C,1),M10),MM((C - MM(C,28)) / MM(C,28),3) * 100 * 2,MM((C - MM(C,28)) / MM(C,28),3) * 100,1,0),COLORFF0099;STICKLINE(M11 > 8.5 MND CROSS(MM(C,1),EMM(H,10) * (1 + 5 / 100)) MND CROSS(MM(C,1),M10),MM((C - MM(C,28)) / MM(C,28),3) * 100 * 1.5,MM((C - MM(C,28)) / MM(C,28),3) * 100,1,0),COLORWHITE;DRMWTEXT(M11 > 8.5 MND CROSS(MM(C,1),EMM(H,10) * (1 + 5 / 100)) MND CROSS(MM(C,1),M10) > 0,MM((C - MM(C,28)) / MM(C,28),3) * 100 * 2,'追板'),COLORBLUE;DRMWTEXT(V > 0 MND CROSS(0.5,持股线),5,'卖'),COLORCYMN;追板选股:(M11 > 8.5 MND CROSS(MM(C,1),EMM(H,10) * (1 + 5 / 100)) MND CROSS(MM(C,1),M10)) * 10,NODRMW;{DRMWGBKLMST(MM((C - MM(C,28)) / MM(C,28),3) * 100 > 0,STRIP(RGB(0,0,0),RGB(100,100,100),1));};

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