选股条件:
条件如下:1、均线多头 限制流通盘;
2、距离底部涨幅不超过30%;
3、连续2天小阴线或十字星 不破10日线。
编写源码:
A:=MA(C,5)>=MA(C,10) AND MA(C,10)>=MA(C,20) AND MA(C,10)>=REF(MA(C,10),1) AND MA(C,20)>=REF(MA(C,20),1) AND HHV(C,7)/LLV(C,60)<=1.30;
AA:=L>=MA(C,10) AND REF(L,1)>=REF(MA(C,10),1) AND CAPITAL/1000000<{N亿};
AAA:=C<=O AND C<REF(C,1) AND (REF(C,1)-C)/REF(C,1)<0.02 AND REF(C,1)<=REF(O,1) AND REF(C,1)<REF(C,2) AND (REF(C,2)-REF(C,1))/REF(C,2)<0.02;
A AND AA AND AAA;