Lipi Reference
Lipi

Functions

talib.dcw()

Donchian channel width over `length` bars, as a single figure. Where `talib.dc` gives you the channel, this gives you how wide it is.

Syntax

                talib.dcw(series int length) → series float
              

Arguments

length required series int

Return Type

series float

Example


          //@lipi=2
indicator("talib.dcw Example", overlay=false)
width = talib.dcw(20)
plot(width, title="Donchian Channel Width", color=color.blue)