Bollinger Bands (BB)
Indicator used to show upper and lower limits of potential price movements.
Bollinger Bands (BB) are an indicator used to show upper and lower limits of potential price movements. Based on standard deviation, the spacing of the bands widens as markets become more volatile, then becomes narrower as prices stabilize. For signals, Bollinger Bands can be used to identify M-Tops and W-Bottoms or to determine the strength of the trend.
Trading application
The upper and lower bands represent the limits of typical price move deviation. When the price breaks these limits, it can be used as an entry signal to open a new trading position. The closer the prices move to the upper band, the more overbought the market can be said to be. The closer the prices move to the lower band, the more oversold the market is, triggering a buy signal.
The Squeeze or BB Squeeze is the central concept behind using Bollinger Bands indicators. When the market becomes too slow and there is low volatility, the price moves sideways and the Bollinger upper and lower bands become closer to each other. Traders consider this a potential sign of increased volatility and possible trading opportunities. The wider the bands move, the more likely the chance of decreased volatility and the greater the possibility of exiting a trade.
Calculation
Parameters
Input Parameters
Name | Type | Range of value | Description |
| double | (0, double.MaxValue) | Standard deviation of bollinger bands. |
| int | <1, int.MaxValue> | Number of bars used in the calculation. |
Output Parameters
Indicator ouptuts an object of values.
Name | Type | Range of value | Description |
| double | (0, double.MaxValue) | Upper band output value. |
| double | (0, double.MaxValue) | Middle band output value. |
| double | (0, double.MaxValue) | Lower band output value. |
Examples
Complete example
Last updated