OPEN-SOURCE SCRIPT

(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.
ATRAverage True Range (ATR)Keltner Channels (KC)overboughtoversoldVolume Weighted Average Price (VWAP)vwapbands

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項