Bollinger Bands Node
Statistical Volatility Bands
Overview
Bollinger Bands are a technical analysis tool developed by John Bollinger in the 1980s that consists of three lines: a middle band (Simple Moving Average) and two outer bands positioned at standard deviations above and below the middle band. The bands dynamically expand and contract based on market volatility, providing a relative framework for price analysis.
The indicator serves multiple purposes: identifying overbought/oversold conditions, detecting volatility changes, spotting potential breakouts, and assessing trend strength. When bands are wide, volatility is high; when bands are narrow, volatility is low. Prices touching or exceeding the bands can signal potential reversals or continuation patterns depending on context.
Formula
Bollinger Bands consist of three lines calculated from price and standard deviation:
💡 Statistical Note: With stdDev = 2, approximately 95% of price data should fall between the bands (assuming normal distribution). Prices outside the bands are statistically significant events that may signal extreme conditions.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| period | number | 20 | Number of periods for the middle band SMA calculation. Standard is 20 (Bollinger's original setting). |
| stdDev | number | 2.0 | Standard deviation multiplier for band width. Typical values: 2 for normal trading, 2.5-3 for wider bands. |
| source | Node | Auto | The root data source node providing price data. Automatically detected from connected nodes. |
⚙️ Configuration Tip: John Bollinger himself noted that 20-period and 2-standard deviation settings work well for intermediate-term trading. Day traders might use 10-period with 1.5-2 std dev. Longer timeframes might use 50-period with 2-2.5 std dev.
Interpreting Bollinger Bands Signals
Price Touching Upper Band
In Uptrend: Strength signal, not necessarily overbought. Strong trends can "walk the band" with price repeatedly touching/exceeding upper band.
In Range/Downtrend: Potential reversal signal, overbought condition. Consider taking profits or preparing short entries with confirmation.
Price Touching Lower Band
In Downtrend: Weakness signal, not necessarily oversold. Strong downtrends can walk the lower band repeatedly.
In Range/Uptrend: Potential reversal signal, oversold condition. Look for long entry opportunities with confirmation from other indicators.
The Squeeze: Narrow Bands
When bands narrow significantly (low volatility), a "squeeze" is forming. This often precedes sharp price movements or breakouts. The longer the squeeze, the more explosive the eventual move. Monitor for directional breakout with volume confirmation.
The Expansion: Wide Bands
Rapidly widening bands signal high volatility and strong momentum. This is where trends accelerate. However, extreme expansion can precede exhaustion. When bands reach historically wide levels, be prepared for consolidation or reversal.
Middle Band as Dynamic Support/Resistance
The middle band (20 SMA) acts as dynamic support in uptrends and resistance in downtrends. Price pulling back to middle band can offer entry opportunities in direction of trend. Breaks through middle band can signal trend changes.
M-Tops and W-Bottoms
M-Top: Price makes two peaks, first exceeding upper band, second failing to reach it. Bearish reversal pattern.
W-Bottom: Price makes two lows, first exceeding lower band, second holding above it. Bullish reversal pattern.
Common Use Cases
1. Mean Reversion Trading
In ranging markets, trade bounces between bands. Buy near lower band, sell near upper band. This strategy assumes price will return to the mean (middle band). Works best when bands are horizontal or slightly sloping, indicating range-bound conditions. Combine with oscillators like RSI for confirmation.
2. Trend Confirmation
In strong trends, price "walks the band" - repeatedly touching or exceeding one band while rarely reaching the opposite band. Upper band walk indicates strong uptrend; lower band walk shows strong downtrend. Don't fade these moves; instead, look for pullbacks to middle band for entries in trend direction.
3. Volatility Breakout Trading
After a squeeze (narrow bands), trade the breakout when price decisively breaks upper or lower band with volume. The direction of breakout often leads to significant moves. Set stops below breakout point and ride the expansion. Most reliable when squeeze duration is extended (20+ bars).
4. Dynamic Stop Placement
Use bands as volatility-adjusted stop levels. For longs, place stops below lower band or middle band depending on risk tolerance. For shorts, place stops above upper band or middle band. This approach adapts to current volatility - wider stops in volatile markets, tighter stops in calm markets.
Advantages & Limitations
Advantages
- •Automatically adapts to volatility changes
- •Provides visual framework for price action
- •Works across all markets and timeframes
- •Multiple applications (mean reversion, trend, breakouts)
- •Statistical foundation (standard deviation)
- •Easy to interpret visually on charts
Limitations
- •Lagging indicator based on historical prices
- •Band touches don't guarantee reversals
- •Can give false signals in strong trends
- •Assumes normal price distribution (not always true)
- •Requires confirmation from other indicators
- •Squeezes can last longer than anticipated
Tips & Best Practices
💡 Don't Trade Band Touches Blindly
A touch of upper/lower band is NOT an automatic reversal signal. Strong trends can walk the band for extended periods. Always consider the larger trend context. Use additional confirmation like divergence on RSI, candlestick patterns, or volume analysis before entering counter-trend positions.
📊 Combine with Volume
Bollinger Band signals are most reliable when confirmed by volume. Breakouts from squeezes should show volume expansion. Band walks on declining volume may indicate weakening trend. Reversals at bands with volume spikes are more significant than those on low volume.
⚡ Identify the Market Regime
Bollinger Bands work differently in trending vs. ranging markets. In ranges, fade band touches (mean reversion). In trends, follow band walks (momentum). Horizontal bands = range (use mean reversion), angled bands = trend (use momentum strategies). Misidentifying regime leads to losses.
⚠️ Watch for Band Squeeze Setup
The squeeze (bands at narrow width) is one of the most powerful patterns. Measure band width: (Upper - Lower) / Middle. When this ratio drops to historical lows, expect explosive moves. Position yourself for breakout in either direction, or wait for directional confirmation before entering. Squeezes often lead to the biggest trends.
🎯 Use Multiple Timeframes
Check Bollinger Bands on higher timeframes for context. A touch of lower band on 5-minute chart is less significant if daily chart shows price in upper band (strong uptrend). Trade in direction of higher timeframe bands. This multi-timeframe approach filters out noise and improves win rate.
Example Strategy
Here's a Bollinger Band squeeze breakout strategy:
Squeeze Breakout System
1Identify the Squeeze
- →Bollinger Bands node: period=20, stdDev=2
- →Wait for bands to narrow significantly (visual inspection)
- →Calculate band width: (UB - LB) / MB. Look for historical lows
- →Ideal: Bands narrowest in 6+ months. Longer squeeze = bigger move
2Wait for Breakout Confirmation
- →Long Signal: Close above upper band with volume spike
- →Short Signal: Close below lower band with volume spike
- →Volume should be 1.5-2× average for confirmation
- →Optional: Use RSI crossing 50 for additional confirmation
3Entry and Stop Placement
- →Entry: On close of breakout candle, or on pullback to middle band
- →Long Stop: Below lower band or below breakout candle low
- →Short Stop: Above upper band or above breakout candle high
- →Position size: Risk 1-2% of account on stop distance
4Profit Management
- →Target 1: 2× initial risk (2R) - take 50% off
- →Target 2: 4× initial risk (4R) - take remaining 50%
- →Trailing Stop: Move to middle band once in profit
- →Exit if bands start narrowing again (next squeeze forming)
💡 Key Insight: This strategy capitalizes on volatility expansion after compression. The tighter the squeeze and longer the consolidation, the more explosive the breakout. Patience during squeeze formation is crucial - wait for clear breakout with volume confirmation.
Related Nodes
ATR (Average True Range)
Another volatility indicator. Use with Bollinger Bands for complete volatility analysis.
RSI (Relative Strength Index)
Combine RSI with Bollinger Bands for overbought/oversold confirmation.
SMA (Simple Moving Average)
The middle Bollinger Band is an SMA. Understand SMA to master Bollinger Bands.
SuperTrend
Uses ATR for volatility-based trend signals, complementary to Bollinger Bands.