你好,我的这个绝对满足你的要求
COUNT(C/REF(C,1)*100-100>=9.9,5)>=2;
{参数:n m }
AA:=(C-REF(C,1))/REF(C,1)>0.099;
BB:AA AND COUNT(A,5)=1;
CC:BETWEEN(BARSLAST(BB),3,30) AND CROSS(REF(O,BARSLAST(BB)),C);
BUYOK:BETWEEN(BARSLAST(COUNT(AA,5)>=4);, 1, n);
SELLOK:BETWEEN(BARSLAST(CC),1,m);
{ 你试试吧 }