Fancy Bollinger Bands: The Bollinger Bands That Show You Which Bars Are in the Calculation Right Now
If you have used Bollinger Bands for any length of time, you have probably caught yourself wondering, “Wait, which bars is this band actually built from?” With a 20-period setting, it is the last 20 bars. Everyone knows that in theory, but almost nobody counts out 20 candles on the chart.
Fancy Bollinger Bands (Fancy Bollinger Bands [BigBitsIO]) draws only those 20 bars with bright white lines and a blue fill, and switches everything before them to dim gray lines. On top of that, just to the right of the middle band you get five white dots (forecast points) showing where the middle band would head if price stopped moving here.
Under the hood it is the Bollinger Bands you already know. What changes is the presentation: which bars are building the band, which bar drops out of the calculation next, and which way the middle band is likely to bend are all readable at a glance. I ran it on TradingView from the 1-minute chart all the way up to the weekly, and the display rules are identical on every timeframe, so there is nothing to relearn when you switch timeframes. That alone makes it easy to live with.
Default view: last 20 bars, band history and five forecast points
Fancy Bollinger Bands brightly draws only the bars currently in the calculation.
Vowars DE ver.3.22.0
Start with the figure to get a feel for the overall layout. Figure 1 marks the last 20 bars used in the calculation, Figure 2 the band history before that, and Figure 3 the middle band forecast points.

This is not an indicator that prints buy or sell signals. It is a tool that lays out the raw material for reading the market in a clean, easy-to-scan way: where price sits relative to the bands and the middle line, how the band width is changing, and which way the forecast points lean. When to pull the trigger is up to you, based on what you read from it.
Four Things on Your Chart and What Each One Does
As the figure and screenshot above show, there is not much on screen. With the default settings, these four elements are all you need to know.
| Element | Color / Style | What It Shows |
|---|---|---|
| The three lines in the highlight | Thick white middle band, thin white upper and lower bands | The current band calculated from the last Middle Band Period bars (20 by default) |
| Highlight fill | Blue (default) / green to red based on %B (when switched) | Fills between the upper and lower bands for the same number of bars as the highlight |
| Band history (ghost trail) | Dim gray lines with a very faint fill | The band history before the highlight |
| Forecast points | Five white dots | A rough guide to where the middle band will be 1 to 5 bars ahead |
The Number of Highlighted Bars Is Tied to the Period
The number of highlighted bars is simply the value of Middle Band Period, which sets the middle band length. At the default of 20 you get 20 bright bars; change it to 50 and 50 bars light up. In other words, the left edge of the white band points to the oldest bar still used in the moving average and standard deviation calculation.
Standard Bollinger Bands draw the past band at the same brightness as the current one, so there is no way to tell “today’s band” from “old band.” Fancy Bollinger Bands makes only the current band pop, so you can see exactly where the current lookback window starts without counting bars.
The Band History Stays in Dim Gray
Everything before the highlight is drawn with dim gray lines and a barely-there fill while Show Inclusion Ghost Trail is on. The color is subtle enough to stay out of the way of your candles, but you can still look back and see how wide the bands got in the past. If you do not need the history, turn this setting off and you get a clean view with only the 20 highlighted bars.
The Forecast Points Show Where the Middle Band Is Heading
The white dots apply to the middle band (Middle Band) only. There is no forecast for the upper or lower band. I will cover how the dots are calculated in a moment, but by default they show where the middle band would be 1 to 5 bars from now on the assumption that “the close stays where it is.”
Watch the Left Edge of the Highlight to Get Ahead of Sudden Band Changes
This is the way of reading it that I found most useful with Fancy Bollinger Bands. Bollinger Band width is driven by how spread out the last 20 closes are, so the moment a big bar drops out of the calculation, the bands can suddenly pinch in. Price is calm, yet out of nowhere the bands snap tighter. If you use Bollinger Bands, you have almost certainly seen this happen.
When a big bar drops out of the calculation, the bands snap tight
The bar at the left edge of the highlight drops out of the calculation on the next bar.
Vowars DE ver.3.22.0
In Figure 1, a big bullish candle is still sitting at the left edge of the highlight. That bar falls out of the calculation on the next bar. As Figure 2 shows, the band width shrank to about one third right after it dropped out. Price action barely changed, yet the bands completely changed shape.
With standard Bollinger Bands you only notice this kind of change after it happens. With Fancy Bollinger Bands, just checking whether there is a big bar at the left edge of the highlight lets you think ahead: “How many bars until this one drops out?” and “Once it does, the bands are going to get a lot tighter.”
- Makes it easier to tell whether a squeeze (band contraction) is “volatility genuinely drying up” or “just a big bar dropping out”
- If you fade band touches, you can brace for the bands suddenly pulling in before it happens
- Right after a volatility spike, you can expect the bands to stay wide for as long as that bar remains in the lookback window

