Narrow Range Days

 

Has anybody coded an indicator that identifies narrow range days? For example, an NR7 day is a day in which the range is the narrowest out of the last 7 days. Does anybody have an indi like this?

Reason: