Highlights point of largest positive and negative candle ranges based on the look back length. Works for all time frames May have some value added for points of support and resistance relative to the buyer and sellers associated with that specific candle.

For the sake of keeping the chart clean I elected to eliminate the first data point and used the "linebr" style and fill plots. I also used //@version=2 which works better for the fill plots. //@version=3 seemed to jam me up so if you edit and run with it you may need to retain the version=2 configuration. If you find an alternative method that works for version=3 please give me a shout. Apply at your own risk and discretion.

Squam
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?