编写要求:
1.昨日涨停价收盘; 2.今日高开收锤子线阴线; 3.价格在5,10,20,60,均线上方的选股公式。
www.gszx.com.cn网解答:
GT:=C>=1.098*REF(C,1);
DD:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,60);
EE:=(MIN(C,O)-L)>(MAX(C,O)-MIN(C,O))*2 AND (H-MAX(C,O))<(MAX(C,O)-MIN(C,O)) AND C<O AND DD;
FF:REF(COUNT(GT,1)=1,1) AND EE;