OPEN-SOURCE SCRIPT

CBG Keltner Channels

Updated
Keltner Channel with the following Moving Average types: SMA, EMA, Weighted, Hull, Symmetrical, Volume Weighted, Wilder and Linear Regression. Plus 2 bands with full color shading.

The picture shows the Keltner channels with the Wilder MA, my favorite. See how easy it would have been to stay in the move down? Excellent indicator.
Release Notes
This update includes:

BarColors can be painted based on the candles close above or below the midline.

The middle region can be shaded only on the side of the closing price.

Finally, the background can also be shaded based on the moving average.

All shading and painting can be turned on or off on the properties window.

Enjoy!
Release Notes
Added 3 new paintbar strategies, one of which takes advantage of the next new feature, an additional control moving average.


4 Paintbar strategies

1. Simple MA above or below

2. Break of band 1. Stays on until break of opposite band

3. Break of band 1. Goes to neutral if on opposite side of MA.

4. Add a control MA (like the 200 hma) and price must also be on the same side as that
Exponential Moving Average (EMA)Keltner Channels (KC)Linear RegressionMoving Averagessmasymmetricalmawilder

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer