通达信成功率高的选股指标公式

合集下载

【通达信】网上高成功率选股公式(全部源码提供)

【通达信】网上高成功率选股公式(全部源码提供)

【通达信】网上高成功率选股公式(全部源码提供)网上高成功率选股公式公式名称:铁底***** (五星级)公式类型:买点公式默认周期:日默认参数:input:M(25,2,45);a:=indexc/ma(indexc,58)<0.848 and c/ema(c,58)<0.81;b:=barslast(a)+1;d:=between(b,2,M) and c<ref(c,b);count(a,2) or d;{说明:如默认参数的测试结果不能满足要求,可降低M的取值,直至符合要求;反之,可调高M,以提高信号次数。

}交易次数3298-胜率50.45-成功率82.18/////////////////////////////////// {秋风扫落叶}***** (五星级)Var1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Var2:=REF(HIGH,10)/CLOSE>1.35;Var3:=(COST(20)-CLOSE)/CLOSE>0.15;Var4:=HIGH>LOW*1.051;秋风扫落叶:=Var4 AND COUNT(Var4,5)>1;KKDDJ来了:(((CLOSE-Var1)/Var1*100<-30) or Var2) and Var3 and 秋风扫落叶;//////////////////////////////////公式类型:高成功率默认周期:日默认参数input:N(22,1,30),N2(5,1,10),N3(3,1,5),N4(-30,-50,0);:原码:input:N(22,1,30),N2(5,1,10),N3(3,1,5),N4(-30,-50,0);Var1:=IF(DATE>=1090608,0,1);Var2:=CLOSE<0.98*REF(CLOSE,1);Var3:=OPEN<REF(CLOSE,1);Var4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100*Var1; Var5:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100*Var1; Var6:=MA(COST(N)/LOW,N3);Var7:=Var6>1.5 AND Var4>N2 AND Var5<N4;Q: Var7 AND (COUNT(Var7,10) AND Var2 ORCOUNT(Var7,20) AND Var3*Var1);交易次数239-胜率51.05-成功率-93.77///////////////////////////////////////好公式不需要复杂的,s01:=c/ma(c,40)<0.74;s02:=(h-l)/ref(c,1)>0.05;s03:=count(s02,5)>1;s01 and s02 and s03;交易次数3829-胜率39.31-成功率80.06///////////////////////////////////////公式名称:乖离选股公式类型:买点公式默认周期:日线(CLOSE-REF(CLOSE,2))/REF(CLOSE,2)>=0.2 AND(CLOSE-REF(CLOSE,2))/REF(CLOSE,2)<=0.27 AND(CLOSE-REF(CLOSE,10))/REF(CLOSE,10)>=0.3 ANDCLOSE=HHV(HIGH,60) ;交易次数633-胜率60.82-成功率72.56//////////////////////////////////////公式名称:百年一遇公式类型:买点公式默认周期:日线Var1:=(CLOSE-REF(CLOSE,24))/REF(CLOSE,24)*100;CROSS(Var1,MA(Var1,12)) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 ANDCLOSE/OPEN>=1.05 AND Var1<-25;交易次数65-胜率60.00-成功率93.85/////////////////////////////////////公式名称:神奇黑码公式类型:买点公式默认周期:日线Var1:=INDEXC;Var2:=MA(Var1,6);Var3:=MA(Var1,24);Var4:=MA(Var1,32);Var5:=MA(Var1,62);Var6:=MA(Var1,105);Var7:=Var5<REF(Var5,1) AND Var6<REF(Var6,1) AND Var5<Var6*0.98;Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;VarA:=CLOSE/MA(CLOSE,48)*100<67;VarB:=CLOSE/MA(CLOSE,50)*100<69;VarC:=HIGH>LOW*1.078;VarD:=VarC AND COUNT(VarC,4)>2;VarD AND (VarA OR VarB) or Var7 AND Var8AND Var9 AND CLOSE/COST(8)<=0.8 AND(CLOSE>OPEN OR CLOSE<OPEN)AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));交易次数1214-胜率46.05-成功率90.99////////////////////////////////公式名称:czm公式类型:买点公式默认周期:日线A1:=C/REF(C,1)>1.04;A2:=C/HHV(H,34)<0.7;A3:=MAX(FORCAST(COST(24)/L,3),SMA(COST(24)/L,3,1)) >1.39 ;A4:=LOW=LLV(LOW,10) ORREF(LOW,1)=LLV(REF(LOW,1),30) ORREF(LOW,2)=LLV(REF(LOW,2),30);买:A1 AND A2 AND A3 and A4;交易次数857-胜率45.27-成功率85.83///////////////////////////////////公式名称:czm公式类型:买点公式默认周期:日线Var1:=CLOSE/REF(CLOSE,1)>1.055;Var2:=OPEN=LOW AND HIGH=CLOSE;Var3:=VOL<MA(VOL,3) AND VOL<REF(VOL,3);J1:=STRCMP(LowerSTR(STRLeft(STKName,2)),''st'')=0;J2:=STRCMP(LowerSTR(STRLeft(STKName,2)),''pt'')=0;J3:=STRCMP(LowerSTR(STRLeft(STKName,3)),''*st'')=0; J4:=STRCMP(LowerSTR(STRLeft(STKName,3)),''*pt'')=0; JJ:=J1 or J2 or J3 or J4;去除PTST股:=88*(JJ=0);Var1 AND Var2 AND Var3 AND COUNT(Var1 AND Var2 AND Var3,4)=1 and 去除PTST股;交易次数397-胜率68.51-成功率76.83////////////////////////////////////公式名称:必涨公式类型:买点公式公式说明:默认周期:日默认参数:a1:=c*1.2<ma(c,60);a2:=c/ref(c,1)>1.03;a1 and a2交易次数7234-胜率34.14-成功率68.13//////////////////////////////////////公式名称:czm公式类型:买点公式默认周期:日线C/REF(C,1)>1.038 AND V/REF(V,1)<0.33;交易次数734-胜率65.67-成功率71.56//////////////////////////////////////公式名称:czm公式类型:买点公式默认周期:日线Var1m:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;Var2m:=(EMA(CLOSE, 3)-EMA(CLOSE, 8))*100;庄:Var2m<12 ANDVar1m>15,stick,ColorFFFFFF,linethick2;交易次数199-胜率53.77-成功率77.13////////////////////////////////////抄底:if(SLOPE(CLOSE,30)/REF(CLOSE,30)<-0.01,-1.5,0);交易次数8834-胜率35.34-成功率70.35/////////////////////////////////////公式名称:买入必涨公式类型:买点公式默认周期:日线买入必涨:((((CLOSE / REF(CLOSE,1)) >= 1.07) AND ((HIGH / CLOSE) < 1.005)) AND ((MA (CLOSE,90) / CLOSE) >1.48));交易次数253-胜率56.92-成功率82.29///////////////////////////////////{过山车1}Var0:=SMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30)),3,1);Var1:=SMA(Var0,3,1)*100;Var2:=MA(Var1,7);IF Var2>REF(Var2, 1) and REF(Var2, 1)<REF(Var2, 2) and ref(c,BARSLAST(REF(Var2,1)>REF(Var2, 2) ))>1.4*c THENBUY(100%);ELSE IF Var2<REF(Var2, 1) THEN SELL(100%);此为交易系统公式,我修改为如下买点公式Var0:=SMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30)),3,1);Var1:=SMA(Var0,3,1)*100;Var2:=MA(Var1,7);XG:IF(Var2>REF(Var2, 1) and REF(Var2, 1)<REF(Var2, 2) and ref(c,BARSLAST(REF(Var2, 1)>REF(Var2,2) ))>1.4*c,1,0);交易次数557-胜率33.03-成功率75.72//////////////////////////////////公式名称:追涨公式类型:买点公式默认周期:日线C/REF(C,1)>1.06 AND C=H AND V/REF(V,1)<1;交易次数2251-胜率57.17-成功率70.35公式名称:轻松追涨公式类型:买点公式默认周期:日默认参数:无a:=c/ref(c,1)>=1.09;b:=o=l and h=c;d:=v < ma(v,5) and v < ref(v,1);a andb and d and count(a and b and d,20)=1;此式有一部分信号介入成本较高!交易次数369-胜率78.05-成功率-82.66/////////////////////////////////////公式名称:金钱豹公式类型:买点公式默认周期:日默认参数:涨跌幅N -30 -50 0涨跌N3 5 1 10量比N2 1 1 10 Var1:=IF(DATE>=1021231, 0, 1);Var2:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100; Var3:=MA(CLOSE, 60);Var4:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100; Var5:=(CLOSE-Var3)/Var3*100;Var6:=VOL/MA(VOL, 5)>量比N2;A:(OPEN/REF(CLOSE, 1)>=0.980 AND Var5<涨跌幅N AND Var4>涨跌N3)*Var1;交易次数536-胜率54.85-成功率80.93//////////////////////////////////////公式名称:钱途无量公式类型:买点公式默认周期:日默认参数:(无)原码:HLP:=WINNER(CLOSE)*100;V AR1:=(WINNER(C*1.25)-WINNER(C))*100;HLP<10 AND V AR1<20 AND C/REF(C,1)>1.05 AND V/REF(V,1)<1;交易次数471-胜率62.21-成功率-87.24///////////////////////////////////////Var1:=EMA(WINNER(CLOS E)*70,3);Var2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))* 80,3);Var3:=CLOSE/MA(CLOSE,40)*100<76;Var4:=CLOSE/MA(CLOSE,60)*100<74;Var5:=HIGH>LOW*1.051;Var6:=Var5 AND COUNT(Var5,5)>1;may1:=Var6 AND (Var3 OR Var4) AND Var2<20 ANDVar1<20AND(WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;may2:=if(ref(may1,1)or ref(may1,2) ,(close/ref(close,1)<0.95 or close/ref(close,2)<0.95 ),1);may:may1 and may2;交易次数1787-胜率45.78-成功率87.67/////////////////////////////////原码如下:A11:=MA(C,55);A12:=REF(A11,1);A13:=HHV(A11,7);A14:= HHV(A11,13);A1:=IF(A11<A12 AND A13=A14,1,0);A2:=IF(A11>1.0015*A12,1,0);A41:=MA(C,12);A42:=REF(A41,1);A4:=IF(A41>1.003*A4 2,1,0);A5:=IF(A2=1 OR A4=1,1,0);RSV:=(C-LLV(L,3))/(HHV(H,3)-LLV(L,3))*100;K:=SMA(RSV,2,1);D:=SMA(K,2,1);A31:=IF(MA(C,40)>MA(C,20) ANDMA(C,20)>MA(C,10) ANDMA(C,10)>MA(C,5),1,0);A32:=COUNT(A31=1,7);A33:=C OUNT(A31=1,21);A3:=IF(A32=7,1,0);a341:=ma(c,34);a342:=ref(a341,1);a34:=if(a341>1.0005*a34 2,1,0);LC := REF(C,1);BIAS0 := (C-MA(C,2))/MA(C,2)*100;BIAS1 := (C-MA(C,3))/MA(C,3)*100;BIAS2 := (C-MA(C,7))/MA(C,7)*100;bia:=bias1+bias2;DR4:=COUNT(BIAS2<-7.8,10);DR5:=COUNT(BIAS1<-2.91,10);DR6:=COUNT(BIAS1<-2.1,10);DR8:=COUNT(BIAS1<-4,10);DR9:=IF(DR6>=4 ANDDR8>=3,1,0);DR7:=IF(DR5>=4 OR DR6>=5 OR DR9=1,1,0);HC:=HHV(C,10); HC3:=hhV(C,16); hc2:=hhv(c,7);DYF:=IF(HC/c>1.19 or hc3/c>1.26 orhc2/c>1.17,3,0);BUY1:=IF(A3=1 AND DYF=3 AND C<LC ANDO>C,6,0);BUY2:=IF(a1=0 and DR7=1 AND DYF=3 AND C<LC AND O>C and bias0<-1,9,0);ZHBUY:=IF(BUY1=6 AND BUY2=9,1,0);BUY3:=IF(ZHBUY=1 AND A1=0 and bias0<-(26/10) and v<3*ma(v,55) and v>0.3*ma(v,55),12,0);yxhb:count(buy3,5)>0 and cross(k,d) and c>o;交易次数1401-胜率51.11-成功率81.66///////////////////////////////////公式名称:铁底公式类型:买点公式默认周期:日默认参数:无原码:var1:=(indexc-MA(indexc,58))/MA(indexc,58)<-0.152;var2:=(C-EMA(C,58))/EMA(C,58)<-0.19;count(var2 and var1,2);交易次数2015-胜率51.75-成功率87.17////////////////////////////////////////公式名称:耍无赖参数:已固化周期:日线原码:自编用法:出信号即买入BIAS0:= (C-MA(C,2))/MA(C,2)*100; BIAS1 := (C-MA(C,12))/MA(C,12)*100; BIAS2 := (C-MA(C,26))/MA(C,26)*100; BIAS3 := (C-MA(C,48))/MA(C,48)*100; hxl:=v/capital*100;d1:=INDEXC;d2:=MA(d1,13);dr2:=d2>1.050*d1;E1:=(C-hhv(c,12))/hhv(c,12)*10;E2:=(C-REF(c,26))/REF(c,26)*10;e3:=ma(c,3);sj1:=dr2;sj2:=e2<-2.30;sj3:=bias0<-2.7;sj5:=sj1 and sj2 and sj3;sj6:=cross(0.5,sj5);js1:=cross(sj6,0.5);js2:=barslast(js1=1);js3:=js2<=5 and c<ref(c,js2);sj6 or js3;交易次数2624-胜率53.16-成功率82.91/////////////////////////////////公式名称:豪情万丈公式类型:买点公式公式说明:默认周期:日线A2:=(CLOSE-REF(OPEN,19))/REF(OPEN,19)*100;A3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;A4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;A5:=LWINNER(100,CLOSE)*100;A6:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45) )*100;A7:=SMA(A6,3,1);A8:=SMA(A7,3,1);A9:=3*A7-2*A8;AA:=COUNT(CROSS(A7,A8) AND A8<8 AND A3>8 AND A4<-30,20);AB:AA OR AA AND A3<3;交易次数1106-胜率48.64-成功率90.71////////////////////////////////公式名称:大底公式类型:买点公式公式说明:默认周期:日线{参数描述:N1(1,22,10)N2(1,15,10)N3(-50,0,-30)N4(1,10,8)}Var2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;Var3:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;Var4:=VOL/MA(VOL,5);Var5:=WINNER(CLOSE)*100;Var6:=VOL/CAPITAL*100;Var7:=LLVBARS(LOW,50);Var8:=SUM(VOL,Var7);Var9:=HHVBARS(HIGH,50);VarA:=SUM(VOL,Var9);VarB:=(CLOSE-REF(OPEN,Var9))/REF(OPEN,Var9)*100; VarC:=VarA/CAPITAL*100;VarD:=(CLOSE-REF(OPEN,Var7))/REF(OPEN,Var7)*100; VarE:=Var8/CAPITAL*100;VarF:=(HIGH+LOW+CLOSE)/3;Var10:=(VarF-MA(VarF,14))/(0.015*A VEDEV(VarF,14));Var11:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW, 45))*100;Var12:=SMA(Var11,3,1);Var13:=SMA(Var12,3,1);Var14:=3*Var12-2*Var13;Var15:=CLOSE< REF(CLOSE,1);Var16:=OPEN< REF(CLOSE,1);Var17:=(Var13< N2 AND Var3< N3 AND Var2>N4 AND Var10<-107);Q:= Var17 OR COUNT(Var17,N1) AND Var15 OR COUNT(Var17,N1) AND Var16;AAA:=FILTER(Q,20);大底:IF(AAA,81,0);交易次数131-胜率50.38-成功率97.74//////////////////////////////公式名称:牛刀小试公式类型:买点公式公式说明:默认周期:日线par1:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;par2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS( CLOSE-REF(CLOSE,1)),3,1)*100>16;par3:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(L OW,27));par1 AND par2 AND CROSS(par3,79) AND(OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)<0.05 ANDVOL>MA(VOL,23);交易次数290-胜率48.97-成功率81.54///////////////////////////////公式名称:001公式类型:买点公式默认周期:日线(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100<-10 ANDREF(CLOSE,2)/REF(OPEN,2)<0.95 ANDREF(OPEN,1)<REF(CLOSE,2) ANDABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 ANDCLOSE>REF(CLOSE,2);交易次数68-胜率64.71-成功率85.51///////////////////////////////公式名称:003公式类型:买点公式默认周期:日线Var1:=(CLOSE-REF(CLOSE,24))/REF(CLOSE,24)*100;CROSS(Var1,MA(Var1,12)) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 ANDCLOSE/OPEN>=1.05 AND Var1<-25;交易次数70-胜率61.43-成功率-94.29//////////////////////////////////公式名称:黑码公式公式类型:买点公式默认周期:日线ref(hhv(HIGH,60)=hhv(HIGH,96),0)and ref(vol/CAPITAL,0)*100<1.16and ref(CLOSE,0)/ref(CLOSE,1)>1.07and ref(CROSS(hhv(HIGH,1),hhv(HIGH,96)),1)and hhv(HIGH,1)/hhv(HIGH,96)=1;交易次数36-胜率69.44-成功率77.78/////////////////////////////////////式类型:005公式类型:买点公式默认周期:日线Var1:=DMA(CLOSE,VOL/SUM(VOL,15));Var2:=(CLOSE-Var1)/Var1*100;Var3:=(WINNER(CLOSE*1.31)-WINNER(CLOSE))*103<1 0;Var4:=Var2<-7;Var3 AND Var4 AND CLOSE>REF(CLOSE,1);交易次数2075-胜率49.40-成功率-82.29//////////////////////////////////公式类型:006公式类型:买点公式默认周期:日线Var1:=(MA(VOL,1) / MA(VOL,27));Var2:=(VOL*100 / CAPITAL);Var3:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);Var4:=((((0.005 * Var3) - (0.007 * Var1)) - (0.0057 * Var2)) - 0.01);Var5:=((((0.002 * Var3) - (0.013 * Var1)) + (0.0175 * Var2)) - 0.007);((((0 - (10* Var4)) - Var5) + 0.321) < 0);交易次数1091-胜率57.29-成功率79.75////////////////////////////////////公式名称:抄底骑马公式公式类型:买点公式默认周期:日线if(hhv(high/hhv(high,96),60)=1,CLOSE/ref(CLOSE,1)>1.08and vol/CAPITAL*100<1.16 and ref(high/hhv(high,96),1)=1andhigh/hhv(high,96)=1,llv(llv(low,60),12)=1.00and ref(low/llv(low,12),1)>1.00<1.16);交易次数88-胜率69.32-成功率84.18////////////////////////////////////名称:筹码底部类型:买点参数:N=27 ,N2=8,N3=-29,N4=14周期:日Var1:=(CLOSE-REF(OPEN, N))/REF(OPEN, N)*100;Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;Var3:=WINNER(CLOSE*1)*100;Var4:=EMA(Var3, 4);Var5:=CLOSE<0.980*REF(CLOSE, 1);Var6:=OPEN<REF(CLOSE, 1);Var7:=(Var2>Var4 AND Var1<N3 AND Var2>N2);CM:Var7 OR (COUNT(Var7, N4) AND Var5 OR COUNT(Var7, N4) AND Var6);去掉问题股和除权股:dt:=ref(c,3)/c>1.28 ;cq:=(ref(c,1)/c>1.11)*7;xh:= hhv(dt,5)>0 or hhv(cq,30)>0;cys13:="cys13.cys13";not(xh) and cys13<-16 {秋风扫落叶}Var1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Var2:=REF(HIGH,10)/CLOSE>1.35;Var3:=(COST(20)-CLOSE)/CLOSE>0.15;Var4:=HIGH>LOW*1.051;秋风扫落叶:=Var4 AND COUNT(Var4,5)>1;KKDDJ来了:(((CLOSE-Var1)/Var1*100<-30) or Var2) and Var3 and 秋风扫落叶;close/(ema(ema((c+l+h)/3,3),26)*0.9)<0.95 ;一个几万次信号的抄底公式.10天5%,成功率80%,左右.信号量特别大.优化空间也比较大.除去问题股外.2003年操作也很好.理解:底部无非两特征:1.股价超跌(本指标描述)2.集体超跌.(信号量大)本指标可测大盘超跌,大盘超跌了.也不必用它选股了.交易次数1716-胜率50.99-成功率90.41底部神探条件选股公式:底部神探缺省周期:日线============================================== =========================================INDEXC*1.07<HHV(INDEXC,10) ANDCOUNT(INDEXC<REF(INDEXC,1),10)>=6 AND COUNT(INDEXC<INDEXO,10)>=6 ANDCOUNT(INDEXL*1.02>INDEXC,3)=3 ANDCOUNT(INDEXC>INDEXO*1.01,3)=0 ANDCOUNT(INDEXC>INDEXO*1.02,5)=0 ANDINDEXC<MA(INDEXC,60) ANDCLOSE*1.35<HHV(CLOSE,20) ANDCLOSE*1.45>HHV(CLOSE,20) ORINDEXC*1.07<HHV(INDEXC,7) ANDCOUNT(INDEXC<REF(INDEXC,1),7)>=5 ANDCOUNT(INDEXC<INDEXO,7)>=5 ANDCOUNT(INDEXL*1.02>INDEXC,3)=3 ANDCOUNT(INDEXC>INDEXO*1.01,3)=0 ANDCOUNT(INDEXC>INDEXO*1.02,5)=0 ANDINDEXC<MA(INDEXC,60) AND(REF(CLOSE,7)-CLOSE)/CLOSE>(HHV(INDEXC,7)-IND EXC)/INDEXC AND CLOSE*1.3<HHV(CLOSE,20) AND CLOSE*1.45>HHV(CLOSE,20) ANDCOUNT(CLOSE>LOW,2)>=1 ANDCOUNT(VOL>MA(VOL,20)*3,10)<1 ANDCOUNT(CLOSE>OPEN*1.01,3)=0 ANDCOUNT(CLOSE>OPEN*1.02,5)=0;============================================== =========================================股票论坛。

