OPEN-SOURCE SCRIPT
Updated

LTP - Risk Ranges

8 338

This indicator shows volume and volatility adjusted risk ranges for the price.

Based on the previous volume in upside (downside) movements and the volatility of these upside (downside) movements a plausible range to the upside (downside) is calculated and drawn.
Release Notes
* Bug fixing
* cleaned up code
Release Notes
* minor fixings
Release Notes
// Version 2.4
// - using linear regression instead of simple moving average in
// order to calculate the deviation
// Version 2.3
// - Adjustment to the calculation of the upwards (downwards)
// deviation
// - range is at least Average True Range from opening price away
// Version 2.0
// - Adding rescaling to the price ranges
Release Notes
Preview picture might have been not okay. Therefore, I am republishing the update

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.