OPEN-SOURCE SCRIPT

HSRL - historical support resistance lines

HSRL provides an indicator of how support and resistance are changing over time. It calculates the percent change in lows, and percent change in highs, then plots them. The HSRL is calculated as the support change - the resistance change. Can be effective in confirming trends, with green being the most bullish, yellow being semi bullish and red being a bearish indicator, where resistance and support are falling.
Support and Resistance

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer