MA12:=MA(C,12);

{股价连续3天站稳12日均线,且12日均线走平或向上}
C1:=EVERY(C>MA12,3) AND MA12>=REF(MA12,1);

{MACD金叉,且DIF拐头向上}
C2:=MACD.DIF>=MACD.DEA AND MACD.DIF>REF(MACD.DIF,2);

选股: C1 AND C2;