通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标

通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标

通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标1 超级指标指标公式:买卖提示非常明显(适合通达信)指标源码如下:M:3 100 60N 3 100 30散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;主力线:EMA(J,6),COLORYELLOW;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=IF(VAR8>100,100,VAR8);吸筹:STICKLINE(VAR9>-120,0,VAR9,2,5),COLORMAGENTA;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2;AA6:=SMA(AA3,21,8);买观注: STICKLINE(走势-AA6<-65,0,7,15,1);DRAWICON(FILTER(J>REF(J,1)AND 走势>=REF(走势,1)AND 走势<25 ,5),走势,4);卖观注: STICKLINE(走势-AA6>85,98,90,15,1),COLORFFFF00;DRAWICON(FILTER(J<REF(J,1)AND 走势<=REF(走势,1)AND J>85 ,5),J,5);DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K日:SMA(RSV1,3,1),COLORWHITE;D日:SMA(K日,3,1),COLORYELLOW;J日:3*K日-2*D日,COLORFF00FF;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J日,底部),底部,1);2 精准买卖支撑价:LLV(LOW,19),LINETHICK2 , COLOR00FF00;阻力价:HHV(HIGH,19),COLORBLUE, LINETHICK2;VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);VAR2:=EMA(VAR1,9);VAR3:=(CLOSE*2.5/100+CLOSE);VAR4:EMA(C,3);VAR5:=LLV(HIGH,240);VAR6:=100*(CLOSE-VAR5)/VAR5;VAR7:=REF(LLV(CLOSE,480),1);VAR8:=REF(HHV(CLOSE,480),1);VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;VARE:=VARC>98.5 OR VARD>98.5;VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;VAR13:=VARA=0 AND VARC=0 AND VAR6<0;VAR14:=VARA=100 AND VARC=100;VAR15:=VARB=0 OR VARD=0 AND VAR9<0;VAR16:=VARB=100 AND VARD=100;VAR17:=VAR6<0 AND VAR9<0;VAR18:=VAR13 AND VAR15;VAR19:=VAR14 AND VAR16;VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;VAR1D:=BARSCOUNT(CLOSE);VAR1E:=VAR1B<20 AND VAR1C<23 AND VAR1D>35;VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;VAR20:=REF(CLOSE,1);VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;VAR23:=BARSCOUNT(CLOSE);VAR24:=VAR21<20 AND VAR22<23 AND VAR23>35;VAR25:=VARA=0 AND VARF<1.2 AND VAR17;VAR27:=VAR18 AND VARF<1.2 AND VAR17;VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)<150;VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;买点:=VAR25 AND VAR2B;绝对卖点:=(VAR19 OR VARA)AND VARF>23 OR VARE ;VAR2D:=VAR1F AND VAR2C AND VAR25;股海万元户:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86 AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND CLOSE<20.45 OR CLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 ANDCLOSE<6.28 OR CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));DRAWTEXT(FILTER(绝对卖点>0,3),H,'别贪'), COLOR00FF00;DRAWTEXT(股海万元户>0,L,'☆追涨'),COLORYELLOW ;DRAWICON(买点>0,L,4);DRAWTEXT(买点>0,L,'扫描神针'),COLORF00FF0;DRAWTEXT(VARF<0.7 AND VAR27 AND VAR25>0,L,'万元'),COLORYELLOW;STICKLINE(VAR2D>0,O,C,10,0), COLORRED;DRAWTEXT(VAR2D>0,L,'大方神针'),COLORRED;DRAWICON(COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.98,5);DRAWICON(FILTER(COUNT(VAR6<0,5)ANDCROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,1);DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)ANDVAR4<REF(VAR4,1)AND VARF>17 AND VAR1>VAR2,5),H,2);DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,15);DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K日:SMA(RSV1,3,1),COLORWHITE;D日:SMA(K日,3,1),COLORYELLOW;J日:3*K日-2*D日,COLORFF00FF;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J日,底部),底部,1);3 绝世指标GLL:-4;顶:80,COLORFFA500;大顶:100,COLORBLUE;VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;VAR2:=SMA(VAR1,10,1);慢速:SMA(VAR2,5,1),COLORRED;RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FATK:=SMA(RSV1,3,1);形态:SMA(FATK,3,1),COLORBB24DB;VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:=SMA(VARA,3,1);VARC:=SMA(VARB,3,1);加速: EMA(3*VARB-2*VARC,3),COLORYELLOW;底:6,COLOR00BF00;大底:-6,COLOR007300;VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;买入:=VAR11 AND VAR22,STICK,LINETHICK2,COLORRED;VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;卖出:=CROSS(80,VAR4),STICK,LINETHICK2,COLORGREEN;{波段介入点}A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;波段介入点:IF(A2<19,19,0)COLORWHITE;。

