J-Streak

(JS) Interchanging ATR & VWAP Bands

Okay so this is pretty simple, but I think it's a great tool for day trading especially. I just took the default VWAP and Keltner channel scripts and combined them together.

The top option allows you to choose which one you'd prefer to use, "Use ATR instead of VWAP".

The next options, "ATR Source", "KC Length", and "ATR Length" are the parameters for the ATR Bands.

"Number of Bands" allows you to choose how many bands you'd like to be on display (you can choose 1-8).

"Use Expoential MA" and "Band Style" are more default parameters from Keltner Channels used to set up the ATR Bands.

The "ATR Bands" are just stacked Keltner Channels separated by 1 ATR each, whereas the "VWAP Bands" are separated by standard deviation just like the default script from Trading View.

In these example chart, you can see the weekly VWAP with 8 deviation bands and 5 ATR bands with Keltner Channels.
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?