平凡之路 发表于 2024-4-5 14:00:33

「每周福利贴」全网独一份通达信指标完整源码分享,入股不亏

<h2 data-first-child>哈喽大家周末好,牛二给大家带来本周的指标源码分享,绝对给大家粘贴完整,大家直接在文章里面复制使用就可以了,手机电脑都可以导入。话不多说,给大家粘贴源码!</h2><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><h2>选股器源码公式</h2><p ><b>通达信注意进半仓选股器</b></p><blockquote >YS1:=(HIGH+LOW+CLOSE*2)/4;<br/>RK3:=EMA(YS1,10);<br/>RK4:=STD(YS1,10);<br/>RK5:=(YS1-RK3)*100/RK4;<br/>RK6:=EMA(RK5,5);<br/>涨:=EMA(RK6,10)+100/2-5;<br/>跌:=EMA(涨,4);<br/>VAR11:=SUMBARS(VOL,FINANCE(7)*100);<br/>VAR22:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);<br/>VAR3:=(CLOSE-VAR22)/VAR22*100;<br/>VAR4:=HHV(VAR3,VAR11);<br/>VAR5:=LLV(VAR3,VAR11);<br/>VAR6:=(VAR3-VAR5)/(VAR4-VAR5)*100;<br/>K:=SMA(VAR6,3,1);<br/>D:=SMA(K,3,1);<br/>J:=3*K-2*D;<br/>MA1:=MA(J,3);<br/>注意进半仓:FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0;</blockquote><p ><b>通达信底部黑马之追涨选股器</b></p><blockquote >A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);<br/>黑马线:=EMA(A1,5);<br/>A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;<br/>趋势线:=(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2));<br/>A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;<br/>追涨:CROSS(黑马线,A5)AND 趋势线<80;</blockquote><p ><b>通达信CCI反转向上选股器</b></p><blockquote >TYP:=(HIGH+LOW+CLOSE)/3;<br/>CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));<br/>XG:REF(BETWEEN(CCI,-200,-300),1) AND CCI>REF(CCI,1);</blockquote><h2>通达信追涨停板强势选股器</h2><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><h2>通达信副图指标源码公式</h2><p ><b>通达信底部黑马副图指标</b></p><blockquote >A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);<br/>黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF;<br/>A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;<br/>A3:=EMA(C,5);<br/>A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;<br/>趋势线:(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,COLORYELLOW;<br/>A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;<br/>DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00;<br/>DRAWTEXT(CROSS(A1,黑马线)AND 黑马线<A5,黑马线,'黑马');<br/>DRAWTEXT(CROSS(黑马线,A5)AND 趋势线<80,黑马线,'追涨');<br/>DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,5,'大黑马');<br/>底部:(A2<-10 AND A2>REF(A2,1))*25,COLORRED;<br/>DRAWICON(底部 AND A3>REF(A3,1),25,4);<br/>机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0;<br/>大势已去:IF(CROSS(黑马线,A1)AND 黑马线>70 AND 趋势线>80,90,100),COLORFF9900;</blockquote><p ><b>通达信快速买卖副图指标</b></p><blockquote >P1:=5;<br/>P2:=4;<br/>80, POINTDOT;<br/>20, POINTDOT;<br/>VAR1:=LLV(LOW,P1);<br/>VAR2:=HHV(HIGH,P1);<br/>K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORFF9900 , ;<br/>D: EMA(0.667*REF(K,1)+0.333*K,2), ,;<br/>VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);<br/>VARD:=EMA(IF(C< EMA(C,250),VARC*1000,VARC*10),3);<br/>火焰山:EMA(IF(L<=LLV(L,30),VARD/2+HHV(VARD,30),0),3)/618;<br/>STICKLINE(火焰山>100,0,火焰山*1.2,8,0);<br/>STICKLINE(火焰山>100,0,火焰山,4,1);</blockquote><p ><b>通达信珍藏超跌副图指标</b></p><blockquote >BIAS1:=(C-MA(C,6))/MA(C,6)*100;<br/>BIAS2:=(C-MA(C,12))/MA(C,12)*100;<br/>BIAS3:=(C-MA(C,24))/MA(C,24)*100;<br/>0,LINETHICK5;<br/>1.25,LINETHICK5;<br/>TYP:=(HIGH+LOW+CLOSE)/3;<br/>CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));<br/>CCI修正1:=EMA(EMA(EMA(CCI,2),2),2);<br/>CCI修正2:=EMA(EMA(EMA(CCI,3),2),2);<br/>X:=(CROSS(CCI修正1,CCI修正2) OR (CCI修正1 >=CCI修正2))<br/>AND CCI修正1>=-101 AND CCI修正1>=REF(CCI修正1,1)<br/>AND REF(CCI修正1,1)<-101 ;<br/>RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;<br/>K:=SMA(RSV,3,1);<br/>D:=SMA(K,3,1);<br/>J:=3*K-2*D;<br/>K1:= EMA(EMA(EMA(K,2),2),2);<br/>D1:= EMA(EMA(EMA(D,2),2),2);<br/>J1:= EMA(EMA(EMA(J,2),2),2);<br/>Y:= J1 > REF(J1,1) ;<br/>DIFF:= EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK0;<br/>DEA:=EMA(DIFF,9),LINETHICK0;<br/>MACD:= 3*(DIFF-DEA);<br/>CD:=(DIFF>-0.15 AND DIFF>REF(DIFF,2));<br/>T超短: X AND Y AND CD STICK,COLORLIRED,LINETHICK3; ;<br/>短:IF(BIAS1<=-6,1,0)AND C>REF(C,1),STICK,COLORRED,LINETHICK3;<br/>中买:IF(BIAS2<=-10,1,0)AND C>REF(LLV(L,1),1),COLORYELLOW,LINETHICK3;<br/>长买:IF(BIAS3<=-16,1,0),COLORBLUE,LINETHICK3;</blockquote><h2>通达信盯盘分时主图指标源码公式</h2><blockquote >MA30:=EMA(CLOSE,30);<br/>强弱:=EMA(CLOSE,900);<br/>{-------------------------------------------------------------------------------------}<br/>H1:=MAX(DYNAINFO(3),DYNAINFO(5));<br/>L1:=MIN(DYNAINFO(3),DYNAINFO(6));<br/>P1:=H1-L1;<br/>阻力:L1+P1*7/8,COLORLIMAGENTA,DOTLINE;<br/>支撑:L1+P1*0.5/8,COLORCYAN,DOTLINE;<br/>中:(支撑+阻力)/2,COLORLIGRAY,POINTDOT;<br/>均价:=SUM(V*C,0)/SUM(V,0),COLORYELLOW,DOTLINE;<br/>现价:=CLOSE,COLORWHITE,LINETHICK1;<br/>DRAWTEXT(ISLASTBAR AND 现价,现价,STRCAT('←',CON2STR(现价,2))),COLORYELLOW;<br/>STICKLINE(CROSS(支撑,现价),支撑,中,0,-1),COLORYELLOW;<br/>STICKLINE(CROSS(现价,阻力),阻力,中,0,-1),COLORGREEN;<br/>DRAWTEXT(LONGCROSS(支撑,现价,2),C*0.9982,' 买'),COLORYELLOW;<br/>DRAWTEXT(LONGCROSS(现价,阻力,2),C*1.0018,' 卖'),COLORCYAN;<br/>STICKLINE(C<支撑,支撑,C,1,0),COLORYELLOW;<br/>DRAWICON(CROSS(支撑,现价),(支撑-中)/5+支撑,26);<br/>{DRAWICON(CROSS(现价,阻力),阻力-(支撑-中)/5,15);}<br/>DRAWTEXT(CURRBARSCOUNT=8,阻力+0.003,'顶'),COLORYELLOW;<br/>DRAWTEXT(CURRBARSCOUNT=8,支撑-0.003,'底'),COLORGREEN;<br/>DRAWTEXT(CURRBARSCOUNT=8,(支撑+阻力)/2,'中'),COLORLIRED;<br/>{--------------------}<br/>量价:=(VOL/CLOSE)/3;<br/>A2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);<br/>A3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);<br/>A6:=A2+A3;DD1:=1;比:=A2/A3;<br/>AAA1:=STRCAT(STRCAT('买= ',CON2STR((100*A2)/A6,0)),'%');<br/>AAA2:=STRCAT(STRCAT('卖= ',CON2STR((100*A3)/A6,0)),'%');<br/>AAA3:=STRCAT(STRCAT('差= ',CON2STR((100*(A2-A3))/A6,0)),'%');<br/>中期线:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;<br/>DRAWTEXT(比<1.1,中,'O'),COLORGREEN;<br/>DRAWTEXT(比>1.5,中,'O'),COLORCYAN;<br/>DRAWTEXT(比>2,中,'O'),COLORMAGENTA;<br/>DRAWTEXT(比>2.5,中,'O'),COLORRED;<br/>DRAWTEXT((比>1.1 AND 中期线<5),中,'O'),COLORWHITE;<br/>DRAWTEXT((比<1.1 AND 中期线>98.0),中,'O'),COLORWHITE;<br/>DRAWTEXT((比>1.1 AND 中期线<5),C,'-买'),COLORYELLOW;<br/>DRAWTEXT((比<1.1 AND 中期线>98.0),C,'-卖'),COLORYELLOW;<br/>{-------------------------------------------------------------------------------------}<br/>均价1:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;<br/>TT:=BARSCOUNT(C);均:=MA(C,TT);<br/>上均线:=均+2*STD(C,3);下均线:=均-2*STD(C,3);<br/>时长:=TIME>93000;涨幅:=C/REF(C,1)>1.02;跌幅:=C/REF(C,1)<0.98;<br/>横盘:=((HHV(C,TT)-LLV(C,TT))/C)<0.05;YY:=SMA(VOL,30,1);<br/>放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95;<br/>涨跌幅:=涨幅 OR 跌幅;<br/>横涨1:=涨跌幅=0 AND 横盘 AND 放量 AND CROSS(均价1,均);<br/>DRAWTEXT(FILTER(横涨1,10),均价1,'--突破'),COLORCYAN;<br/>DRAWICON(FILTER(横涨1,10),均价1,1);<br/>XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));<br/>主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);<br/>底:=1;1.02,NODRAW;高:=1.03;<br/>AA:=主力>大户 AND 主力>1.003 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60);<br/>DRAWICON(主力>大户 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60) AND 主力=HHV(主力,30) AND CROSS(主力,1.003),C,25);<br/>DRAWTEXT(主力>大户 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60) AND 主力=HHV(主力,30) AND CROSS(主力,1.003),C*0.999,'-主力'),COLORYELLOW;<br/>DRAWICON(CROSS(主力,1.02),C,26);<br/>DRAWTEXT(CROSS(主力,1.02),C*0.999,'-拉升'),COLORCYAN;<br/>DRAWICON(CROSS(主力,1.04),C,24);<br/>DRAWTEXT(CROSS(主力,1.04),C*0.999,'-冲涨停'),COLORLIMAGENTA;<br/>DRAWICON(CROSS(散户,主力),C,6);<br/>DRAWTEXT(CROSS(散户,主力),C*0.9995,'-小心'),COLORGREEN;<br/>DRAWICON(CROSS(散户,大户),C,6);<br/>DRAWTEXT(CROSS(散户,大户),C*0.9995,'-走弱'),COLORGREEN;<br/>{-------------------------------------------------------------------------------------}<br/>现手买:BUYVOL*DYNAINFO(7)*100/10000 COLOR0000FF,NODRAW;<br/>现手卖:SELLVOL*DYNAINFO(7)*100/10000 COLOR00FF00,NODRAW;<br/>合:=ABS(现手买)+ABS(现手卖)COLOR80FFFF,NODRAW;<br/>差:=ABS(现手买)-ABS(现手卖)COLOR80FFFF,NODRAW;<br/>MPB1:=ABS(现手买)/合*100;<br/>MPB2:=ABS(现手卖)/合*100;<br/>TESTSKIP(NOT(现手买 OR 现手卖 OR 合 OR 差 OR MPB1 OR MPB2)!=0);<br/>DRAWRECTREL(595,1000,795,940,RGB(0,128,0));<br/>DRAWRECTREL(595,995,795,945,RGB(0,148,0));<br/>DRAWRECTREL(595,990,795,950,RGB(0,168,0));<br/>DRAWRECTREL(595,985,795,955,RGB(0,188,0));<br/>DRAWRECTREL(595,980,795,960,RGB(0,208,0));<br/>DRAWRECTREL(595,975,795,965,RGB(0,228,0));<br/>DRAWRECTREL(595,970,795,970,RGB(0,248,0));<br/>DRAWRECTREL(595,1000,595+现手买*210/合,940,RGB(128,0,0));<br/>DRAWRECTREL(595,995,595+现手买*210/合,945,RGB(148,0,0));<br/>DRAWRECTREL(595,990,595+现手买*210/合,950,RGB(168,0,0));<br/>DRAWRECTREL(595,985,595+现手买*210/合,955,RGB(188,0,0));<br/>DRAWRECTREL(595,980,595+现手买*210/合,960,RGB(208,0,0));<br/>DRAWRECTREL(595,975,595+现手买*210/合,965,RGB(228,0,0));<br/>DRAWRECTREL(595,970,595+现手买*210/合,970,RGB(248,0,0));<br/>DRAWRECTREL(595+现手买*210/合,940,595+现手买*210/合,1000,RGB(128,0,0));<br/>DRAWRECTREL(795,940,795,1000,RGB(0,0.0,10));<br/>DRAWRECTREL(594.8,939.8,594.8,1000,RGB(0,0,10));<br/>DRAWRECTREL(594.8,939.8,594.8,939.8,RGB(0,0,10));<br/>DRAWRECTREL(594.8,1000,594.8,1000,RGB(0,0,10));<br/>DRAWTEXT_FIX(1,0.560,0.89,0,STRCAT(STRCAT('',CON2STR(现手买,1)),'万')),COLORRED;<br/>DRAWTEXT_FIX(1,0.800,0.89,0,STRCAT(STRCAT('',CON2STR(现售卖,1)),'万')),COLORGREEN;<br/>DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(差)>0,0.678,0.888,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLORRED;<br/>DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(差)<0,0.678,0.888,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLORGREEN;<br/>DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(差)=0,0.678,0.888,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR80FFFF;<br/>DRAWTEXT_FIX(1,0.800,0.98,0,STRCAT(STRCAT(' ',CON2STR(MPB2,1)),'%')),COLORGREEN;<br/>DRAWTEXT_FIX(1,0.560,0.98,0,STRCAT(STRCAT('',CON2STR(MPB1,1)),'%')),COLORRED;<br/>{-------------------------------------------------------------------------------------}<br/>D1:=YEAR AND MONTH AND DAY;<br/>AA1:=STRCAT(CON2STR(YEAR,0),'年');<br/>AA2:=STRCAT(CON2STR(MONTH,0),'月');<br/>AA3:=STRCAT(CON2STR(DAY,0),'日');<br/>AA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));<br/>AAC:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),'');<br/>DRAWTEXT_FIX(D1,0.888,0.001,0,AAC),COLORLIGRAY;<br/>{-------------------------------------------------------------------------------------}<br/>MZ0:=(BARSLAST(((HOUR=9) AND (MINUTE=31)))+1);<br/>上穿分时:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*HHV(CLOSE,0)),0))),DRAWNULL),LINETHICK1,COLORLIRED;<br/>底支:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*LLV(CLOSE,0)),0))),DRAWNULL),LINETHICK1,COLORLIGREEN;<br/>STICKLINE(TIME=931 OR TIME=1000,上穿分时,底支,0,-1),COLORLIBLUE;<br/>分时上突:=CROSS(C,上穿分时);<br/>上突:=C<上穿分时 AND 上穿分时>底支;<br/>股价支撑线:=MA(CLOSE,20);<br/>底价线:=股价支撑线-2*STD(CLOSE,20),COLORMAGENTA,LINETHICK2;<br/>VAR106:=BARSCOUNT(CLOSE);<br/>VAR107:=MAX(DYNAINFO(3),DYNAINFO(5));<br/>VAR108:=MIN(DYNAINFO(3),DYNAINFO(6));<br/>VAR109:=VAR107-VAR108;<br/>VAR110:=VAR108+VAR109*7/8;<br/>VAR111:=VAR108+VAR109*0.5/8;<br/>DRAWICON(LONGCROSS(VAR111,CLOSE,2),CLOSE,1);<br/>DRAWICON(LONGCROSS(CLOSE,VAR110,2),CLOSE,2);</blockquote><h2>自用指标组合(长短线皆可使用)</h2><p >主图是波段短线,短买离场信号都很清晰。副图大鱼吃小鱼,在鱼嘴处是买入提示点,另外翻天印是很强烈的买入信号。我自己经过测试是很准确的,大家可放心买入。</p><p class="ztext-empty-paragraph"><br/></p><p ><b>指标并非万能,但是指标的导向作用不言自明,因此拥有一个好指标,将为你判断个股走势起大作用,并助力盈利!如对文中指标感谢的可以“私信”我发送关键字“指标”,找我免费领取!</b></p>
页: [1]
查看完整版本: 「每周福利贴」全网独一份通达信指标完整源码分享,入股不亏