N:=5;
A1:=REF(H,N)=HHV(H,2*N+1);
A2:=BACKSET(A1,N+1);
A3:=FILTER(A2,N) AND H=HHV(H,N+1);
A4:=BARSLAST(A3);
DRAWICON(A3,H*1.02,10);
A5:=REF(A3,1);
A6:=BARSLAST(A5);
A7:=A3<A5;
DRAWLINE(A6,H,A4,H,1);
N:=5;
A1:=REF(H,N)=HHV(H,2*N+1);
A2:=BACKSET(A1,N+1);
A3:=FILTER(A2,N) AND H=HHV(H,N+1);
A4:=BARSLAST(A3);
DRAWICON(A3,H*1.02,10);
A5:=REF(A3,1);
A6:=BARSLAST(A5);
A7:=A3<A5;
DRAWLINE(A6,H,A4,H,1);