Thank you for your answer.
I know that simply comparing 2 and only 2 consecutive lows/highs it’s a more solid way to spot divergences but I’m tesing at the same time divergences which may occur during an extended period, like the one in the picture.
So these are all valid combinations:
flat price / ascending indicator
flat price / descending indicator
ascending price / descending indicator
descending price / ascending indicator
ascending price / flat indicator
descending price/ flat indicator