var1:=sum(if((c>ref(c,1)),v,if((c<ref(c,1)),0-v,0)),0);
var2:=sumbars(v,capital);
var3:=(if((c>llv(c,var2)),1,0-1))*(if((var2),1,0-1));
var4:=if((var3=0-1),1,0);
var5:=(count((var4=1),8)>3);
var6:=((sum(AMOunt,13))/(((amount)/(v))/(100)))/(100);
var7:=DMA((o+h+l+c)/(4),(v)/(var6));
var8:=(((c-var7)/(var7))*(100)<0-17);
var9:=((c-min((ref(c,5))*(0.83),(ref(c,21))*(0.72)))/(c)<0.05);
候鸟:=var8 and var9 and var5;
候鸟精确:=(候鸟>0) and (ref(候鸟,1)=0 );
候鸟抄底:=count(候鸟精确,5) and c>o;
候鸟精确抄底:count(候鸟抄底,5)=1 and 候鸟抄底;