S1:=IF(CODELIKE('300'),0,1);
{创业板 }
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
{去掉停牌 >=}
S4:=DYNAINFO(17)>0;
换手率:=V/CAPITAL*100;
JB:=S1 AND S2 AND S3 AND S4 AND 换手率<20;
EXPMA多头排列:=EXPMA(C,9)>=EXPMA(C,21);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
{http://}
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离macdx:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA) AND JB;