一个自用的选股指标,自己编写的,用了一段时间,感觉还不错,每天都有涨停板,自己检验一下。
{一阳2线}
N2:=0.05;{涨幅限制}
N3:=1;{量比}
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,30);
MA4:=MA(CLOSE,60);
MO01:=MA(REF(C,1),5);
MO02:=MA(REF(C,2),5);
MO03:=MA(REF(C,3),5);
MB01:=MA(REF(C,1),10);
MB02:=MA(REF(C,2),10);
MB03:=MA(REF(C,3),10);
MC01:=MA(REF(C,1),30);
MC02:=MA(REF(C,2),30);
MC03:=MA(REF(C,3),30);
MD01:=MA(REF(C,1),60);
MD02:=MA(REF(C,2),60);
MD03:=MA(REF(C,3),60);
MI:=DYNAINFO(7);
B1:=MO01>=MO02 AND MO02>=MO03;
B2:=MB01>=MB02 AND MB02>=MB03;
B3:=MC01>=MC02 AND MC02>=MC03;
B4:=MD01>=MD02 AND MD02>=MD03;
B5:=MA4<=MA3 AND MA3<=MA2;
ME01:=DYNAINFO(6);
ME02:=DYNAINFO(5);
B6:=ME01<=MIN(MA1,MA2);
B7:=ME01>=MAX(MA1,MA2);
B8:=MI>=MAX(MA1,MA2);
B9:=DYNAINFO(14)>=-0.015 AND DYNAINFO(14)<=N2;
B10:=REF(C,1)/REF(C,2)*100<=105 AND DYNAINFO(8)>0;
B11:=DYNAINFO(17)>=N3 AND O/REF(C,1)*100>=85;
XG:B1 AND B2 AND B3 AND B5 AND B8 AND B9 AND B10 AND B11;