ta.bbw
Bollinger Bands width: (upper - lower) / middle.
ta.bbw(series: float, length: simple int, mult: float) -> series float
Parameters
seriesfloat: The values to use, usually close or another price; a series that may change on every bar.lengthsimple int: Number of bars, a whole number from 1 to 5000 (a fraction is cut off). Known before the first bar: a literal or an input, never a series. Outside 1 to 5000 the script stops with a runtime error. Bars of the middle line and the standard deviation.multfloat: How many standard deviations the bands sit from the middle line.
Example
ta.bbw(close, 20, 2)