通达信成功率高的选股指标公式

通达信成功率高的选股指标公式

通达信成功率高的选股指标公式代码集{逆势买入}Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);Var3b:=(CLOSE-Var1b)/Var1b*100<-8;Var4b:=(Var1b-Var2b)/Var2b*100<-21;逆势买入:if(V ar3b AND Var4b AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,col orf00ff0;drawtext(逆势买入,40,'逆势买入'),colorf0f000;============================{龙战四海:99%成功率,选股条件:龙战四海=65}Var1c:=REF(OPEN,1)<REF(OPEN,2);Var2c:=REF(CLOSE,1)<REF(CLOSE,2);Var3c:=REF(LOW,1)<REF(LOW,2);Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03; Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;Var7c:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var8c:=REF(CLOSE,1);Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5, 1)*100;VarA:=COUNT(Var9c<20,20)>=1;VarB:=Var7c AND VarA;龙战四海:if(VarB AND Var6c,65,0),colorf0f000;drawtext(龙战四海,55,'龙战四海'),colorf00ff0;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。

史上胜率最高的选股公式,成功率均达85%以上

史上胜率最高的选股公式,成功率均达85%以上

史上胜率最高的选股公式,成功率均达85%以上1、通达信分时指标公式——高抛低吸AAA:=MAX(DYNAINFO(3),DYNAINFO(5));BBB:=MIN(DYNAINFO(3),DYNAINFO(6));CCC:=AAA-BBB;中轨:=(AAA+BBB)/2,COLOR999900;DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);DEAA:=EMA(DIFF,9);MACD:=(DIFF-DEAA)/4;STICKLINE(MACD>=REF(MACD,1)AND MACD<=0,中轨,中轨+MACD,2,1),COLOR009999;STICKLINE(MACD>REF(MACD,1)AND MACD>=0,中轨,中轨+MACD,2,1),COLOR0000DD;STICKLINE(MACD<0,中轨,中轨+MACD,2,0)COLORDDDD00;STICKLINE(MACD0,中轨,中轨+MACD,2,0),COLORDDDD00;阻力:BBB+CCC*7/8,COLOR00DD00;支撑:BBB+CCC*1/8,COLOR00DD00;上顶:BBB+CCC*2/3,COLOR999900;下底:BBB+CCC/3,COLOR999900;价:C,COLOR00FFFF;2、竞价量比选股公式lt:=(CAPITAL/100)/10000<=10;ZF:=OPEN/ref(CLOSE,1);A1:=ZF>=1.00 and ZF<1.05;换手:=VOL/CAPITAL*100;换5:=MA(换手,5);涨停:=CLOSE/ref(CLOSE,1)>1.095;TS:=BARSLAST(涨停);QJ:=BETWEEN(TS,1,10);tj:=BARSSINCE(v)+1=1;zq:=BARSLAST(tj);量比:=if(tj,sum(v,0)/DYNAINFO(38)*240,ref(sum(v,0)/DYNAINFO(38 )*240,zq));XG:lt and A1 and ref(换5,1)<3 and 换手>3 and 量比>20;{或:XG:lt and A1 and ref(换5,1)<3 and 换手>3 and QJ and 量比>20;}3、翻倍黑马选股公式MA5:=MA(C,5);MA24:=MA(C,24);均量5:=MA(VOL,5);均量60:=MA(VOL,60);DIFF:=EMA(CLOSE,10)-EMA(CLOSE,20);DEA:=EMA(DIFF,7);MACD:=2*(DIFF-DEA);启动点:IF(CROSS(MA5,MA24) AND 均量5>均量60 AND MACD>0 AND DIFF>DEA,8,0);4、KDJ天下无敌选股公式RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;K:=SMA(RSV,M1,1),LINETHICK1;D:=SMA(K,M2,1),LINETHICK1;J:=3*K-2*D,COLORFF00FF,LINETHICK1;COUNT(J<0,8)>=3 AND CROSS(J,1) AND K>=REF(K,1);5、一夜情捕抓涨停黑马指标条件选股源码公式A1:=REF(C,2)>REF(C,3)*1.095 AND REF(C,2)=REF(H,2);A2:=REF(C,1)<REF(O,1)*1.005 AND REF(C,1)*1.02<REF(C,2);A3:=C>REF(C,2) AND C>REF(H,1) AND C>=REF(C,1)*1.095 AND C=H;双响炮:A1 AND A2 AND A3;6、通达信三金叉见底选股公式源码ND :=5;DOWN :=CLOSE/LLV(LOW,60)<=1.2;PMA1 :=MA(CLOSE,5);PMA2 :=MA(CLOSE,10);VMA1 :=MA(VOL,5);VMA2 :=MA(VOL,10);DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);PPDAY :=BARSLAST(CROSS(PMA1,PMA2));YDAY :=BARSLAST(CROSS(VMA1,VMA2));MACDDAY :=BARSLAST(CROSS(DIFF,DEA));三金叉见底:IF((PPDAY<=ND AND DAY<=ND AND MACDDAY<=ND),1,0);7、跟庄建仓选股公式A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <=88)),A07,0);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;机构建仓区:=(A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50));Var7:=LLV(LOW,30);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:=EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618;选股:火焰山>0 AND 机构建仓区>0 AND 趋势>REF(趋势,1) AND REF(趋势,1)<REF(趋势,2);8、分时图当天抓涨停选股公式源码:A1:=(DVOL/C)/2,NODRAW;A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);A6:=A2+A3+A4+A5;机买:(A2/A6)*100,LINETHICK2,COLORRED;机卖:(A3/A6)*100,LINETHICK2,COLORGREEN;散买:(A4/A6)*100,LINETHICK0;散卖:(A5/A6)*100,LINETHICK0;主力差:机买-机卖,LINETHICK2,NODRAW;散户差:散买-散卖,LINETHICK0,NODRAW;DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●机构'),COLORRED;DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○机构'),COLORWHITE;DRAWTEXT(散户差>0 AND REF(散户差,1)<=0,C*0.15,'▲散户'),COLORCYAN;DRAWTEXT(散户差<0 AND REF(散户差,1)>=0,-C*0.15,'△散户'),COLORWHITE;9、最简单、最有效的通达信筹码选股公式介入:EXIST(CROSS(COST(50),REF(COST(50),3)),13)AND CROSS(COST(60),REF(COST(60),3))AND (CLOSE-REF(CLOSE,1))*100>3.5AND (WINNER(C)*100)<89;10、低位单峰密集的选股公式MJ:=8;T:=100;A1:=COST(85);A2:=COST(15);A3:=A1-A2;A4:=(A1+A2)/2;A5:=A3/A4*100B1:=HHV(HIGH,T);B2:=LLV(LOW,T);B3:=B1-B2;B4:=(A4-B2)低位单峰密集:A5 AND B4;指标只作参考,不能绝对的准确,但我相信还是比盲目操作的要好吧!具体操作还是看个人的理解,用多了就会有不错的收获了。

很好用包你赚钱的通达信精准选股公式

很好用包你赚钱的通达信精准选股公式

