Volatility measures how large price moves are: when calm, price barely moves; when agitated, it moves a lot. Band indicators draw a channel around price whose width follows that volatility, and the signal appears when price leaves the channel or strays too far from it.
Algo Signals’ band and volatility indicators
- Bollinger Bands (boll): a simple average (20) and two bands at 2 standard deviations. In Algo Signals the logic is mean reversion: bullish signal when the close touches or goes below the lower band, bearish when it touches or goes above the upper band.
- Keltner Channel (keltner): an exponential average (20) and bands at 2 × the ATR (10). Breakout logic: bullish when price closes above the upper band, bearish below the lower band, back to neutral when it recrosses the average.
- Donchian Channel (donchian): bullish when price closes above the highest high of the previous 20 candles, bearish below the lowest low; the state is kept until the opposite breakout.
- Squeeze (squeeze): spots a Bollinger band width among the lowest 20% of the last 100 candles, then a close outside the bands. Bullish if the exit is upward, bearish downward. A one-candle signal.
- Volatility expansion (volexp): a candle whose range exceeds 1.8 times the average range of the previous 20, in the candle’s direction and on the right side of the 200 average.
- Z-score (zscore): measures price’s distance from its average (20) in standard deviations. Buy if the z-score is below −2 and price above the 200 average; sell if it exceeds +2 below that average.
- VWAP deviation (vwapdev): a volume-weighted average price over 50 candles (real volume when available, otherwise estimated). Buy if price falls more than 1.5 standard deviations below the VWAP while staying above the 200 average; mirrored for sells.
How to read the signal
First know whether the indicator reasons in mean reversion (Bollinger, z-score, VWAP: betting that price comes back) or breakout (Keltner, Donchian, squeeze, expansion: betting that the exit from the channel continues). The two logics oppose each other: the same price can give a buy signal to one and a sell signal to the other.
Main settings
- The period and the multiplier: tighter bands (2 deviations, 1.5…) give more signals, wider ones fewer.
- For the squeeze: the observation window (100) and the share of widths considered “low” (20%).
- For z-score, VWAP, expansion: the trend average (200) that filters the direction of signals.
The limits
- In a strong trend, price can hug a band for a very long time: buying every touch of the lower band means betting against the trend.
- A breakout can be false: price immediately falls back into the channel.
- Volatility changes with the asset and the timeframe: a setting that works on one does not necessarily work on another.
📝 Lesson test
Log in to take this lesson’s test. Once you have passed all the tests, you will receive a certificate in your name.
Log inThese lessons are for understanding and are not investment advice. No method guarantees winning.