.
通达信成功率高的选股指标公式 代码集
{逆势买入}
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(Var3b
AND
Var4b AND
(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,colorf00ff0;
drawtext(逆势买入,40,'逆势买入'),colorf0f000; ============================ {龙战四海:99%成功率,选股条件:龙战四海=65} Var1c:=REF(OPEN,1)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
VOL>REF(VOL,1)
AND AND
MA(VOL,2)=HHV(MA(VOL,2),3) 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
OPENAND
(OPEN-REF(CLOSE,1))/REF(CLOSE,1)<0.05
.
.
AND VOL>MA(VOL,23),40,0),color000999 ; drawtext(旭日东升,35,'旭日东升'),colorf0f000;
============================ {冲灵剑法}
Var1g:=COST(999999999999999999999999999); 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)) MA(CLOSE,5)-MA(CLOSE,10)<0
ABS(MA(CLOSE,5)-MA(CLOSE,10))/MA(CLOSE,10)<0.02
OR AND 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)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;
.