单阳:=ex**t((c-ref(c,1))/ref(c,1)*100>涨幅 and vol/ref(ma(vol,5),1)>1.5,n天);调整天数:=barslast((c-ref(c,1))/ref(c,1)*100>涨幅 and vol/ref(ma(vol,5),1)>1.5);hh:=hhv(h,调整天数-1);ll:=llv(l,调整天数-1);振幅:=(h...
a1:=barslast(c/ref(c,1)>=1.098);t1:=count(l>=ref(l,a1),a1)>=a1;t2:=count(h<=ref(h,a1),a1)<=(a1-1);t3:=longcross(c,ref(c,a1),a1) and c>=o;xg:t1 and t2 and t3;