大智慧条件选股范例2
条件选股公式:X1X2X3GC (股经x线金叉 ) 缺省周期:日线
参数描述: N1(1,50,8)N2(1,100,20)N3(1,100,20)
Var1:=EMA(CLOSE,N1);
Var2:=EMA(CLOSE,N2);
Var3:=EMA(Var1,N3);
Var4:=BARSLAST(CROSS(Var1,Var2));
Var5:=BARSLAST(CROSS(Var1,Var3));
Var6:=BARSLAST(CROSS(Var2,Var3));
Var7:=IF(Var4>=Var5 AND Var5>=Var6 AND Var6=0,1,0);
Var8:=IF(Var1>Var2 AND Var2>Var3,1,0);
Var7 AND Var8;
条件选股公式:XD550 (5日没跌破历史新低一根阳) 缺省周期:日线
LLV(o,150)=ref(l,5) and (ref(c,5)-ref(o,5))/ref(o,5)>0.06
and c>(ref(c,5)-ref(o,5))/2
and ref(c,1)>(ref(c,5)-ref(o,5))/2
and ref(c,2)>(ref(c,5)-ref(o,5))/2
and ref(c,3)>(ref(c,5)-ref(o,5))/2
and ref(c,4)>(ref(c,5)-ref(o,5))/2
条件选股公式:XFDD 缺省周期:日线
aa:="xfabr.br"(10,5);
bb:="xfabr.ml"(10,5);
cross(aa,bb)
条件选股公式:XFQS (雪飞强势股 平均成功率:48.53% *>45) 缺省周期:日线
Var1:=IF(YEAR>=2000 AND MONTH>3,1,1);
Var2:=IF(VOL-REF(VOL,1)<0,VOL,0)/100;
Var3:=EMA(SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*Var2,0),3);
Var4:=MA(Var3,42);
Var5:=VOL*CLOSE*Var1;
Var6:=EMA(Var5,5)/EMA(VOL,5);
Var7:=EMA(Var5,13)/EMA(VOL,13);
Var8:=EMA(EMA(Var5,34)/EMA(VOL,34),3);
Var9:=EMA(Var5,23)/EMA(VOL,23);
VarA:=EMA(Var5,72)/EMA(VOL,72);
VarB:=MA(CLOSE,25)*Var1;
VarC:=VarB+2*STD(CLOSE,25)*Var1;
VarD:=VarB-2*STD(CLOSE,25)*Var1;
VarE:=MA((CLOSE-VarD)/(VarC-VarD)*100,1)*Var1;
VarF:=EMA(VarE,6);
Var10:=EMA(VarF,3);
Var11:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,3);
Var12:=EMA(VarC,3);
Var13:=SLOPE(Var12,4);
Var14:=SLOPE(VarB,2)*Var1;
Var15:=EMA(VOL,5)*Var1;
Var16:=EMA(VOL,10);
Var17:=EMA(VOL,20);
Var18:=CLOSE-REF(CLOSE,1);
Var19:=IF(CLOSE-REF(CLOSE,1)>=0,Var18,0);
Var1A:=REF(CLOSE,1)-CLOSE;
Var1B:=IF(CLOSE-REF(CLOSE,1)<=0,Var1A,0);
Var1C:=SUM(Var19,8)/SUM(Var1B,8);
Var1D:=1-1/(1+Var1C);
Var1E:=EMA(Var1D,3);
Var1F:=EMA(Var1E,8);
Var20:=LLV(LOW,50);
Var21:=HHV(HIGH,50);
Var22:=EMA(CLOSE,2);
Var23:=(Var22-Var20)/(Var21-Var20);
Var24:=EMA(Var23,3);
Var25:=EMA(Var24,14);
Var26:=(Var25+Var1F)/2;
Var27:=EMA(Var26,5);
Var28:=MA(Var24,3);
Var29:=0.2*Var1;
Var2A:=EMA(Var27,20)*Var1;
Var2B:=Var1F*Var1;
Var2C:=Var25*Var1;
Var2D:=0.78;
Var2E:="TYPS.SUN";
Var2F:=EMA(Var2E,4)*Var1;
Var30:=EMA(Var2F,6)*Var1;
Var31:=EMA("TYPS.SW",4)*Var1;
Var3>=Var4 AND Var4>REF(Var4,2) AND Var10>=50 AND Var13>=-0.009 AND Var14>=0 AND
Var2C>Var29 AND Var15>=Var17 AND Var6>Var7 AND Var7>=Var9 AND Var31>=0 AND Var2F>=Var30;
网友评论