XD1:=EMA(C,5);
XD2:=EMA(C,10);
XD3:=EMA(C,30);
XD4:=2*(XD1-XD3);
XD5:=2*(XD1-XD2);
XD6:=2*(XD5+XD4);
H1:=DYNAINFO(7)>5 AND DYNAINFO(7)<20;{股价取5至20元}
H2:= CAPITAL/1000000<3; {流通盘3亿}
停牌:=DYNAINFO(4)=0;
{ _通达信股票指标公式}
粉丝:=crOSS(XD6,0) AND H1 AND H2 AND IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1) AND NOT(停牌);
S1:=NOT(COUNT((O-REF(C,1))/REF(C,1)<-0.11,10)>=1);
S2:=EMA(C,2)-EMA(C,7);
XG:=IF(REF(S2,1)<-0 AND S2>0 AND S1,1,0);
选股:=XG AND "macd.DIF">="MacD.DEA" AND "MACD.MACD">= REF("MACD.MACD",1);
粉丝选股:粉丝 AND 选股;