Band width is heavily influenced by the biggest mover inside the lookback window. If you treat that bar getting close to the left edge as a possible heads-up that band width is about to change, sudden squeezes are much less likely to catch you off guard.
The Five White Dots: “If Price Stalls Here, Where Does the Middle Band Go?”
At first glance the forecast points might look like a feature that tries to predict future prices. What they actually calculate is much simpler: “If the upcoming closes are set to a certain assumption, what will the middle band be?”
How Neutral (Default) Works
The default Forecast Bias is Neutral. In this mode the moving average is recalculated assuming that the closes 1 to 5 bars ahead are all identical to the current close. Think of the current close replacing the old bars as they roll out of the window.
So if the current close is above the middle band, the dots slope up; if it is below, they slope down. The way the dots line up tells you which way the middle band is likely to bend, or put differently, where the moving average is likely to turn.
Forecast Bias changes where the forecast points go
The forecast points move depending on how you set the upcoming closes.
Vowars DE ver.3.22.0
Bullish and Bearish Shift Future Bars by One ATR
Set Forecast Bias to Bullish and the upcoming closes are calculated as “current close + ATR.” Bearish uses “current close − ATR.” The ATR length is set by Forecast Bias Period (default 14), and the multiplier for the added amount by Forecast Bias Magnitude (default 1).
Compared with Neutral in Figure 1, Bullish in Figure 2 fans the dots sharply higher, while Bearish in Figure 3 dips first and then recovers. Bearish still ends up pointing higher because, even after subtracting one ATR from the current close, that price is still above the closes of the old bars rolling out of the window.
In practice, I found it most useful to flip between “what if the rally continues” and “what if price pulls back here” and compare how much the slope of the middle band changes. If you use the middle band as a reference for buying the dip, the pullback scenario gives you a sense of how high the middle band will have climbed by the time price gets there.
The forecast points are only shown on the latest bar and are recalculated every time a bar closes. No dots are left on past bars, so they are not suited to going back and checking “was the forecast right?”
Also, the dot calculation follows the logic of a simple moving average (SMA). If you switch Middle Band Type to EMA or HMA the dots are still drawn, but they may not line up cleanly with the middle band, so with anything other than SMA it is safer to read them as a rough directional guide. When you pick a different timeframe in Middle Band Resolution, the forecast points are not shown.
Switch to %B Coloring and Read Price Position Inside the Bands by Color
The default fill is solid blue. Turn Use Basic Fill – No Gradient off and the fill switches to six color levels based on %B (Percent B). %B tells you where the close sits when the lower band is 0 and the upper band is 1. With equal upper and lower multipliers, 0.5 is exactly the middle band.
%B coloring shows where the close sits by color
Turn off Use Basic Fill – No Gradient and the band fill changes in six levels based on %B.
Vowars DE ver.3.22.0
As in Figure 1, bars that close above the upper band get the darkest green. In Figure 2 price has started to drop, but the fill stays green while the close is above the middle band. Once price sinks toward the lower band as in Figure 3, it turns deep red.
| %B Range | Fill Color | Where the Close Is |
|---|---|---|
| Above 1 | Darkest green | Outside the upper band |
| 0.75 to 1 | Medium green | Near the upper band |
| 0.5 to 0.75 | Light green | Slightly above the middle band |
| 0.25 to 0.5 | Light red | Slightly below the middle band |
| 0 to 0.25 | Medium red | Near the lower band |
| 0 or below | Darkest red | Outside the lower band |
Because the color steps are fine-grained, you can tell which side of the band price is leaning toward without eyeballing the distance to each line. In particular, watching the green fade as a rally goes on was a handy way to spot momentum cooling off. If solid blue feels calmer to you, there is nothing wrong with leaving it. This one is purely personal preference.
Choose How the Bands Expand: Standard Deviation or ATR
Standard Bollinger Bands are plotted a set number of standard deviations away from the middle band. In Fancy Bollinger Bands, turning on Use ATR Deviation Instead of Standard Deviation? lets you plot the bands with ATR (average true range) instead of standard deviation.
Standard deviation vs. ATR: how the bands expand
Turn on Use ATR Deviation Instead of Standard Deviation? and band width is based on the candle range (ATR).
Vowars DE ver.3.22.0
In the standard deviation version in Figure 1, the bands balloon as the rally spreads the closes out. Then, once price goes sideways, they collapse all at once as in Figure 2. Standard deviation measures how scattered the closes are, so the stronger the trend, the wider the bands get, and they snap tight as soon as it stalls.
The ATR version in Figure 3, on the other hand, is based on the range of each candle, so the band width stays much steadier. During the rally, price keeps running outside the upper band and spends a lot more time outside the bands. It behaves more like a Keltner Channel, so it suits traders who want to gauge trend strength by “how long price stays outside the bands”. The ATR length can be changed with ATR Deviation Period (default 14).
Adjust the Upper and Lower Bands Independently
The multipliers are set separately with Upper Band Deviation Multiplier and Lower Band Deviation Multiplier. Both default to 2. For example, if you want to catch pullbacks in an uptrend, lowering only the lower multiplier lets you use the lower band as a guide for shallower dips. The right value depends on the market and timeframe, so check how deep pullbacks typically run on past charts before you commit.
On top of that, Upper Band Smoothing Period and Lower Band Smoothing Period apply a moving average to the upper and lower bands to smooth them out. The default of 1 means “no smoothing.” Larger values reduce the jaggedness but add lag. The smoothing type is selected with Upper Band Smoothing MA Type and Lower Band Smoothing MA Type.
Change the Middle Band Type and the Whole Band Reacts Faster or Slower
Middle Band Type lets you pick from nine moving averages for the middle band: RMA, SMA, EMA, WMA, HMA, DEMA, TEMA, VWMA and ALMA. The default is SMA, the same as standard Bollinger Bands.
Middle Band Type changes how fast the middle band reacts
Even with the same period of 20, changing the moving average type changes when the middle band turns.
Vowars DE ver.3.22.0
The SMA in Figure 1 stays almost flat through the pullback and feels very steady. The EMA in Figure 2 weights recent bars more heavily, so it reacts by tilting down slightly. The HMA in Figure 3 tracks the trough almost in real time, and the upper and lower bands swing widely along with the middle band.
One thing to keep in mind: the band width (standard deviation) is calculated from the same length and the same closes regardless of the middle band type. Only the middle band speeds up, so choosing a fast moving average like HMA makes the whole envelope hug price. Use a fast type if you want early warning of trend changes, and stick with SMA if you want to read band touches calmly.
| Type | Speed | Best For |
|---|---|---|
| SMA (default) | Standard | Using it just like regular Bollinger Bands |
| EMA・WMA | Slightly faster | Giving a bit more weight to recent price action |
| RMA | Slower | An even smoother middle band |
| HMA・DEMA・TEMA | Fast | Catching trend turns early |
| VWMA | Depends on volume | Giving more weight to high-volume bars |
| ALMA | Slightly faster and smooth | Cutting noise while reducing lag |
You can also change the price used in the calculation (close by default) with Middle Band Source. Using the average of high and low can steady the middle band on markets that print a lot of long wicks.
All Settings and How to Combine Them for Your Goal
There are quite a few settings, but most of them fall into two groups: ones that change how things look and ones that change how the bands are calculated. Let’s start with the calculation settings.
Settings That Affect the Band Calculation
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| Middle Band Period | 20 | 20 | Length of the middle band and standard deviation. Also sets the number of highlighted bars. Higher values smooth the bands; lower values make them react faster |
| Middle Band Type | SMA | SMA | Moving average type for the middle band (9 types) |
| Middle Band Source | close | close | Price used in the calculation |
| Middle Band Resolution | 00 Current | 00 Current | Calculates the bands on another timeframe. Forecast points are hidden unless set to Current |
| Middle Band Candle Type | 00 Current | 00 Current | Uses Heikin Ashi, Renko or other chart-type data for the band calculation |
| Upper Band Deviation Multiplier | 2 | 2 | Upper band multiplier |
| Lower Band Deviation Multiplier | 2 | 2 | Lower band multiplier |
| Use ATR Deviation Instead of Standard Deviation? | Off | Depends on your goal | When on, band width is set by ATR instead of standard deviation |
| ATR Deviation Period | 14 | 14 | ATR length used when plotting the bands with ATR |
| Upper Band Smoothing Period | 1 | 1 | Smoothing for the upper band. 1 means no smoothing |
| Upper Band Smoothing MA Type | SMA | SMA | Moving average used to smooth the upper band |
| Lower Band Smoothing Period | 1 | 1 | Smoothing for the lower band. 1 means no smoothing |
| Lower Band Smoothing MA Type | SMA | SMA | Moving average used to smooth the lower band |
The suggested values stay close to the defaults because a 20 period with a 2 multiplier is the most widely used Bollinger Bands baseline. When many traders are watching the same bands, band touches and returns to the middle band tend to get more attention. Get used to how things look on this baseline first; there is no rush to change anything until you have a clear reason.
Display Settings
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| Middle Band Visible | On | On | Shows the middle band. Turning it off hides the middle band and the forecast points |
| Highlight Inclusions | On | On | Draws only the bars in the current calculation brightly |
| Show Inclusion Ghost Trail | On | On | Keeps the band history before the highlight in dim gray |
| Forecast Bias | Neutral | Neutral | Assumption for the forecast points. Bullish/Bearish shift future bars by ATR |
| Forecast Bias Period | 14 | 14 | ATR length used for Bullish/Bearish |
| Forecast Bias Magnitude | 1 | 1 | ATR multiplier applied for Bullish/Bearish |
| Show Forecasts | On | On | Shows the forecast points |
| Hide Fill | Off | Off | When on, hides the band fill |
| Use Basic Fill – No Gradient | On | Personal preference | On: solid blue. Off: six-level fill based on %B |
| Show Details | Off | On only when needed | Shows a value label above the latest bar |
Highlight Inclusions is the whole point of Fancy Bollinger Bands, so I recommend leaving it on. Turn it off and you lose the display that separates the current lookback window from the rest.
Check All the Latest Values at Once with Show Details
Turn on Show Details and a label appears above the latest bar listing the upper band, middle band and lower band values, %B and band width. The label always sits on the latest bar only and moves along as new bars print.
Show Details lists the latest bar's values
Turn on Show Details and a label above the latest bar shows the three band values, %B and band width.
Vowars DE ver.3.22.0
In the example in Figure 1, %B is about 0.74, so the close is in the upper part of the bands. Band width is “the distance between the upper and lower bands divided by the middle band,” which is handy when you want to compare how tight a squeeze is in numbers. The label is fairly large, so switching it back off once you have checked the values keeps your chart cleaner.
Setups by Goal
| Goal | What to Change | Why |
|---|---|---|
| Look for mean-reversion entries on band touches | Keep the defaults | 20 period with a 2 multiplier is the baseline. Watch for big bars at the left edge of the highlight to prepare for sudden band changes |
| Measure trend strength | Turn on Use ATR Deviation Instead of Standard Deviation? | Band width settles down, and you can read momentum by how long price runs outside the bands |
| Spot turns earlier | Set Middle Band Type to EMA or HMA | The middle band turns sooner. Read the forecast points as a rough guide |
| See price position inside the bands by color | Turn off Use Basic Fill – No Gradient | The fill is colored in six levels from green to red based on %B |
| Overlay higher-timeframe bands | Pick a higher timeframe in Middle Band Resolution | Forecast points are no longer shown. The bands keep moving until the higher-timeframe bar closes |
Six Alerts: Which Line Was Crossed, and in Which Direction
Six alert conditions are built in. For each of the three lines (the middle band, upper band and lower band), you can choose between the close crossing above and crossing below.
The six available alert conditions
Each of the three lines has a crossover and a crossunder alert.
Vowars DE ver.3.22.0
Trend followers can use “3 – Close crossover Upper Band” to get notified when price reaches the upper band, while dip buyers waiting for a pullback can use “2 – Close crossunder Middle Band” to catch a break below the middle band. For mean-reversion traders, the handy ones are Figure 1 and Figure 2, which catch the moment price comes back inside after closing outside the bands.
Alerts are evaluated on the close, but the close keeps moving while a bar is still forming. Setting the alert trigger to fire only once when the bar closes (Once Per Bar Close) means you will not get pinged by intrabar moves that cross the line for a split second. The upper and lower band alerts use the lines after smoothing (Band Smoothing) is applied.
Using It on a Live Chart: Read Ranges and Trends Differently
How you read Fancy Bollinger Bands changes a little depending on whether the market is ranging or trending. Here is the routine I settled on after testing it.
1 Sort the Market by Band Width and Middle Band Direction
If the middle band is flat and band width is stable, treat it as a range. If the middle band is sloping and price is hugging one band, treat it as a trend. Whether the forecast points line up in the same direction as the middle band is another quick check on bias.
2 In a Range, Watch Band Touches and Re-entries
In a range, the upper and lower bands tend to act as reversal zones, and bars that close back inside after being outside the bands (alerts 4 and 5) are the ones to watch. That said, when there is a big bar at the left edge of the highlight, the bands will suddenly tighten the moment it drops out, so keep in mind that the band levels themselves may shift.
3 In a Trend, Confirm the Band Walk Is Holding
In strong trends, price often keeps riding along the upper band (or the lower band in a downtrend), which is known as “walking the bands.” Treating band touches as a fade signal here usually means fighting the trend. It is easier to judge whether a band walk is still intact if you confirm momentum with a second indicator.
4 Use the Forecast Points to Map Out the Middle Band’s Next Move
If you use the middle band as a reference for buying the dip or selling the rally, toggle Forecast Bias and check how far the middle band would travel in both a pullback and a continuation scenario. It gives you something concrete to work with when placing limit orders.
Pairing Example: Gauge Band-Walk Momentum with Aroon
The indicator that paired best with band walks was TradingView’s built-in Aroon. Aroon Up measures how many bars ago the highest high of the last 14 bars occurred, on a scale of 0 to 100, and it hits 100 right after a new high prints. During a band walk, new highs keep coming, so it tends to stay pinned near 100.
During a band walk, confirm momentum with Aroon
When price rides the upper band, Aroon shows whether new highs keep coming.
Vowars DE ver.3.22.0
While price climbs along the upper band in Figure 1, Aroon Up holds near 100 in Figure 2. Then, once new highs stop printing as in Figure 3, Aroon Up starts to roll over. Even though price is still in the upper half of the bands, you can read that momentum is cooling off.
With Bollinger Bands alone, it is easy to be late in judging whether price is still riding the upper band or already starting to peel away. Adding Aroon lets you confirm in numbers that new highs have stopped. It is not too late to think about fading the upper band once Aroon Up has started to drop.
A few other indicators also make good partners:
- Chaikin Money Flow (CMF) shows whether money is flowing in or out when price tags a band, which helps you judge how much to trust a reversal
- Keltner Channels let you use the standard deviation bands slipping inside the Keltner Channel as a sign of volatility compression (a squeeze)
- Williams %R is good for checking whether a short-term overbought or oversold reading lines up with a band touch in a range
What I Found Reliable, and What to Keep in Mind
Where Fancy Bollinger Bands Shines
- The bars in the calculation are drawn brightly, so you can see right away which bars are building the bands
- Just watching the left edge of the highlight lets you prepare for sudden band changes when a big bar drops out
- The forecast points let you anticipate how the middle band’s direction is likely to change
- The six-level %B fill shows price position inside the bands by color
- You can fine-tune the bands’ character with standard deviation or ATR, nine moving averages and separate upper/lower multipliers
- Six alerts for crosses above and below the middle, upper and lower bands
Good to Know Before You Use It
- There are no buy or sell signals, so you need to build your own entry logic
- Forecast points are only shown on the latest bar, so you cannot review past forecasts
- The forecast calculation follows SMA logic, so treat it as a rough guide with other moving averages
- When calculated on a higher timeframe or on Heikin Ashi, Renko and similar chart types, band values move until the bar closes
- There are a lot of settings, so it takes a little while to get familiar with all of them
Repainting and What to Watch When Reviewing Past Charts
With the default settings (both Middle Band Resolution and Middle Band Candle Type set to 00 Current), band values on confirmed bars never change after the fact. On the bar that is still forming, the bands and forecast points move with every tick of the close, but that is exactly how standard Bollinger Bands behave too.
On the other hand, if you pick a higher timeframe in Middle Band Resolution, the band values keep moving in real time until the higher-timeframe bar closes. When you reload the chart, the historical part is redrawn with confirmed values, so what you saw in real time and what you see afterward can look different. The same caution applies to Middle Band Candle Type, where you can choose Heikin Ashi, Renko, Kagi and others, because those use data built differently from regular candles.
The highlight always covers “the last Middle Band Period bars counted from the latest bar.” Each new bar shifts the highlight to the right, and the section that was bright turns dim gray. No values have changed, but when you play back the past with Bar Replay, the highlight moves relative to the latest bar at that point, so keep the reference bar in mind when comparing.
Also, if you backtest on past charts with higher-timeframe or non-standard chart settings, the results can look cleaner than they would have in real time. When testing different settings, comparing them side by side with a chart on the default settings gives you peace of mind.
How It Looks Across Timeframes and Markets
The display rules are the same on every timeframe, but the time span covered by the 20 highlighted bars varies a lot. On the 1-minute chart it is 20 minutes, on the 4-hour chart a little over three days, and on the weekly chart about five months.

