t1:=(c/ref(c,1)-1)*100>=9.96 and o<c;t2:=count(t1,10)>0;t3:=ref(c,barslast(t2))-ref(o,barslast(t2));t4:=t3/2+ref(o,barslast(t2));xg:cross(c,t4) and t2;希望能帮到你! 20210311
xg:ref(c<o and h/l>1.03,1)and c>o and c/ref(c,1)-1>ref(h/l-1,1)*0.5 and macd.macd(count(ma(c,10)(c,20)and ma(c,20)(c,60),30)=30)and hhv(h,10)/llv(l,10)>1.05;