Adaptive ATR Keltner Channels [Loxx]

Adaptive ATR Channels are adaptive Keltner channels . ATR is calculated using a rolling signal-to-noise ratio making this indicator flex more to changes in price volatility than the fixed Keltner Channels .

What is Average True Range (ATR)?
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.1

The true range 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.

What are Keltner Channel (ATR)?
Keltner Channels are volatility-based bands that are placed on either side of an asset's price and can aid in determining the direction of a trend.

The Keltner channel uses the average-true range (ATR) or volatility , with breaks above or below the top and bottom barriers signaling a continuation.

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.


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?