通达信机构:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
资金持仓进场:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
K:=SMA(资金持仓进场,5,1);{通达信公式-通达信指标-www.gs6699.com}
D:=MA(K,7);
AA:=C>MA(C,10);
选股指标:=BARSLASTCOUNT((K-D>0) AND 通达信机构>20 AND 通达信机构< 80)=1;
CCCC:=C>O OR (C>REF(C,1) AND C< O);
AAAA:选股指标 AND AA AND CCCC;