灵牛中短线选股公式 源码
2013-03-11 10:54:00来源:本站整理浏览:218
Var1:=COST(10)*0;
Var2:=(EMA(CLOSE,4)+EMA(CLOSE,8)+EMA(CLOSE,16))/3;
Var3:=(EMA(CLOSE,8.8)+EMA(CLOSE,17.6)+EMA(CLOSE,35.2))/3;
Var4:=(EMA(CLOSE,22.4)+EMA(CLOSE,44.8)+EMA(CLOSE,89.6))/3;
Var5:=(Var2+Var3+Var4)/3;
Var6:=EMA(Var5,10);
Var7:=CROSS(CLOSE,Var6);
Var8:=CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1);
Var9:=IF(Var2>Var3,Var2,Var3);
VarA:=IF(Var3>Var4,Var3,Var4);
VarB:=IF(Var9>VarA,Var9,VarA);
VarC:=IF(Var2<Var3,Var2,Var3);
VarD:=IF(Var3<Var4,Var3,Var4);
VarE:=IF(VarC<VarD,VarC,VarD);
VarF:=(VarB-VarE)/MA(CLOSE,4)<=0.05;
Var10:=COUNT(Var7,10)=1 AND Var8 AND VarF;
ENTERLONG: Var10 AND REF(BARSLAST(Var10),1)>8 OR BARSSINCE(Var10)=0;
- 上一篇公式:守法必赢主图公式 源码
- 下一篇公式:短逃选股公式 源码