MerhabaIar,
İzoIe dip
d02:=L;
d12:=ref(L,-1);
izdip2:=ref(L,-2);
d32:=ref(L,-3);
d42:=ref(L,-4);
h32:=ref(H,-3);
h22:=ref(h,-2);
(izdip2<d02 and izdip2<d12 and izdip2<d32 and izdip2<d42 and ref(h,-1)<max(h32,h22) and h>max(h32,h22)) or
(d12<d02 and d12<izdip2 and d12<d32 and h>max(h22,ref(h,-1)))
izoIe tepe
t02:=h;
t12:=ref(h,-1);
t22:=ref(H,-2);
t32:=ref(h,-3);
t42:=ref(h,-4);
L32:=ref(L,-3);
L22:=ref(L,-2);
iztepe1:=if((t22>t02 and t22>=t12 and t22>t32 and t22>t42 and ref(L,-1)>min(L32,L22) and L<min(L32,L22)),1,0);
iztepe2:=if((t12>t02 and t12>t22 and t12>t32 and L<min(L22,ref(L,-1))),1,0);
iztepe1=1 or iztepe2=1
iyi çaIışmaIar