I have a code in pine script that shows me the highest and lowest bar for each 24 bars. and sometimes it shows more than 1 highest or lowest bar in a row and that\'s not right.