很好用包你赚钱的通达信精准选股公式通达信精准选股公式:条件选股公式源码:年认同价:=MA(C,240);价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));箱顶:=价格中枢某1.2;箱底:=价格中枢某0.8;毛利润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价某(1+毛利润率);收益价值:=年认同价+FINANCE(33);回调认同:=EMA(E某PMA(C,20),13);多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);回调条件:=COUNT(C=3;回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND多头;成长条件:=COUNT(C=3;成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND多头;收益条件:=COUNT(C=3;收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND多头;箱底条件:=COUNT(C=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;价格条件:=COUNT(C=3;价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND多头;箱顶条件:=COUNT(C=3;箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);专买老鼠仓{老鼠仓}AA1:=AMOUNT/V;BB1:=LCC1:=(C-REF(C,1))/REF(C,1)某100>1.2;DD1:=LFF1:=BB1ANDCC1ANDDD1ANDEE1;DRAWTE某T(FF1,(LOW某0.97),'老鼠仓'),COLOR4080FF;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。

通达信赚钱概率相当高的指标公式

通达信赚钱概率相当高的指标公式

通达信赚钱概率相当高的指标公式
通达信赚钱概率相当高的指标公式
使用方法:当“拉升资金” 或“主力资金”中有一个破0,则“关注=1”,屏幕会出现一个粉红色的柱子。

在下观察了一下,当“关注=1” 时,3日内能赚钱的概率>70。

当红线和绿线都出来,说明主力和拉升资金都在拉高价格,既然主力开始发力了,你还等什么呢?如果大于30度角,不用说,你有可能吃涨停板了。

VAR1:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR2:=EMA(VAR1,30);
VAR3:=2*(VAR1-VAR2)*10;
VAR4:=POW(VAR3,3)*0.1+POW(VAR3,2);
VAR5:=IF(VAR3>0.015,VAR4,0)/45;
拉升资金:VAR5,COLORRED;
VAR6:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR7:=EMA(VAR6,100);
VAR8:=2*(VAR6-VAR7);
VAR9:=POW(VAR8,3)*0.1+POW(VAR8,1);
主力资金:IF(VAR8>0.1,VAR9,0)*5;
GZ:=拉升资金+主力资金;
关注:GZ>0 AND REF(GZ,1)=0,NODRAW;
STICKLINE(关注>0,10,0,1,0),COLORMAGENTA;。

通达信20个高准确率选股公式源码

通达信20个高准确率选股公式源码

通达信20个高准确率选股公式源码是不是每次看收盘的涨停股望而兴叹,明明自己看过这个股票,当时为什么没买!都是对自己没有信心的表现。

我也分享20个高准确率的选股公式,有的含未来,仅供参考,结合指标分析。

推荐20个高成功率选股公式之一Var00:=LWINNER(1,CLOSE);Var1:=FORCAST(Var00,10);Var2:=MA(Var1,3);Var3:=MA(Var2,12);Var4:=MA(Var3,16);Var5:=MA(Var4,31);Var6:=MA(Var5,55);Var7:=Var5; Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var1h:=INDEXC;Var2h:=MA(Var1h,6);Var3h:=MA(Var1h,24);Var4h:=MA(Var1h,32);Var5h:=MA(Var1h,62);Var6h:=MA(Var1h,105);Var7h:=Var5h; Var8h:=Var4h>Var2h*1.11 AND Var3h>Var2h*1.095;Var9h:=Var2h>Var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;(Var7h AND Var8h AND Var9h AND CLOSE/COST(8)<=0.7985 and (count(c=l,4)<3 or c>ref(c,1)))and pt orVar7 and Var8 and Var9 and CLOSE/COST(5)<=0.8 AND((Var1>OPEN OR Var1>REF(OPEN,1) ORREF(Var1,1)))====================================== ========================================= =====推荐20个高成功率选股公式之二条件选股公式:BFBZ (20天10%利润,成功率98.52%信号量2209) 缺省周期:日线Var1:=INDEXC;Var2:=MA(Var1,6);Var3:=MA(Var1,24);Var4:=MA(Var1,32);Var5:=MA(Var1,62);Var6:=MA(Var1,105);Var7:=Var5<REF(Var5,1) AND Var6<REF(Var6,1) AND Var5<Var6*0.98;Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var7 AND Var8 AND Var9 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));====================================== ====================================== 推荐20个高成功率选股公式之三条件选股公式:魔鬼组合 (99.65% 缺省周期:日线Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var9:=(Var3+Var4+Var5+Var6+Var7+Var8)/6;VarA:=EMA(Var9,3);VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;VarD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VarE:=VarD+VarC;VarF:=IF(Var2>0 AND VarE<0,200,0);Var10:=IF(VarC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);Var11:=IF(VarE<0 AND Var10=-50,100,0);Var12:=MA(CLOSE,3);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var17:=MA(CLOSE,13);Var18:=IF((CLOSE-Var15)/CLOSE<0.03 AND SUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0 AND (Var10<0 OR Var2>0),100,0);Var1A:=Var19;Var1B:=IF(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0) AND Var19<10,50,0);Var1C:=(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0);Var1D:=VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;Var1E:=Var1C OR Var1D;g:=MA(CLOSE,80)-MA(CLOSE,10)/3;aaa:=Var1A and CLOSE<g;Var2a:=1;Var3a:=Var2a*(CLOSE-MA(CLOSE,33))/MA(CLOSE,33)*100;bbb:=HHV(CLOSE,13)/CLOSE>1.15 AND HIGH/LOW>1.08 AND CROSS(-30,Var3);Var1bb:=INDEXC;Var2b:=MA(Var1bb,6);Var3b:=MA(Var1bb,24);Var4b:=MA(Var1bb,32);Var5b:=MA(Var1bb,62);Var6b:=MA(Var1bb,105);Var7b:=Var5b<REF(Var5b,1) AND Var6b<REF(Var6b,1) AND Var5b<Var6b*0.98;Var8b:=Var4b>Var2b*1.11 AND Var3b>Var2b*1.095;Var9b:=Var2b>Var1bb*0.95;ccc:=Var7b AND Var8b AND Var9b AND CLOSE/COST(8)<=0.8 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));Var1cc:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2c:=DMA(CLOSE,VOL/MA(VOL,33)/33);Var3c:=(CLOSE-Var1cc)/Var1cc*100<-11;Var4c:=(Var1cc-Var2c)/Var2c*100<-22.3;Var5c:=Var3c AND Var4c;ddd:=Var5c AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND(REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND(REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND(REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND(REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND(REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7)) ;A1:=INDEXC;A2:=MA(A1,5);A3:=MA(A1,20);A4:=MA(A1,30);B1:=A4>A2*1.08 AND A3>A2*1.055;B2:=A2>A1*1.03;B3:=B1 AND B2;M1:=MA(C,5);M2:=MA(C,10);M3:=M1<M2;N1:=(M1-C)/C>(9/100);N2:=(M2-M1)/M1>0.05;N3:=(H>L*1.07) AND COUNT(H>L*1.04,5)>2;N4:=COUNT(M3,7)>=7;N5:=N1 AND N2 AND N3 AND N4;eee:=B3 AND N5;ff:=(ref(c,32)-close)/ref(c,32)>=0.385;fff:=ccc and ff;Xar1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Xar2:=(CLOSE-xar1)/xar1*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Xar3:=(CLOSE-ref(CLOSE,5))/CLOSE*100<-9;当前获利:=WINNER(CLOSE);大盘涨跌:=ema((INDEXC-ma(INDEXC,10))/INDEXC*100,14)<-4.9;换手率:=(ma(v,5)-VOL)/CAPITAL*100<0.8;量能变化:=(vol-MA(vol,21))/vol*100;买入信号:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND换手率 AND 量能变化>18;{飞雪迎春:(Xar2<-8.1 AND 买入信号=1);}{DRAWTEXT(飞雪迎春=1,0.8,'飞雪迎春' );}gg1:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND换手率 AND 量能变化>18;ggg:=aaa and gg1;(aaa and bbb) or (aaa and ccc) or (aaa and ddd) or (aaa and eee)or fff or ggg============================================================================ 推荐20个高成功率选股公式之四条件选股公式:飞鹰优化 (90.87%缺省周期:日线Var1:=CLOSE/MA(CLOSE,40)*100<78;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) andma(c,27)/close>1.169 and ma(c,17)/close>1.158 andclose<ma(c,120) and ma(c,60)<ma(c,120) and ma(c,60)>ma(c,30) and "cci">-210============================================================================ 推荐20个高成功率选股公式之五条件选股公式:BIMOWANG (成功率93.12 信号3736 缺省周期:日线Var1:=EMA(WINNER(CLOSE)*70,3);Var2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);Var3:=CLOSE/MA(CLOSE,40)*100<76;Var4:=CLOSE/MA(CLOSE,60)*100<74;Var5:=HIGH>LOW*1.051;Var6:=Var5 AND COUNT(Var5,5)>1;Var6 AND (Var3 OR Var4) AND Var2<20 AND Var1<20AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;============================================================================ 推荐20个高成功率选股公式之六条件选股公式:股神选股(20天10利润成功率92.88% 信号量4310 缺省周期:日线参数描述: N(1,30,22)N2(1,10,5)N3(1,5,3)N4(-50,0,-30)Var1:=IF(DATE>=1031231, 0, 1);Var2:=CLOSE<0.980*REF(CLOSE, 1);Var3:=OPEN<REF(CLOSE, 1);Var4:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*Var1;Var5:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100*Var1;Var6:=MA(COST(N)/LOW, N3);Var7:=Var6>1.5 AND Var4>N2 AND Var5<N4;Q:Var7 OR (COUNT(Var7, 10) AND Var2 OR COUNT(Var7, 20) AND Var3)*Var1;====================================== ====================================== 推荐20个高成功率选股公式之七原公式加密,以下源码是从网上找的,不知是否与原公式一样,还请高手特别版。

非常有用的通达信波段买点选股指标公式

非常有用的通达信波段买点选股指标公式

非常有用的通达信波段买点选股指标公式
通达信是国内股票交易软件中较为常用的一款,有着丰富的技术指标供投资者
使用。

针对波段交易中的买点选股,通达信也提供了一些非常有用的指标公式。

以下是一些经常被投资者使用的通达信波段买点选股指标公式:
1. MACD指标公式:MACD指标是一种经典的趋势指标,可以帮助投资者判
断买入和卖出的时机。

在通达信中,MACD指标公式为:MACD(12,26,9);通过观
察MACD线和信号线的金叉和死叉情况,投资者可以判断股票的买点。

2. KDJ指标公式:KDJ指标是一种颇具实用性的波段买点指标,通达信中的KDJ指标公式为:KDJ(9,3,3);KDJ指标通过计算股票的随机值,判断买点与卖点。

当K线低于20时,为买入信号。

3. 均线穿越指标公式:均线穿越也是一种较为常用的技术指标,在通达信中可
以通过公式实现。

比如,当短期均线(如5日均线)上穿长期均线(如20日均线)时,为买入信号。

4. 成交量指标公式:在波段买点选股中,成交量是非常重要的参考因素之一。

通达信中提供了成交量指标公式,可以计算股票的成交量变化情况。

投资者可以关注成交量的放大情况,结合价格走势,判断波段买点。

以上所列举的通达信波段买点选股指标公式是投资者常用的一些指标,通过对
这些指标的综合应用与分析,可以辅助投资者判断买卖时机,提高投资成功的概率。

当然,投资决策应该综合考虑市场情况,不同股票的特点以及个人风险偏好等因素。

通达信 选股公式

通达信 选股公式

通达信选股公式
通达信是股票分析与交易软件中的一种,具有丰富的技术分析工具和交易功能,可以通过编写选股公式来筛选出符合条件的股票。

以下是一些常见的通达信选股公式:
1. 均线选股公式:通过计算股票的短期和长期均线,筛选出股价趋势良好的股票。

例如:
MA5>MA20
表示5日均线超过20日均线的股票。

2. MACD选股公式:通过计算股票的MACD指标,筛选出股价有上涨趋势的股票。

例如:
MACD(12,26,9)>0
表示股票的12日EMA线超过26日EMA线,并且MACD柱子为正的股票。

3. RSI选股公式:通过计算股票的RSI指标,筛选出处于超卖状态的股票。

例如:
RSI(14)<30
表示股票的14日RSI指标低于30的股票。

4. KDJ选股公式:通过计算股票的KDJ指标,筛选出处于底部区域且有反弹可能的股票。

例如:
KDJ(14,1,3)<20
表示股票的14日K值低于20的股票。

以上只是通达信选股公式的一小部分,投资者可以根据自己的投
资策略和风险偏好编写适合自己的选股公式,以便更好地进行股票交易。

成功率相当高的抄底选股指标通达信指标公式源码

成功率相当高的抄底选股指标通达信指标公式源码

A1:=CROSS("MACD.DIF","MACD.DEA");A2:=CROSS("KDJ.K","KDJ.D") AND "KDJ.K"<-20;A3:="I"<-90 AND "I">-100;A4:=CROSS("RSI.RSI1","RSI.RSI2") AND "RSI.RSI1"<50;A5:=REF("WR.WR1",1)>90 AND "WR.WR1"<70;A6:=CROSS("BIAS.BIAS1",-5);A7:=REF("DMI.PDI",1)<REF("DMI.MDI",1) AND REF("DMI.PDI",1)<REF("DMI.ADX",1) AND REF("DMI.PDI",1)<REF("DMI.ADXR",1) AND "DMI.PDI">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND "DMI.PDI">"DMI.ADXR";A8:=CROSS("MFI.MFI",20) AND REF("MFI.MFI",1)<20;MTM:=CLOSE-REF(CLOSE,20);MAMTM:=MA(MTM,60);A9:=CROSS(MTM,MAMTM);OSC:=100*(CLOSE-MA(CLOSE,20));MAOSC:=EXPMEMA(OSC,6);MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;MADKX:=MA(DKX,20);A10:="ADTM.ADTM"<-0.8;AA1:=A1 AND A2 AND A3;AA2:=A1 AND A2 AND A4;AA3:=A1 AND A2 AND A5;AA4:=A1 AND A2 AND A6;AA5:=A1 AND A2 AND A7;AA6:=A1 AND A2 AND A8;AA7:=A1 AND A2 AND A9;AA8:=A1 AND A2 AND A10;AA9:=A1 AND A3 AND A4;AA10:=A1 AND A3 AND A5;AA11:=A1 AND A3 AND A6;AA12:=A1 AND A3 AND A7;AA13:=A1 AND A3 AND A8;AA14:=A1 AND A3 AND A9;AA16:=A1 AND A4 AND A5; AA17:=A1 AND A4 AND A6; AA18:=A1 AND A4 AND A7; AA19:=A1 AND A4 AND A8; AA20:=A1 AND A4 AND A9; AA21:=A1 AND A4 AND A10; AA22:=A1 AND A5 AND A6; AA23:=A1 AND A5 AND A7; AA24:=A1 AND A5 AND A8; AA25:=A1 AND A5 AND A9; AA26:=A1 AND A5 AND A10; AA27:=A1 AND A6 AND A7; AA28:=A1 AND A6 AND A8; AA29:=A1 AND A6 AND A9; AA30:=A1 AND A6 AND A10; AA31:=A1 AND A7 AND A8; AA32:=A1 AND A7 AND A9; AA33:=A1 AND A7 AND A10; AA34:=A1 AND A8 AND A9; AA35:=A1 AND A8 AND A10; AA36:=A1 AND A9 AND A10; AA37:=A2 AND A3 AND A4; AA38:=A2 AND A3 AND A5; AA39:=A2 AND A3 AND A6; AA40:=A2 AND A3 AND A7; AA41:=A2 AND A3 AND A8; AA42:=A2 AND A3 AND A9; AA43:=A2 AND A3 AND A10; AA44:=A2 AND A4 AND A5; AA45:=A2 AND A4 AND A6; AA46:=A2 AND A4 AND A7; AA47:=A2 AND A4 AND A8; AA48:=A2 AND A4 AND A9; AA49:=A2 AND A4 AND A10; AA50:=A2 AND A5 AND A6; AA51:=A2 AND A5 AND A7; AA52:=A2 AND A5 AND A8;AA54:=A2 AND A5 AND A10; AA55:=A2 AND A6 AND A7; AA56:=A2 AND A6 AND A8; AA57:=A2 AND A6 AND A9; AA58:=A2 AND A6 AND A10; AA59:=A2 AND A7 AND A8; AA60:=A2 AND A7 AND A9; AA61:=A2 AND A7 AND A10; AA62:=A2 AND A8 AND A9; AA63:=A2 AND A8 AND A10; AA64:=A2 AND A9 AND A10; AA65:=A3 AND A4 AND A5; AA66:=A3 AND A4 AND A6; AA67:=A3 AND A4 AND A7; AA68:=A3 AND A4 AND A8; AA69:=A3 AND A4 AND A9; AA70:=A3 AND A4 AND A10; AA71:=A3 AND A5 AND A6; AA72:=A3 AND A5 AND A7; AA73:=A3 AND A5 AND A8; AA74:=A3 AND A5 AND A9; AA75:=A3 AND A5 AND A10; AA76:=A3 AND A6 AND A7; AA77:=A3 AND A6 AND A8; AA78:=A3 AND A6 AND A9; AA79:=A3 AND A6 AND A10; AA80:=A3 AND A7 AND A8; AA81:=A3 AND A7 AND A9; AA82:=A3 AND A7 AND A10; AA83:=A3 AND A8 AND A9; AA84:=A3 AND A8 AND A10; AA85:=A3 AND A9 AND A10; AA86:=A4 AND A5 AND A6; AA87:=A4 AND A5 AND A7; AA88:=A4 AND A5 AND A8; AA89:=A4 AND A5 AND A9; AA90:=A4 AND A5 AND A10;AA92:=A4 AND A6 AND A8;AA93:=A4 AND A6 AND A9;AA94:=A4 AND A6 AND A10;AA95:=A4 AND A7 AND A8;AA96:=A4 AND A7 AND A9;AA97:=A4 AND A7 AND A10;AA98:=A4 AND A8 AND A9;AA99:=A4 AND A8 AND A10;AA100:=A4 AND A9 AND A10;AA101:=A5 AND A6 AND A7;AA102:=A5 AND A6 AND A8;AA103:=A5 AND A6 AND A9;AA104:=A5 AND A6 AND A10;AA105:=A5 AND A7 AND A8;AA106:=A5 AND A7 AND A9;AA107:=A5 AND A7 AND A10;AA108:=A5 AND A8 AND A9;AA109:=A5 AND A8 AND A10;AA110:=A5 AND A9 AND A10;AA111:=A6 AND A7 AND A8;AA112:=A6 AND A7 AND A9;AA113:=A6 AND A7 AND A10;AA114:=A6 AND A8 AND A9;AA115:=A6 AND A8 AND A10;AA116:=A6 AND A9 AND A10;AA117:=A7 AND A8 AND A9;AA118:=A7 AND A8 AND A10;AA119:=A7 AND A9 AND A10;AA120:=A8 AND A9 AND A10;XG:=AA1 OR AA2 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7 OR AA8 OR AA9 OR AA10 OR AA11 OR AA12 OR AA13 OR AA14 ORAA15 OR AA16 OR AA17 OR AA18 OR AA19 OR AA20 OR AA21 OR AA22 OR AA23 OR AA24 OR AA25 OR AA26 OR AA27 ORAA28 OR AA29 OR AA30 OR AA31 OR AA32 OR AA33 OR AA34 OR AA35 OR AA36 OR AA37 OR AA38 OR AA39 OR AA40 ORAA41 OR AA42 OR AA43 OR AA44 OR AA45 OR AA46 OR AA47 OR AA48 OR AA49 OR AA50 OR AA51 OR AA52 OR AA53 ORAA54 OR AA55 OR AA56 OR AA57 OR AA58 OR AA59 OR AA60 OR AA61 OR AA62 OR AA63 OR AA64 OR AA65 OR AA66 ORAA67 OR AA68 OR AA69 OR AA70 OR AA71 OR AA72 OR AA73 OR AA74 OR AA75 OR AA76 OR AA77 OR AA78 OR AA79 ORAA80 OR AA81 OR AA82 OR AA83 OR AA84 OR AA85 OR AA86 OR AA87 OR AA88 OR AA89 OR AA90 OR AA91 OR AA92 ORAA93 OR AA94 OR AA95 OR AA96 OR AA97 OR AA98 OR AA99 OR AA100 OR AA102 OR AA103 OR AA104 OR AA105 ORAA106 OR AA107 OR AA108 OR AA109 OR AA110 OR AA112 OR AA113 OR AA114 OR AA115 OR AA116 OR AA117 ORAA118 OR AA119 OR AA120;选股:=IF(XG,1,0),COLORRED;STICKLINE(FILTER(选股>=1,5),60,0,3,0),COLORRED;VARA3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55 ))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(VARA3,3)-10;VARB7:=LLV(LOW,30);VARA11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*20;VARA12:=HHV(VARA11,30)*20;火焰山:=EMA(IF(LOW<=VARB7 AND 趋势<40,(VARA11+VARA12),0),3)/618,COLORRED,LINETHICK2;火焰:=STICKLINE(火焰山>0,0,火焰山,3,1);今量:=火焰山;STICKLINE(火焰山>0,0,今量*1.2,2,0),COLORLIRED;DRAWTEXT( 选股,35,'抄底'),COLOR00FF00;。

成功率100%的指标通达信指标公式源码

成功率100%的指标通达信指标公式源码

成功率100%的指标就是交易次数太少了只有29次,有2次失败的,但是都能达到目标价位VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2:=SMA(VAR1,9,1)+100;VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;趋势: IF(VAR6>45,VAR6-45,0);STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),2,0),COLORMAGENTA; STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),2,0),COLORGREEN;强弱分界:50,COLORFFFFCC;底部:0,COLOR00FFFF;安全:20,COLORFFAA66,LINETHICK1;预警:80,COLORFFAA66,LINETHICK1;顶部:100,COLORFFFF33;V11:=LLV(LOW,10);V22:=HHV(H,25);价位线:=EMA((C-V11)/(V22-V11)*4,4);DRAWTEXT(CROSS(价位线,0.3),20+4,'●买'),COLORRED;DRAWTEXT(CROSS(3.5,价位线),100-4,'●卖'),COLORGREEN;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q; VAR9Q:=IF(VAR8Q>100,100,VAR8Q);吸筹:STICKLINE(VAR9Q>-120,0,VAR9Q,3,1),COLORYELLOW;建仓:IF(VAR9Q>-120,VAR9Q,0);AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLORRED,LINETHICK2;主力线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2 *SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1 ),LINETHICK1,POINTDOT;超短线:(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK2,COLORLIRED;VAR11:=3;VAR21:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) -LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV (HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));股价准备启动:=IF(CROSS(VAR21,VAR11),100,0),COLORRED,LINETHICK2; DRAWICON(CROSS(超短线,18),20,1);DRAWICON(CROSS(90,超短线),20,2);V1:=MA(C,3)=HHV(MA(C,3),7);V2:=MA(C,3)>MA(C,5);V3:=MA(V,5)>MA(V,10)*1.01;V4:=COUNT(MA(C,1)>REF(C,1),2)=2;MA1:=MA(CLOSE,5);FFFF:=(CLOSE>MA1,MA1),COLORRED;LC20:=REF(CLOSE,1);RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100; VAR3A:=3;VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5, 1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5, 1),3,1);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDCROSS(DX,MA(DX,2)),1,0);加仓:=IF(FILTER(YXF=1,5),1,0),STICK,COLORFFFFFF,LINETHICK3;A1:=MA(CLOSE,5);A2:=L=O AND H=C AND C/REF(C,1)<1.04 AND C>O;XG:=(REF(C,20)-C)/C>0.25;XG2:=(REF(C,90)-C)/C>0.35;必买:(股价准备启动AND 加仓AND XG AND 超短线<20 AND XG2 )*100;。

