Bollinger Bandwidth Delta oscillator displays a relative width of Bollinger Bands for a specified period of time.
There are five inputs:
Calculation:
BBD = 100.0 * (Bandwidth-DeltaBandwidth) / DeltaBandwidth
BBD = (Bandwidth-DeltaBandwidth) / Points
where:
Bandwidth = 2.0 * BB deviation * StdDev/MA DeltaBandwidth - Bandwidth Delta value 'period' bars ago StdDev - Standard Deviation(Applied price,BB period) MA = SMA(Applied price,BB period)

Fig. 1. Bollinger Bandwidth Delta in points

Fig. 2. Bollinger Bandwidth Delta in %
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/22342