你好!认真分析你原来公式,质量不错,只是差一点,连小阳线涨停也选取了,经分析请看下面有三只5日内曾出信号: aa1:=(o-ref(c,1))/ref(c,1)>=0.06 and(l-ref(c,1))/ref(c,1)>=0.04;zx:=(o-l)/l*100;zt:=(c-ref(c,1))/ref(c,1)>=0.095 and h!l and zx<2 and ...
涨2停:=c>=intpart(ref(c,1)*(1.0995)*100)/100 and c=h and currbarscount<=20; 涨停中处:=ref((h+l)/2,barslast(涨2停)); xg:cross(涨停中处*1.006,c) and not(涨2停) and c>涨停中处*0.995;