通达信准确率90%以上选股公式

通达信准确率90%以上选股公式

专买老鼠仓{老鼠仓}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。

根据本人的实践,使用指标时候要注意几点:1 该指标可以添加到任何一个主图里面去,比如MA均线什么的。

2 出现信号当天买进股票,第二天收阳继续持股,直到出阴为止。

3 第二天出阴考虑卖出,非常适合短线操作!老鼠仓(选股公式)AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;理想选股(选股公式)VAR1:=MA((LOW+HIGH+CLOSE)/3,5);VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);VAR4:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2);VAR5:=LOW<HHV(VAR1,13) AND HIGH>HHV(VAR1,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR6:=VAR5 AND COUNT(VAR4,2);VAR7:=VAR6 AND NOT(REF(VAR6,1));VAR8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR9:=EMA(MA(C,13),13);VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7) AND COUNT(VAR8<0,2) ANDCROSS(VAR8,MA(VAR8,2)))=1,5);VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR12:=FILTER(((CROSS(VAR11,0) OR CROSS(C,VAR9)) AND VAR10)=1,3);VAR13:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR12 OR VAR13) AND VAR10;买2:=(VAR12 OR VAR13) AND VAR3;买3:=(VAR12 OR VAR13) AND VAR2;买4:=(VAR2 AND VAR10) OR (VAR3 AND VAR10);买5:=(金叉AND VAR3) OR (金叉AND VAR2) OR (金叉AND VAR10);ST:=EXIST(C/REF(C,1)>1.06,50);输出:=(买1 OR 买2 OR 买3 OR 买4 OR 买5 OR VAR7) AND ST;MA5:=MA(C,5),COLORWHITE;X:=(3*C+L+O+H)/6;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*RE F(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK1;AB:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),CO LORYELLOW;CROSS(MA5,多空线) and CROSS(C,AB) and 输出;点石成金(选股公式)KS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);Var1:=CLOSE/MA(CLOSE,40)*100<76;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) AND REF(KS13,1)>=10 AND REF(KS13,1)/KS13>=1.13 ANDCLOSE/REF(CLOSE,1)>=1.02;牛市绝底(选股公式)VAR1:=REF(CLOSE,1);VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100); VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) * 100);VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48));VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48));牛市绝底:VAR2 < 15 AND VAR3 < 20 AND (VAR2 + VAR3) > 20 AND VAR4 > 40 AND BARSCOUNT(CLOSE) > 47;通达信精准选股公式:条件选股公式源码:年认同价:=MA(C,240);价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));箱顶:=价格中枢*1.2;箱底:=价格中枢*0.8;毛利润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价*(1+毛利润率);收益价值:=年认同价+FINANCE(33);回调认同:=EMA(EXPMA(C,20),13);多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);回调条件:=COUNT(C<回调认同,5)>=3;回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头; 成长条件:=COUNT(C<成长价值,5)>=3;成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头; 收益条件:=COUNT(C<收益价值,5)>=3;收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头; 箱底条件:=COUNT(C<箱底,5)>=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;价格条件:=COUNT(C<价格中枢,5)>=3;价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头; 箱顶条件:=COUNT(C<箱顶,5)>=3;箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);飞弹一号(选股公式)var1:=c/ma(c,40)*100<78;var2:=c/ma(c,60)*100<74;var3:=h>=l*1.051;var4:=var3 and count(var3,5)>=2;xg:var4 and (var1 or var2) and count(h=l and c=o and c<ref(c,1),3)=0and hhv(v/capital,30)<0.8;牛魔无双(选股公式)A4:=(HIGH-LOW)/HIGH*100+(C-REF(C,1))/REF(C,1)*100;B4:=EMA(MA(A4,50),5);c4:=B4>LLV(B4,5)*1.01 AND REF(B4,1)<REF(LLV(B4,5),1)*1.01AND LLV(B4,50)=LLV(B4,5);d4:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5;xg:c4 AND d4;火牛神功(选股公式)Var1:=DMA(CLOSE,VOL/SUM(VOL,34));Var2:=DMA(CLOSE,VOL/SUM(VOL,13));Var3:=(CLOSE-Var1)/Var1*100;Var4:=(CLOSE-Var2)/Var2*100;Var4<=-12 AND Var3<=-19 ;跟庄建仓(选股公式)A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;机构建仓区:=(A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50));Var7:=LLV(LOW,30);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:=EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618;选股:火焰山>0 AND 机构建仓区>0 AND 趋势>REF(趋势,1) AND REF(趋势,1)<REF(趋势,2);跟庄建仓源码A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);Var2:=EMA(Var1,8);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;STICKLINE(趋势>80,趋势,80,5,0);DRAWICON(CROSS(趋势,0),0,1);STICKLINE((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50)),0,A09,6,0),colorFFff00;机构建仓区:0,LINETHICK0,colorFFFF00;Var4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;STICKLINE(趋势<=13,0,20,3,0),colorcc9900;DRAWTEXT(FILTER(趋势<=13,15),30,'准备现金'),colorcc9900;STICKLINE(趋势<=13 AND Var4>13,0,50,2,0),color0099ff;Var5:=FILTER((趋势<=13 AND Var4>13),10);DRAWTEXT(Var5,60,'买入'),color0099ff;STICKLINE(趋势>=90 AND Var4,0,30,3,0),colorgray;Var6:=FILTER((趋势>=90 AND Var4),10);DRAWTEXT(Var6,40,'清仓'),colorgray;Var7:=LLV(LOW,30);Var8:=HHV(HIGH,30);Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;STICKLINE(Var9>90,100,105,3,2),COLORRED;Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),88,'险'),Color00FF00; DRAWICON(CROSS(90,Var9),95,9);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618,COLORRED,linethick2;STICKLINE(火焰山>0,0 ,火焰山*1.2,4,0 ),COLORRED;Var13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;Var14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;趋势线: 趋势,colorff0000;Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200;Var17:=EMA(Var16,5);波浪峰:Var17,stick,colorff00ff;STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00;Var18:=MA(趋势线,8);if(CROSS(Var2,Var18) AND Var2<15,50,0),COLORRED;DRAWTEXT(CROSS(趋势线,Var2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,50,'追涨'),COLORff00ff;风险区:IF(趋势>80,趋势,80),colorff00ff;双信号"全仓"选股(选股公式)FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA2>0,MA2,MA2);MA5:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);{收盘价=4日内收盘价的最高值AND 昨收>=2日前的收盘价}VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);{收盘价=4日内收盘价的最高值AND 昨收=4日内收盘价的最低值}VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);{收盘价=4日内收盘价的最低值AND (昨收<2日前的收盘价}VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);{昨收=4日内收盘价的最低值AND 收盘价>=2日前的收盘价}VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) ANDREF(C,2)>=REF(C,4) AND C<REF(C,1);{昨收=4日内收盘价的最高值AND 收盘价<2日前的收盘价}VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);{今日V5向上形成拐点}VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND CROSS(VAR09,MA(VAR09,2)))=1,5);VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND CROSS(MA(VAR09,2),VAR09))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR08 AND NOT(REF(VAR08,1));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR04;买3:=(VAR14 OR VAR15) AND VAR02;买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);买5:=(金叉AND VAR04) OR (金叉AND VAR02) OR (金叉AND VAR11);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG11:=XG0 OR XG1;{以下波浪理论浪底重叠"买底"选股原码}PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;{以下二者结合共同选股}XG:=XG11 OR XG22;W18:EXIST(XG,1);涨停板敢死队(选股公式)Lx1:=(EMA((AMOUNT/10000000),1) /3);Lx2:=(WINNER(C)/0.3);Lx3:=IF(c<0,Lx1,V);Lx4:=IF(c<0,Lx2,V);Lx5:=IF((BARSCOUNT(C)>100),Lx3,Lx4);量:=Lx5/1000;动量:=(EMA(量,13)*1.5);A01:=IF((量>动量),量,0);A02:=BARSLAST((A01>0));A03:=REF(量,A02);趋势:=IF((量<=A01),量,A03);突破:=IF(((((量=趋势) and (C>REF(C,1))) and (量>REF(量,1))) and(REF(A02,2)>0)),888,0);量价突破:FILTER(突破,5 )*6;通达信选股公式:超级牛魔VAR3:=1;VAR4:=MA(CLOSE,5);VAR5:=MA(CLOSE,10);VAR6:=MA(CLOSE,30);VAR7:=MA(CLOSE,60);VAR8:=EMA(COST(85),7);VAR9:=EMA(COST(15),7);VARA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VARB:=INTPART(VARA*100)/100;VARC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARD:=INTPART(VARC*100)/100;VARE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARF:=INTPART(VARE*100)/100;短线趋势:=EMA(CLOSE,5)-EMA(CLOSE,10);中线趋势:=EMA(短线趋势,30);VAR10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; VAR11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; VAR12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; VAR13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; VAR14:=REF(中线趋势,1);VAR15:=中线趋势;VAR16:=VAR15-VAR14;VAR17:=REF(短线趋势,1);VAR18:=短线趋势;VAR19:=VAR18-VAR17;VAR1A:=OPEN;VAR1B:=CLOSE;超级牛魔王:IF(VAR1A<=VAR4 AND VAR1A<=VAR5 AND VAR1A<=VAR6 ANDVAR1B>=VAR4 AND VAR1B>=VARF AND VAR16>0 AND VAR19>0 ANDVAR3=1,0.5,0);盘中参考VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2 *SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2* SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR27:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 关注:VAR27 AND COUNT(VAR27,30)=1;初升介入1V1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;V2:=SMA(V1,20,1);V3:=SMA(V2,15,1);V4:=(3*V2+2*V3)/4;V5:= REF(V4,1);RSA:=SMA(MAX(V4-V5,0),2,1)/SMA(ABS(V4-V5),2,1)*100;RSB:=MA(RSA,10);AA:=VOL/REF(VOL,1)>2;BB:=CLOSE/REF(CLOSE,1)>1.07;初升介入:IF(AA AND BB,CROSS(RSA,RSB),DRAWNULL);主力介入VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR4:=(VAR1+2*VAR2+3*VAR3)/6;VAR5:=MA(VAR4,3)-STD(VAR4,3);VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(VARA,3,1),COLORYELLOW;VARB:=SMA(K,3,1);J:=3*K-2*VARB,COLORGREEN;主力介入: CROSS(J,VARB) AND COUNT(VAR5<-16,4)>=1,COLORWHITE;旺狗出击旺狗出击:CROSS(C,MA(CLOSE,55) + 2*STD(CLOSE,55)) AND C>OAND VOL>1.6*REF(VOL,1) AND VOL>=2*MA(VOL,60) ANDEMA(WINNER(C)*70,3)>EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3)AND VOL>=1.6*MA(VOL,5) ;五线选股AVR1:=EMA(CLOSE,10);AVR2:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36;AVR3:=MA(CLOSE,9);AVR4:=MA(CLOSE,20);五线选股:IF(CROSS(AVR1,AVR4) AND CROSS(AVR3,AVR4) ANDCROSS(AVR4,AVR2),1,0);狂牛启动1VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAST(CROSS(SOLE,BUY )));选股1:BUY>SOLE AND REF(BUY,1)<REF(SOLE,1);狂牛启动2VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAST(CROSS(SOLE,BUY )));选股2:CROSS(BUY,SOLE) AND REF(SOLE,1)/REF(BUY,1)<=1.5 AND SOLE<64 AND SCCOUNT=1;狂牛启动3VAR2:=1;VAR3:=REF(HIGH,1)*1.1;VAR4:=HIGH*1.1;VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;VAR6:=REF(LOW,1)*0.9;VAR7:=LOW*0.9;VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;VAR9:=EMA(VAR8,30);VARA:=EMA(VAR5,30);VARB:=VARA-2;VARC:=IF(C<=VAR9,VARB,VARA);VARD:=MA(C,80)-MA(C,10)/17;准备:=STICKLINE(VARC-VARB=0 AND VAR2 ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)-RE F(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),50,0,5,0);选股3: FILTER(VARC-VARB=0 ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA( EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1 ))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),4);短线通道VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2-2*VAR3;VAR5:=LLV(LOW,5);VAR6:=HHV(HIGH,5);VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);VAR9:=3*VAR7-2*VAR8;VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARB:=POW(MA(LOW,5),2)+MA(LOW,5);VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;VARE:=SMA(VARD,3,1)*1.5-100;VARF:=SMA(VARE,3,1);VAR10:=3*VARE-2*VARF;VAR11:=(HIGH+LOW+CLOSE*2)/4;VAR12:=EMA(VAR11,13);VAR13:=STD(VAR11,13);VAR14:=(VAR11-VAR12)*100/VAR13;VAR15:=EMA(VAR14,5);VAR16:=EMA(VAR15,13);VAR17:=EMA(VAR15,13)+200-100;VAR18:=EMA(VAR17,10);VAR19:=3*VAR17-2*VAR18;VAR1A:=VAR2+VAR7+VARE+VAR17;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=(HIGH+LOW+CLOSE)/3;VAR1E:=AMOUNT/VOL/100;VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34)); VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;VAR23:=EMA(VAR22,24);VAR24:=STD(VAR22,24);VAR25:=(VAR22-VAR23)/VAR24*100;VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24)); VAR27:=EMA(VAR25,5);VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21)); VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90)); VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/5+165)/4; VAR2B:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;VAR2C:=(VAR2A+VAR2B)/2/1.1;短线:=VAR2C;MID:=MA(短线,26);UPPER:=MID+2*STD(短线,26);LOWER:=MID-2*STD(短线,26);{LCJ2:=IF(短线>MID,MID,短线); }{买点: DRAWICON(CROSS(短线,MID),MID*0.97,1); } {DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3); }{卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);MID, , COLORYELLOW;}{多头买入} ENTERLONG:CROSS(短线,MID) AND UPPER-MID>50;出手就赢1RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<30;出手就赢2RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<80;套利狐狸VAR1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR2:=REF(HIGH,10)/CLOSE>1.35;V3: (CLOSE-VAR1)/VAR1*100<-30 AND VAR2;乘胜追击1VAR1:=WINNER(CLOSE)-WINNER(OPEN);VAR2:=REF(CLOSE,1);VAR3:=SMA(MAX(CLOSE-VAR2,0),5,1)/SMA(ABS(CLOSE-VAR2),5,1)*100;VAR4:=CLOSE/MA(CLOSE,3)>=1.05;VAR5:=MA(VOL,8)/MA(VOL,45)>=2.5;VAR6:=WINNER(CLOSE)-WINNER(OPEN);VAR7:=REF(CLOSE,1);VAR8:=SMA(MAX(CLOSE-VAR7,0),5,1)/SMA(ABS(CLOSE-VAR7),5,1)*100;VAR9:=VAR6>=0.3 AND MA(VOL,6)/MA(VOL,26)>=1.9 AND VOL>REF(VOL,1) AND COUNT(VAR8<20,20)>=1 AND CLOSE/MA(CLOSE,3)>=1.07;VARA:=VAR1>=0.4 AND VAR5 AND COUNT(VAR3<20,20)>=1 AND VAR4 AND CLOSE>MA(CLOSE,85) AND VOL>REF(VOL,1);(VARA OR VAR9);逆势操作1VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) ORREF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) ORREF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) ORREF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) ORREF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) ORREF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) ORREF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1) >0.96 ;(VAR5 OR VARA) ;牛市专利1VAR1:=REF(CLOSE,3)*0.844;VAR2:=REF(CLOSE,13)*0.767;VAR3:=INDEXC;VAR4:=INDEXV;VAR5:=MIN(VAR1,VAR2);VAR6:=100*VOL/CAPITAL;VAR7:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;VAR8:=(CLOSE-VAR5)/CLOSE<0.07 AND SUM(VAR6,3)/3<2.345 ANDVAR3>MA(VAR3,450) AND MA(VAR4,61)/MA(VAR4,80)>0.923 ANDCLOSE>MA(CLOSE,190);VAR9:=VAR3>MA(VAR3,450) AND VAR7<-16.5 AND MA(VAR4,61)/MA(VAR4,80)>0.92 AND CLOSE>MA(CLOSE,215) AND (REF(OPEN,1)>REF(CLOSE,1) ORREF(OPEN,1)<REF(CLOSE,1)) AND (REF(OPEN,2)>REF(CLOSE,2) ORREF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) ORREF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) ORREF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) ORREF(OPEN,5)<REF(CLOSE,5)) AND VOL/CAPITAL<0.075;(VAR8 OR VAR9);同时金叉DIF:=EMA(CLOSE,9)-EMA(CLOSE,17);DEA:=EMA(DIF,8);MACD:=(DIF-DEA)*2;RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;选股:CROSS(DIF,DEA) AND CROSS(J,D) AND CROSS(RSI1,RSI3);带量突破VAR1:=EMA(COST(80),10);COUNT(CROSS(CLOSE,VAR1),2)>=1 AND VOL/CAPITAL>=0.1;攻击箱顶VAR1:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58);BETWEEN(CLOSE,VAR1*1.001,VAR1) AND REF(VAR1,3)=VAR1 ANDVOL>REF(VOL,2);果断介入VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR4:=(VAR1+2*VAR2+3*VAR3)/6;VAR5:=MA(VAR4,3)-STD(VAR4,3);VAR6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR7:=SMA(VAR6,3,1);VAR8:=SMA(VAR7,3,1);VAR9:=3*VAR7-2*VAR8;CROSS(VAR9,VAR8) AND COUNT(VAR5<-12 AND VAR5>-14,3)>=1;暴裂旋风VAR1:=ABS(HIGH-LOW);SUM(VAR1,7)/CLOSE>0.5 AND SUM(VAR1,7)/CLOSE<0.8 AND CLOSE>7 AND CLOSE<11;稳赢剑VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA( SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);VAR5:=CROSS(VAR4,10) AND VAR3<N;抄底:VAR5;领头羊白色:=SMA(HIGH,21,2)*1.05,;黄色:=SMA(LOW,21,2)*0.95;粉色:=SMA(LOW,5,1);绿色:=SMA(CLOSE,2,1),;波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色);领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色);领头羊>黄色OR 波段买入>粉色;天星踏浪VARC:=(2*CLOSE+HIGH+LOW)/4;VARD:=LLV(LOW,34);VARE:=HHV(HIGH,34);VARF:=LLV(LOW,13);VAR10:=HHV(HIGH,13);VAR11:=EMA((VARC-VARF)/(VAR10-VARD)*100,5);VAR12:=EMA((VARC-VARD)/(VARE-VARD)*100,8);金浪:= VAR11;AA:=EMA(VAR11,7);海浪:= VAR12;IF(CROSS(金浪,AA) AND AA<=25 ,1,0);黑马绝技EMA13:=EMA(C,13);EMA30:=EMA(C,30);EMA60:=EMA(C,60);EMA90:=EMA(C,90);EMA120:=EMA(C,120);EMA250:=EMA(C,250);F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 ANDEMA30-EMA120<330/1000;F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 ANDEMA60-EMA120<330/1000;F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 ANDEMA90-EMA120<330/1000;F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000;F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000;FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60);FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60);G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 ANDEMA60-EMA250<420/1000;G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 ANDEMA90-EMA250<420/1000;G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000;G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000;GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);FF1 OR FF2 OR FF3 OR GG1 OR GG2;黑马起步A1:=VOL=HHV(VOL,120);A2:=CLOSE/OPEN>1.05;TJ:=A1 AND A2;TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0);三底背离DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;蓄势待发V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSS(V0,EMA10);T4:=T1 AND T2 AND CROSS(V0,EMA30);M4 OR M5 OR T3 OR T4;突破指标{一是突破盘整;二是突破前高;三是突破平台}W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4 AND COUNT(W4,5)=1;四线粘合V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;拉升在即ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/ 25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));A:=((VOL)/(CAPITAL))*(100);S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;拉升在即:S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y);顶天立地VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1);人气:=SMA(趋势,3,1);出击:CROSS(趋势,人气) AND (趋势<30);{短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2; };主力进出ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/ 25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);。

