OPEN-SOURCE SCRIPT
real body range

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
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 creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.