An indicator which shows how close a close of a candle is to its high or low

Is there anything like this available for free?

I have had a look around via google etc but not sure exactly how this would be worded.

I would basically like an indicator which might for example, highlight all candles which have closed close to the high (for a bullish) and close to the low for a bearish. It might only highlight candles within 20% of the high/low.

If anyone has an indicator they might recommend it would be greatly appreciated. Thank you.