通达信选股最全公式

通达信选股最全公式

1、通达信选股公式{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};2、老鼠仓AA1:=AMOUNT/VOL;BB1:=L< AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;DD1:=L< MA(C,5)*0.921;EE1:=VOL< MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;3、抄底高手{M 15 35 30N 12 32 27D 18 50 42}VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1 AND VAR2;VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF (OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)>1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND(REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));VAR4 OR VAR7;3、短线黑马{K 100 140 100}VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100;VAR4:=(VAR1-VAR2)/VAR2*100<-22.3/K*100;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF (OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) <REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100<-5;VAR9:=(VAR6-VAR7)/VAR7*100<-18;VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;VARB:=SMA(VARA,30,1);VARC:=SMA(VARB,50,1);VARD:=VAR8 AND VAR9 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));VARE:=VARD AND COUNT(VARD,2)=1 ;VAR5 OR VARE;4、逆势操作VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96 ;(VAR5 OR VARA) ;5、成交量变异率VR买入WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN ,VOL/2,0)),26)*100;VOL变异率VR买入:CROSS(LL,WVR);{N 5 100 26 5}{LL 0 80 70 5};MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100<=10;ZH530:=ABS(MA5-MA30)/MA30*100<=10;QSXS1:=MA5>REF(MA5,1);QSXS2:=MA20>REF(MA20,1);QSXS3:=MA30>REF(MA30,1);DTPL:=MA20>MA30 AND MA30>MA120;LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;买:LYKK AND NOT(REF(LYKK,1));虚拟成交量>昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};6、PDI上穿三线选股公式源码:TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:=DMP*100/TR0,colorred;MDI:=DMM*100/TR0;ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);ADXR:=(ADX+REF(ADX,6))/2;CROSS(PDI,MDI) AND CROSS(PDI,ADX) AND CROSS(PDI,ADXR)今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式选股公式:{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}var1:=v>ref(v,1)*2;ref(var1,3) and count(c>ref(c,3),3)=3;7、倍量柱加三天量减价升喇叭形的真黄金柱公式倍数:=1.9;倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND REF(C,3)>=REF(O,3);价升量缩:= LLV(C,3)>=REF(L,3) AND HHV(VOL,3)<=REF(VOL,3);连阳:= COUNT(C>=O,4)=4;选股:倍量1 AND 价升量缩 AND 连阳;8、“凹口起柱”理论编写的凹口指标王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱,经观察,股票起柱时是主力行为的表现,是主力意图的表现!是主力留下的痕迹!是量柱开口说话的语言!这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言!T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ;下载 (53.76 KB)2010-1-12 21:299、倍量过左峰选股源码--通达信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)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;突破前高:=CROSS(C,前高);XG:突破前高 AND 倍量;10、{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};11、老鼠仓AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;12、主力进场VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);XG:(VAR5>REF(VAR5,1) AND VAR5>0 ) OR (VAR5<REF(VAR5,1) AND NOT(VAR5=0)=1);13、60日天量T1:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;选股:T1 AND T2;14、135均量线选股VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL1,MAVOL2)OR CROSS(MAVOL1,MAVOL3) OR CROSS(MAVOL2,MAVOL3);15、二次翻红DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4); FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);FH4:=FH1 AND FH2 AND ABS((DIF-DEA)/C)<0.018;FH5:=FH1 AND FH2 AND MACD<0.10;二次翻红:=(FH3 OR FH4 OR FH5);低买:=CROSS(DIF,DEA) AND DIF<0;加油:=CROSS(DIF,DEA) AND DIF>0;XG:二次翻红 OR 低买 OR 加油;16、均量互换VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL2,MAVOL3);17、成交额均量互换AMO:=AMOUNT;MAAMO1:=MA(AMO,5);MAAMO2:=MA(AMO,10);MAAMO3:=MA(AMO,40);XG:CROSS(TJ1,TJ2)AND CROSS(TJ1,TJ3)OR CROSS(MAAMO1,MAAMO2)AND CROSS(MAAMO1,MAAMO3);18、凹口起柱T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0OR T3 AND T1 AND T0;19、黄金柱选股VAR1:=V>REF(V,1)*2;REF(VAR1,3) AND COUNT(C>REF(C,3),3)=3;20、日成交量触及5日均量线M1:=MA(V,5);M2:V > M1;21、早盘量满--一个很管用的预警指标本指标描述的是上午10点前个股成交量与昨天基本相等(指标在上午10点以后就不工作了);这类股票往往是比较强势,只有在10点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。

