Thought I'd share this script.
This has two settings on it which are resolution (timeframe) and the number of bars back to look. The default setting is 1 Week and 2 bars which is the one I like using the most.
The highest high and lowest low are indicated by the thicker red lines on the chart.
Enjoy using this.
Please provide your TradingView username when signing up.
Content on how to use the indicators can also be found on there.