BandWidth

BandWidth
Description
Bandwidth is a relative measure of the width of the Bollinger Bands.
Category
Bands Indicators
Parameters
N ( Default: 20 Min: 5 Max: 300 )
P ( Default: 2 Min: .1 Max: 10 )
Chart Script

MID:= MA(CLOSE,N);
UPPER:= MID + P*STDP(CLOSE,N);
LOWER:= MID - P*STDP(CLOSE,N);
BandWidth: (UPPER - LOWER) / MID;