AreaBB

Area Bollinger Bands
Description
Bollinger Bands were introduced by John Bollinger and are primarily used for presenting the volatility of the stock in an easy to view form. The indicator consists of three lines: an N period simple moving average (SMA) and a line above and below the SMA at a distance of P Standard Deviations from the SMA. This script displays the three lines and fills the region between them with a semi-transparent color.
Category
Extended
Parameters
N ( Default: 20 Min: 5 Max: 300 )
P ( Default: 2 Min: 0.1 Max: 10 )
Chart Script

MID := MA(CLOSE,N);
UPPER: MID + P*STDP(CLOSE,N),Color#8080c0;
LOWER: MID - P*STDP(CLOSE,N),Color#8080c0;
FILLRGN(1,LOWER,UPPER),Brush#200000C0;