The original code is from Bands.mq4 by MetaQuotes Software Corp.
Bollinger Bands with customizable moving average method and applied price.
Available moving average methods:
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.