通达信20个高准确率选股公式源码

通达信20个高准确率选股公式源码

以下是通达信20个高准确率选股公式源码(无源码的请下载附件导入)通达信20个高准确率选股公式源码是不是每次看收盘的涨停股望而兴叹,明明自己看过这个股票,当时为什么没买!都是对自己没有信心的表现。

我也分享20个高准确率的选股公式,有的含未来,仅供参考,结合指标分析。

推荐20个高成功率选股公式之一Var00:=LWINNER(1,CLOSE);Var1:=FORCAST(Var00,10);Var2:=MA(Var1,3);Var3:=MA(Var2,12);Var4:=MA(Var3,16);Var5:=MA(Var4,31);Var6:=MA(Var5,55);Var7:=Var5; Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var1h:=INDEXC;Var2h:=MA(Var1h,6);Var3h:=MA(Var1h,24);Var4h:=MA(Var1h,32);Var5h:=MA(Var1h,62);Var6h:=MA(Var1h,105);Var7h:=Var5h; Var8h:=Var4h>Var2h*1.11 AND Var3h>Var2h*1.095;Var9h:=Var2h>Var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;(Var7h AND Var8h AND Var9h AND CLOSE/COST(8)<=0.7985and (count(c=l,4)<3 or c>ref(c,1)))and pt orVar7 and Var8 and Var9 and CLOSE/COST(5)<=0.8 AND((Var1>OPEN OR Var1>REF(OPEN,1) ORREF(Var1,1)))=============================================================================== =====推荐20个高成功率选股公式之二条件选股公式:BFBZ (20天10%利润,成功率98.52%信号量2209) 缺省周期:日线Var1:=INDEXC;Var2:=MA(Var1,6);Var3:=MA(Var1,24);Var4:=MA(Var1,32);Var5:=MA(Var1,62);Var6:=MA(Var1,105);Var7:=Var5<REF(Var5,1) AND Var6<REF(Var6,1) AND Var5<Var6*0.98;Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var7 AND Var8 AND Var9 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));============================================================================推荐20个高成功率选股公式之三条件选股公式:魔鬼组合(99.65% 缺省周期:日线Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var9:=(Var3+Var4+Var5+Var6+Var7+Var8)/6;VarA:=EMA(Var9,3);VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;VarD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VarE:=VarD+VarC;VarF:=IF(Var2>0 AND VarE<0,200,0);Var10:=IF(VarC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);Var11:=IF(VarE<0 AND Var10=-50,100,0);Var12:=MA(CLOSE,3);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var17:=MA(CLOSE,13);Var18:=IF((CLOSE-Var15)/CLOSE<0.03 AND SUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0 AND (Var10<0 OR Var2>0),100,0);Var1A:=Var19;Var1B:=IF(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0) AND Var19<10,50,0);Var1C:=(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0);Var1D:=VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;Var1E:=Var1C OR Var1D;g:=MA(CLOSE,80)-MA(CLOSE,10)/3;aaa:=Var1A and CLOSE<g;Var2a:=1;Var3a:=Var2a*(CLOSE-MA(CLOSE,33))/MA(CLOSE,33)*100;bbb:=HHV(CLOSE,13)/CLOSE>1.15 AND HIGH/LOW>1.08 AND CROSS(-30,Var3); Var1bb:=INDEXC;Var2b:=MA(Var1bb,6);Var3b:=MA(Var1bb,24);Var4b:=MA(Var1bb,32);Var5b:=MA(Var1bb,62);Var6b:=MA(Var1bb,105);Var7b:=Var5b<REF(Var5b,1) AND Var6b<REF(Var6b,1) AND Var5b<Var6b*0.98; Var8b:=Var4b>Var2b*1.11 AND Var3b>Var2b*1.095;Var9b:=Var2b>Var1bb*0.95;ccc:=Var7b AND Var8b AND Var9b AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));Var1cc:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2c:=DMA(CLOSE,VOL/MA(VOL,33)/33);Var3c:=(CLOSE-Var1cc)/Var1cc*100<-11;Var4c:=(Var1cc-Var2c)/Var2c*100<-22.3;Var5c:=Var3c AND Var4c;ddd:=Var5c AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND(REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND(REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND(REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND(REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND(REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7)) ;A1:=INDEXC;A2:=MA(A1,5);A3:=MA(A1,20);A4:=MA(A1,30);B1:=A4>A2*1.08 AND A3>A2*1.055;B2:=A2>A1*1.03;B3:=B1 AND B2;M1:=MA(C,5);M2:=MA(C,10);M3:=M1<M2;N1:=(M1-C)/C>(9/100);N2:=(M2-M1)/M1>0.05;N3:=(H>L*1.07) AND COUNT(H>L*1.04,5)>2;N4:=COUNT(M3,7)>=7;N5:=N1 AND N2 AND N3 AND N4;eee:=B3 AND N5;ff:=(ref(c,32)-close)/ref(c,32)>=0.385;fff:=ccc and ff;Xar1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Xar2:=(CLOSE-xar1)/xar1*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Xar3:=(CLOSE-ref(CLOSE,5))/CLOSE*100<-9;当前获利:=WINNER(CLOSE);大盘涨跌:=ema((INDEXC-ma(INDEXC,10))/INDEXC*100,14)<-4.9;换手率:=(ma(v,5)-VOL)/CAPITAL*100<0.8;量能变化:=(vol-MA(vol,21))/vol*100;买入信号:=大盘涨跌AND Xar3 AND 当前获利<0.12 AND换手率AND 量能变化>18;{飞雪迎春:(Xar2<-8.1 AND 买入信号=1);}{DRAWTEXT(飞雪迎春=1,0.8,'飞雪迎春' );}gg1:=大盘涨跌AND Xar3 AND 当前获利<0.12 AND换手率AND 量能变化>18;ggg:=aaa and gg1;(aaa and bbb) or (aaa and ccc) or (aaa and ddd) or (aaa and eee)or fff or ggg============================================================================推荐20个高成功率选股公式之四条件选股公式:飞鹰优化(90.87%缺省周期:日线Var1:=CLOSE/MA(CLOSE,40)*100<78;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) andma(c,27)/close>1.169 and ma(c,17)/close>1.158 andclose<ma(c,120) and ma(c,60)<ma(c,120) and ma(c,60)>ma(c,30) and "cci">-210============================================================================推荐20个高成功率选股公式之五条件选股公式:BIMOWANG (成功率93.12 信号3736 缺省周期:日线Var1:=EMA(WINNER(CLOSE)*70,3);Var2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);Var3:=CLOSE/MA(CLOSE,40)*100<76;Var4:=CLOSE/MA(CLOSE,60)*100<74;Var5:=HIGH>LOW*1.051;Var6:=Var5 AND COUNT(Var5,5)>1;Var6 AND (Var3 OR Var4) AND Var2<20 AND Var1<20AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;============================================================================推荐20个高成功率选股公式之六条件选股公式:股神选股(20天10利润成功率92.88% 信号量4310 缺省周期:日线参数描述:N(1,30,22)N2(1,10,5)N3(1,5,3)N4(-50,0,-30)Var1:=IF(DATE>=1031231, 0, 1);Var2:=CLOSE<0.980*REF(CLOSE, 1);Var3:=OPEN<REF(CLOSE, 1);Var4:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*Var1;Var5:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100*Var1;Var6:=MA(COST(N)/LOW, N3);Var7:=Var6>1.5 AND Var4>N2 AND Var5<N4;Q:Var7 OR (COUNT(Var7, 10) AND Var2 OR COUNT(Var7, 20) AND Var3)*Var1;============================================================================推荐20个高成功率选股公式之七原公式加密,以下源码是从网上找的,不知是否与原公式一样,还请高手特别版。

通达信胜率90 %以上选股公式

通达信胜率90 %以上选股公式

通达信胜率90 %以上选股公式引言概述:通达信是一款广泛使用的股票分析软件,拥有强大的选股功能。

本文将介绍一些通达信中胜率90%以上的选股公式,帮助投资者更加准确地进行股票选取。

正文内容:1. 趋势选股1.1 股价突破均线- 选取股价突破5日、10日、20日均线的股票- 股价突破均线表明股票处于上升趋势,有较高的胜率1.2 K线形态选股- 选取具有明显形态的K线,如倒锤头、十字星等- 这些形态通常表明股票即将反转,有较高的胜率1.3 成交量选股- 选取成交量放大的股票- 成交量放大通常表明市场情绪的变化,有较高的胜率2. 资金流向选股2.1 主力资金净流入选股- 选取主力资金净流入的股票- 主力资金净流入表明大资金的关注,有较高的胜率2.2 资金连续净流入选股- 选取连续多日资金净流入的股票- 连续净流入表明资金持续关注,有较高的胜率2.3 资金流入占比选股- 选取资金流入占比较高的股票- 资金流入占比较高表明市场对该股票的看好程度,有较高的胜率3. 盈利能力选股3.1 ROE选股- 选取ROE较高的股票- ROE是衡量公司盈利能力的重要指标,较高的ROE通常对应较高的胜率3.2 净利润增长选股- 选取净利润增长较快的股票- 净利润增长较快表明公司业绩良好,有较高的胜率3.3 营收增长选股- 选取营收增长较快的股票- 营收增长较快表明公司业务发展良好,有较高的胜率4. 估值选股4.1 市盈率选股- 选取市盈率较低的股票- 较低的市盈率通常对应较高的胜率4.2 市净率选股- 选取市净率较低的股票- 较低的市净率通常对应较高的胜率4.3 市销率选股- 选取市销率较低的股票- 较低的市销率通常对应较高的胜率5. 其他因素选股5.1 行业热点选股- 选取热门行业的股票- 行业热点通常有较高的涨幅和胜率5.2 机构持仓选股- 选取机构持仓较高的股票- 机构持仓较高表明市场对该股票的认可度较高,有较高的胜率5.3 市值选股- 选取市值较小的股票- 较小的市值通常对应较高的胜率总结:综上所述,通达信提供了众多胜率90%以上的选股公式,包括趋势选股、资金流向选股、盈利能力选股、估值选股和其他因素选股等。

史上成功率最高的通达信选股公式,股市高手实战总结,必抓大牛股

史上成功率最高的通达信选股公式,股市高手实战总结,必抓大牛股

史上成功率最高的通达信选股公式,股市高手实战总结,必抓大牛股探秘华尔街 2017-12-12 23:23:18经过一段时间的整理、实战验证,笔者总结了一些实用的选股公式分享给大家,我知道很多朋友在看盘上都是没什么时间的,也没有什么时间学习炒股方法。

近段时间特地收集验证了这些选股公式送给大家,不管你是一个爱好自己编写指标还是一个刚懵懂入市的新手,这些对你们来说都是精华的总结,希望大家会喜欢,记得收藏、转发。

1、零轴上方第一次金叉:黄白线在零轴上方第一次金叉的准确率是非常高的,这是极佳的买点。

选股公式:DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:= EMA(DIFF,9);MACD:= 2*(DIFF-DEA);SELECT:CROSS(DIFF,DEA) AND DEA>-1.0 AND DEA<0.5 AND CLOSE>REF(CLOSE,1) ANDCLOSE>=MA(C,60);2、零轴上方二次金叉:通常第一次金叉涨幅有限,那么零轴上的第二次金叉,尤其是突破前高之后的第二次金叉,爆发力会更强,是主升浪的开始选股公式:JC:IF(SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)-HHV(IF(IF(CROSS(MACD.DEA,0),1,0),SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0),0),0)=2 AND SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)>REF(SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0),1),10,0);3、零轴下方一次金叉:选股公式:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1;4、零轴下方二次金叉:当DIF、DEA指标都处于零轴以下时,如果短期内(8或13个交易日内)连续发生了两次金叉,很容易出现暴涨行情的,低位二次金叉出现暴涨股得概率要比低位第一次金叉要高。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

