本人所用選股公式如下(通達(dá)信):
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
A1:=MA10>=REF(MA10,1) AND MA10>MA20 AND
MA20>=REF(MA20,1);
A2:=MACD>=REF(MACD,1) AND REF(MACD,1)<=REF(MACD,2);
A3:=CLOSE>=REF(CLOSE,1) AND REF(CLOSE,1)<=REF(CLOSE,2);
A1 AND (A2 OR A3);
可能會(huì)選出幾百個(gè),然后根據(jù)14字原則目測(cè)。
|