a1:=(h-c+o-l)/ref(c,1)<0.01;a2:=ma((c-o)/ref(c,1),3)>0.06;aa:=a1 and a2;if(count(ref(aa,1),15)>=1,0,aa)