aa:=100*(c-llv(l,5))/(hhv(c,5)-llv(l,5));
bb:=100*(c-llv(l,10))/(hhv(c,10)-llv(l,10));
cc:=100*(c-llv(l,20))/(hhv(c,20)-llv(l,20));
dd:=100*(c-llv(l,30))/(hhv(c,30)-llv(l,30));
候鸟:=barslast(cross(30,aa)) 2 and barslast(cross(aa,50)) 2 and barslast(cross(dd,aa)) 2 and aa dd and dd
候鸟888:=c max(ma(c,5),ma(c,10)) and c ma(c,30) and c o and count(c =o,10) 4 and count(c/ref(c,1) 1.097,120) and ma(c,30) ma(c,60) and ma(c,60) ma(c,120) and ma(c,120) ma(c,250);
候鸟拐点买入:候鸟 and 候鸟888;