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.
talib.dcw(series int length) → series float| Parameter | Type | Required | Description |
|---|---|---|---|
length | series int | yes | How many bars the channel spans. |
Returns series float — A single series float: the width.
indicator("Donchian channel width")
plot(talib.dcw(20))See also talib.alma · talib.atr · talib.barssince
Part of the function index.
Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.