TradeZoro
Notifications

Cookbook

Keltner channel

An average with bands from average true range.

//@zscript 1
indicator("Keltner", overlay=true)
[mid, up, lo] = ta.kc(close, 20, 1.5)
p1 = plot(up, "Upper", color=color.orange)
p2 = plot(lo, "Lower", color=color.orange)
plot(mid, "Middle", color=color.gray)
fill(p1, p2, color.new(color.orange, 93))
50325039504650535060
Sample bars, not market data. Keltner.

How it works

Same idea as Bollinger Bands, but the width follows the typical bar size (ATR) rather than standard deviation.

Education only. Not financial advice. Examples are teaching samples, not trading results.

Zscript is coming soon

The manual opens when Zscript launches.

Back to home