On a higher timeframe like the weekly, the highlight spans several months, so you end up reading it as “the band built from the last five months or so.” On the 1-minute or 5-minute chart, by contrast, a sharp move from tens of minutes ago drops out almost immediately, so sudden band changes happen all the time. My impression is that the lower the timeframe, the more it pays to check the left edge of the highlight.

In terms of markets, reading the left edge of the highlight is especially useful on instruments that see frequent sharp moves, such as crypto that trades 24/7 or gold (XAUUSD) with its big swings. The more often big bars enter and leave the lookback window, the more often the highlight can explain why the bands suddenly changed.
Fancy Bollinger Bands: Bollinger Bands for Seeing What Is Inside the Band
Fancy Bollinger Bands does not overhaul the Bollinger Bands math. Instead, it makes visible which bars are building the bands and what is likely to happen next. Watch the left edge of the highlight to prepare for sudden band changes, and use the forecast points to anticipate shifts in the middle band’s direction. Those two habits alone take your usual Bollinger Bands reading up a level.
ImageOn top of that, with %B coloring, the switch to ATR, the choice of middle band type and separate upper/lower multipliers, there is plenty of room to tune the bands to your own style, and the longer you have used Bollinger Bands, the more likely you are to find settings worth trying. Start by adding it to your chart with the default settings and keep an eye on the left edge of the highlight and those five white dots.









