a:=ref(every(c/ref(c,1)>1,3),1);b:=asr<ref(asr,1) and scr>ref(scr,1) and c/ref(c,1)>1.03 and dyna**(37)>0.03;a and b and ref(c,1)/ref(c,4)<1.08;测试通过!希望能够帮助你!
涨停:=c>=ref(c,1)*1.1;收盘价下探:cross(ma(c,16),c) and barslast(last(涨停)>=2 or (ref(涨停,2) and 涨停))<9;最低价下探:cross(ma(c,16),l) and barslast(last(涨停)>=2 or (ref(涨停,2) and 涨停))<9;