通达信成功率高的选股指标公式代码集{逆势买入}Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);Var3b:=(CLOSE-Var1b)/Var1b*100<-8;Var4b:=(Var1b-Var2b)/Var2b*100<-21;逆势买入:if(V ar3b AND Var4b AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,col orf00ff0;drawtext(逆势买入,40,'逆势买入'),colorf0f000;============================{龙战四海:99%成功率,选股条件:龙战四海=65}Var1c:=REF(OPEN,1)<REF(OPEN,2);Var2c:=REF(CLOSE,1)<REF(CLOSE,2);Var3c:=REF(LOW,1)<REF(LOW,2);Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03; Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;Var7c:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var8c:=REF(CLOSE,1);Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5, 1)*100;VarA:=COUNT(Var9c<20,20)>=1;VarB:=Var7c AND VarA;龙战四海:if(VarB AND Var6c,65,0),colorf0f000;drawtext(龙战四海,55,'龙战四海'),colorf00ff0;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。

最后在星位跳空下跌,标志着市场最后一线希望破灭,但与此同时行情在绝望之中诞生,伴随第三天股价跳空上涨,一轮触底回升行情就此展开。

}============================{云梯}{参数描述:P1(0,100,20)P(0.9,1.1,1.088)P2(1,300,5)}Var1d:=REF(INDEXC,1);Var2d:=SMA(MAX(INDEXC-Var1d,0),6,1)/SMA(ABS(INDEXC-Var1d ),6,1)*100;Var3d:=COUNT(Var2d<20,20)>=3 OR Var2d<=1.088;Var4d:=Var2d>=75 AND Var2d<=90;Var5d:=Var3d OR Var4d;Var6d:=SUM(VOL/CAPITAL,0)/BARSCOUNT(CLOSE);Var7d:=VOL/(CAPITAL*Var6d);Var8d:=MA(Var7d,5);Var9d:=100*Var6d;VarA1:=Var8d-Var9d;VarB1:=(HIGH+LOW)/2;VarC1:=VOL/CAPITAL/SMA(VOL/CAPITAL,25,2);VarD1:=MA(VarB1*VarC1,25);云梯:if(Var3d AND CLOSE>=REF(CLOSE,1) AND INDEXC>=0.98*REF(INDEXC,1) AND CLOSE<=1.45*LLV(CLOSE,55) AND VarA1>0 AND VarD1>0,30,0),stick,color00ff00;drawtext(云梯,25,'云梯'),colorwhite;============================{东升}Var1f:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;Var2f:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;Var3f:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27)); 东升:if(Var1f AND Var2f AND CROSS(Var3f,79) AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)<0.05AND VOL>MA(VOL,23),40,0),color000999 ;drawtext(东升,35,'东升'),colorf0f000;============================{冲灵剑法}Var1g:=COST(9999999999);Var2g:=EMA(CLOSE,5);Var3g:=EMA(CLOSE,10);Var4g:=CROSS(Var2g,Var3g);Var5g:=VOL>1.05*MA(VOL,5) AND VOL<5*REF(VOL,1);Var6g:=(CLOSE-OPEN)/OPEN;Var7g:=(HIGH-CLOSE)/(CLOSE-OPEN);Var8g:=(OPEN-LOW)/(CLOSE-OPEN);Var9g:=Var7g<0.8 AND Var8g<0.8;VarA2:=Var6g>0.04;VarB2:=CROSS(MA(CLOSE,5),MA(CLOSE,10)) OR MA(CLOSE,5)-MA(CLOSE,10)<0 AND ABS(MA(CLOSE,5)-MA(CLOSE,10))/MA(CLOSE,10)<0.02 AND MA(CLOSE,5)-MA(CLOSE,10)>REF(MA(CLOSE,5)-MA(CLOSE,10), 1);VarC2:=Var4g AND Var5g AND Var9g AND VarA2 AND VarB2;VarD2:=COUNT(VarC2,30);冲灵剑法:if(VarC2 AND VarD2=1,80,0),stick,linethick2,colorf0f000; drawtext(冲灵剑法,70,'冲灵剑法'),color2255ff;============================{江恩回调选股}a1:=hhv(high,50)/llv(low,100)>1.5;a2:=(hhv(high,50)-low)/(hhv(high,50)-llv(low,100));a3:=(low-llv(low,100))/(hhv(high,50)-llv(low,100));a4:=HHVBARS(high,50)<LLVBARS(low,100);a5:=a1 and a2>0.5 and a3>0.3 and a4;a6:=count(a5,20)=1;江恩回调选股:if(a6 and a5 ,60,0),stick,linethick2,colorf00ff0; drawtext(江恩回调选股,50,'江恩回调选'),colorf0f000;============================{炮弹}{参数描述:N(1,30,15) M(1,50,32) }Var1h:=DMA(AMOUNT/VOL/100, VOL/CAPITAL);Var2h:=MA(WINNER(HIGH)-WINNER(Var1h), 15);Var3h:=MA(WINNER(LOW)-WINNER(Var1h),32);Var4h:=Var3h-Var2h;火箭:if(REF(Var4h,2)<REF(Var4h,1) AND REF(Var4h,1)>Var4h AND Var4h>0 ANDVar4h*10>1,80,0),stick,color00ff00;DRAWTEXT(火箭,70,'火箭'),colorf00ff0;导弹:if(REF(Var4h,2)<REF(Var4h,1) AND REF(Var4h,1)>Var4h AND Var4h>0 ANDVar4h*10<1 AND Var4h*10>0.55,45,0),stick,colorred;drawtext(导弹,40,'导弹'),coloryellow;炮弹:if (REF(Var4h,2)<REF(Var4h,1) AND REF(Var4h,1)>V ar4h AND Var4h>0 ANDVar4h*10<=0.55,60,0),stick,colorf0f000;drawtext(炮弹,55,'炮弹'),color000099;============================{波段雄鹰}Var1a:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,7 5))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var2a:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;Var3a:=SMA(SMA(Var2a,3,1),3,1);Var4a:=EMA(Var3a,5);Var5a:=LLV(LOW,26);Var6a:=HHV(HIGH,34);Var7a:=EMA((CLOSE-Var5a)/(Var6a-Var5a)*4,4)*25;var8a:=(2*c+h+l)/4;var9a:=llv(low,9);var10a:=hhv(high,9);Var2w:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LO W,14));MW:= EMA(Var2w,3);Var3w:=EMA(Var2w,7);M1:= EMA(Var3w,5);mb1:=CROSS(MW,M1) AND M1<20;mg1:=if(CROSS(M1,MW) AND REF(MW,1)>80,80 ,0) ;波段:=ema((var8a-var9a)/(var10a-var9a)*100,9),colorRED;b1:=ema(0.667*ref(波段,1)+0.333*波段,2),color00ff00;stickline(波段>b1,波段,b1,10,1),colorred;stickline(波段<=b1,波段,b1,10,1),color00ff00;波段雄鹰顶:if((BARSLAST(mg1>0)<2),80,100),color00ff00;波段雄鹰底:IF((mb1),20,0),linethick2,coloryellow;drawtext(波段雄鹰底,25,'★'),colorf00ff0;drawtext(波段雄鹰底,15,'波段雄鹰底'),colorf0f000;drawicon((BARSLAST(mg1>0)<2),80,2);drawtext((BARSLAST(mg1>0)<2),90,'波段雄鹰顶');============================{百万预警}Var1p:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,6 0))*80;Var2p:=SMA(Var1p,7,1);Var3p:=SMA(Var2p,5,1);百万预警:IF(CROSS(Var2p,Var3p) AND Var2p<20,85,0),linethick2 , color000999;drawtext(CROSS(Var2p,Var3p) AND Var2p<20,75,'百万预警'),colorf00ff0;drawtext(CROSS(Var2p,Var3p) AND Var2p<20,90,'★'),colorred;============================{漫步青云}DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,27);dje1:=DIFF>=0 and DEA>=0 and CROSS(DIFF,DEA);a5a:=MA(CLOSE,5)>MA(CLOSE,10);v5a:=VOL>MA(VOL,5) and MA(VOL,5)>MA(VOL,10);漫步青云:if(dje1 and a5a AND V5a AND MA(CLOSE,30)>=REF(MA(CLOSE,30),1),60,0),colorf0f000; drawtext(漫步青云,50,'漫步青云' ),coloryellow;{CES}Var00:=LWINNER(1,CLOSE);Var1:=FORCAST(Var00,10);Var2:=MA(Var1,3);Var3:=MA(Var2,12);Var4:=MA(Var3,16);Var5:=MA(Var4,31);Var6:=MA(Var5,55);Var7:=Var5; Var8:=V ar4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var1h:=INDEXC;Var2h:=MA(Var1h,6);Var3h:=MA(Var1h,24);Var4h:=MA(Var1h,32);Var5h:=MA(Var1h,62);Var6h:=MA(Var1h,105);Var7h:=Var5h; Var8h:=Var4h>Var2h*1.11 AND Var3h>Var2h*1.095; Var9h:=Var2h>Var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;CES:if((Var7h AND Var8h AND Var9h AND CLOSE/COST(8)<=0.7985 and (count(c=l,4)<3 or c>ref(c,1)))and pt orVar7 and Var8 and Var9 and CLOSE/COST(5)<=0.8 AND((Var1>OPEN OR Var1>REF(OPEN,1) ORREF(Var1,1))),90,0),stick,linethick4,colorred;drawicon(CES,90,1);============================{黑马初选}黑马初选:if(VOL/240>REF(VOL,30)*1.2/240*1.5 AND CLOSE>LOW*1.06 AND CLOSE>REF(MA(CLOSE,3),1) AND MA(CLOSE,3)>REF(MA(CLOSE,3),1) AND "KD.K"(9,3,3)<50,50,0),colorf00ff0;drawicon(黑马初选,60,1);drawtext(黑马初选,40,'黑马初选'),colorf0f000;============================{蛟龙出海}Var1b:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,15)-LLV(LOW,9))*100; Var2b:=SMA(Var1b,3,1);Var3b:=SMA(Var2b,3,1);Var4b:=CLOSE/MA(CLOSE,3)>=1.05 AND MA(VOL,3)/MA(VOL,20)>1.5 AND COUNT(Var2b<20,20)>=1;蛟龙出海:if(Var4b AND COUNT(Var4b,5)=1,60,0),color00ff00; drawtext(蛟龙出海,50,'蛟龙出海'),colorred;============================{百万探庄}Var1c:=MA(WINNER(CLOSE),9)*100;百万探庄:if(CROSS(Var1c,2.5)*85,80,0),linethick2 , coloryellow,stick; drawtext(百万探庄,70,'百万探庄'),colorred;============================{组合底部}cci:="cci"(14);a:=ref(c,1);rsi:=sma(max(c-a,0),6,1)/sma(abs(c-a),6,1)*100;a1:=c-ma(c,5)/ma(c,5)*100<1;a2:=c-ma(c,13)/ma(c,13)*100<-10;a3:=c-ma(c,34)/ma(c,34)*100<-15;a4:=rsi<18;a5:=cci<-120;组合底部:if(a1 and a2 and a3 and a4 and a5,40,0),colorred; drawicon(组合底部,43,1);drawtext(组合底部,30,'组合底部'),colorf0f000;。

相关文档
最新文档