OPEN-SOURCE SCRIPT
Updated

Volatility Pivot Support and Resistance [Loxx]

8813
Volatility Pivot Support and Resistance [Loxx] calculates "pivots" (support/resistance lines) based on current symbol/timeframe Average True Range calculated volatility.

What is Average True Range?
The average true range (ATR) is a technical analysis indicator, introduced by market technician J. Welles Wilder Jr. in his book New Concepts in Technical Trading Systems, that measures market volatility by decomposing the entire range of an asset price for that period.

The true range indicator is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close. The ATR is then a moving average, generally using 14 days, of the true ranges.

Included:
-Bar coloring
Release Notes
Updated calculation.

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.