Thanks Mrtools.
The indicator calculates correctly when Regularized MA and BB options are "True".
However, when "Use regularized BB ma" is set to "False", then the indicator fails to use the other Bands ma method. For example, in the attached screenshot, I was expecting it to use Simple Moving Average for the bands but it is not working.