Skip to content
Script type
Indicator
Source code
Open-source
Purpose
Trade signals

Butterworth Spectral Trend [QuantAlgo]

Also known as Butterworth Spectral Trend

Reads trend direction from line slope and momentum from block length.

Difficulty Intermediate

No.VOW-000009

The chart shows just four things: the line, the blocks sitting on it, a gradient fill, and BUY/SELL labels, so the color logic clicks right away. There are 23 settings, though, and you get more out of it once you know how the flip threshold, the hold period, and the strength and multipliers of the adaptive period change what you see. Picking a preset also stops eight of your manual inputs from being applied, so it is rated intermediate, something you learn by working through the settings panel.

Repainting
No repainting
  1. Live barChanges
  2. On closeFixed
  3. HistoryFixed
Best timeframes
  • Lower TFs≤15m
  • Mid TFs30m–4H
  • Higher TFs1D+
Tested on BTCUSD (4H, 15m, 1m, 5m, 30m, 1H, 1D, 1W)
Alerts
3 conditions
Buy/sell signals
Yes
Market conditions
Trending
Display
Overlay
Chart elements
LinesLabelsBar colorsBackground
Trading style
Swing TradingDay TradingPosition Trading
SignalsTrend

Butterworth Spectral Trend: Visualize Trend Momentum With Block Length and Cut Through the Noise

Diagram gallery 9

Article Summary
What does this indicator do?
Bottom line

Butterworth Spectral Trend reads the trend from the slope of its line rather than from price crossing it, adapts its period to market conditions, and shows shifts in momentum through block length. If labels pile up in chop, raising the flip threshold settles things down.

Tell me more
Key points
  • A trend indicator overlaid on your candles, built on the SuperSmoother (a 2-pole Butterworth filter)
  • Bullish or bearish is decided by whether the line is higher or lower than on the previous bar, not by price crossing it
  • The blocks on the line show how far it moved each bar, so their length reveals momentum speeding up or fading
  • The period adapts by weighing market noise against momentum, staying roughly between 17 and 33 bars by default
  • Hysteresis Factor and Minimum Hold Bars cut down back-and-forth BUY/SELL flips in chop, but both default to 0
  • Three presets, Default, Fast Response and Smooth Trend, cover timeframes from the 5m up to the weekly
  • While Fast Response or Smooth Trend is selected, your inputs for the base period and seven other signal settings are ignored
  • Lines and labels on confirmed bars never repaint, but labels can appear and disappear on the bar that is still forming

An Indicator That Reads the Trend From the Slope of a Noise-Filtered Line

Ever run a moving average and get whipsawed every time price chops back and forth across it, “broke above… nope, back below”?

“Butterworth Spectral Trend” takes a different approach to that frustration: it changes what actually triggers a trend flip. On the chart you get a single line, a row of blocks sitting on that line, a gradient fill between the line and price, and BUY/SELL labels on the bars where the trend flips.

Butterworth Spectral Trend on a TradingView 4H chart. Bullish states are shown in green and bearish states in red, on both the line and the gradient fill.
Butterworth Spectral Trend on a TradingView 4H chart. Bullish states are shown in green and bearish states in red, on both the line and the gradient fill.

At a glance it looks like a color-changing moving average, but the flip condition is different. It doesn’t care whether price crosses the line; it only looks at whether the line itself is pointing up or down. On top of that, it automatically lengthens the line’s lookback when the market gets noisy and shortens it when price is trending cleanly.

The four visual elements are all summarized in the figure below. Figure 1 is the line color, Figure 2 the blocks, and Figure 3 the fill. All of them turn the same green in a bullish state and the same red in a bearish state. The fill is strongest next to the line and fades out toward price. BUY labels print below the candle and SELL labels above it.

The four visual elements and what each one means

The line color, the blocks on the line, the gradient fill and the BUY/SELL labels are all layered on the chart.

The four visual elements and what each one means① Line color = current direction Red is down, green is up ② Block length = how far the line moved in one bar ③ Fill between the line and priceBUYLine color = current directionRed is down, green is upBlock length = how farthe line moved in one barFill between the line and priceBUY on the bar where the direction flips

Vowars DE ver.3.24.3

Shown with the default settings (Default preset, Custom colors). Candle colors come from the chart theme, not from the indicator.

By default the bullish color is a bright green (Bullish Color in the settings). The figures use that default color scheme, while the chart screenshots in this article use the same green/red scheme as the “Classic” option under Color Preset. Only the colors differ; what the indicator shows is identical.

Butterworth filters and the SuperSmoother

The Butterworth filter is a smoothing method that originally comes from signal processing, where it is used to strip small, fast wiggles out of an electrical signal. Unlike a simple moving average, which weights every past price equally, it works by attenuating any wave shorter than a given length, so for the same amount of smoothing it tends to lag less.

John Ehlers packaged this Butterworth filter as a 2-pole filter tuned for markets and called it the “SuperSmoother.” “Butterworth Spectral Trend” is built on top of that SuperSmoother.

I once left it running on the BTC 4H chart for a few weeks. The first thing that stood out was how rarely it did the classic moving-average thing in a range, where price keeps crossing the line and the color flickers back and forth. Because the color only changes when the line itself turns, a single wick is much less likely to flip the signal.

Why Doesn’t the Color Change When Price Breaks the Line?

The logic in “Butterworth Spectral Trend” is simple: if the line’s value is higher than on the previous bar, it’s bullish; if it’s lower, it’s bearish. Where price sits relative to the line plays no part in the signal.

The figure below shows closes dipping under the line during an uptrend. At Figure 1 and Figure 2 price breaks below the line, but the line is still pointing up, so it stays green. The color only turns red at Figure 3, the bar where the line itself rolls over after the top.

Closes below the line don’t trigger a SELL until the line turns down

Closes slip under the line twice during the uptrend, but the line keeps pointing up, so it stays green.

Closes below the line don’t trigger a SELL until the line turns down① Close breaks the line, but it still points up ② Still green on the second pullback ③ SELL on the bar where the line turns downSELLClose breaks the line,but it still points upStill green on the second pullbackSELL on the bar where the line turns down

Vowars DE ver.3.24.3

BUY/SELL labels print on the bar where the line itself changes direction, not where price crosses it. Calculated with the default settings (Default).

Judging the trend this way has a few clear traits.

What you gain from slope-based flips

  • Long wicks and brief spikes are less likely to flip the signal
  • Stays bullish even when a pullback dips below the line
  • The color changes closer to when the trend has genuinely turned

What to watch out for

  • Flips tend to lag behind methods based on price crossing the line
  • Labels print only after price has pulled back some distance from the top or bottom
  • When the line goes flat, even tiny wiggles can flip the direction

The third point, that a flat line can flip on even tiny wiggles, is the single most important thing to understand when using this indicator. However smooth the line is, it’s never perfectly straight, so in a directionless market small ups and downs are enough to swap the color. The two settings covered later exist exactly for this situation.

Momentum Shows Up in Block Length

The square blocks sitting on the line (Show Spectral Bodies) are not price candles. Each one uses the previous bar’s line value as the open and the current line value as the close, so the body shows how far the line moved during that one bar. The high and low are the same as the open and close, so there are no wicks, just bodies.

The longer the block, the steeper the line is moving; the shorter it gets, the more the line is losing pace. At Figure 1 the blocks are large, while at Figure 2 they keep shrinking even though the color is still green. The color only changes afterward, at Figure 3.

Reading shifts in momentum from block length

Each block is how far the line moved in one bar. Longer blocks mean acceleration; shorter blocks mean deceleration.

Reading shifts in momentum from block length① Long blocks: the line is moving fast ② Blocks shrink = momentum fading ③ SELL on the bar where the direction flipsSELLLong blocks:the line is moving fastBlocks shrink = momentum fadingSELL on the bar where the direction flips

Vowars DE ver.3.24.3

In this example, there are over ten bars between the blocks starting to shrink and the SELL. Calculated with the default settings (Default).

If you only watch the color, you won’t see the uptrend ending until the SELL at Figure 3. Keep an eye on block length as well and you can spot the momentum fading before that, which makes it a useful cue to start taking profit or to hold off on adding to the position.

Butterworth Spectral Trend on the 15m chart. During the sharp drop, the red blocks stretch out and the line falls at a steep angle.
Butterworth Spectral Trend on the 15m chart. During the sharp drop, the red blocks stretch out and the line falls at a steep angle.

Line Opacity Shifts Only Slightly With Momentum

The line itself also changes opacity with momentum. The bigger the line’s move compared with the current noise in price, the more solid it is drawn; the smaller, the more faded. Its transparency ranges from 20 to 75.

With the blocks turned on, though, the line and the same-colored blocks overlap, so the shading is hard to tell apart. In the price action I replayed, transparency usually stayed around 70 even in ordinary rallies and selloffs, and the difference in shading was barely visible. If you want to read momentum, block length is much easier to work with. If you still want to see the line shading, turn off Show Spectral Bodies; the blocks disappear and the shading becomes easier to see.

How the Line’s Period Stretches and Shrinks With the Market

The other key feature of “Butterworth Spectral Trend” is that it adjusts the line’s lookback automatically (Adaptive Cutoff). Under the hood it keeps a separate provisional line calculated on the base period (Base Cutoff Period) and measures two things from it.

  • The gap between price and the provisional line shows how much the price action is scattered as noise
  • The provisional line’s progress shows how far the line is moving in one direction

The more noise there is, the longer the period gets and the slower the line becomes; the cleaner the directional move, the shorter the period and the quicker the line. Here is the flow as a diagram.

The line’s period stretches and shrinks by weighing noise against momentum

With Adaptive Cutoff on, the line’s period is adjusted a little on every bar.

The line’s period stretches and shrinks by weighing noise against momentum① Ratio computed each bar sets the target period ② About 17–33 bars at default settings Flow: Provisional line on the base period(Base Cutoff Period (default 20)) → Gap from price(Size of the noise) / Provisional line’s progress(Size of the momentum), Gap from price(Size of the noise) → Gap vs. progress ratio → (Bigger gap) Lengthen the period(Slower, smoother line) / (Bigger progress) Shorten the period(Quicker line), Provisional line’s progress(Size of the momentum) → Gap vs. progress ratio → (Bigger gap) Lengthen the period(Slower, smoother line) / (Bigger progress) Shorten the period(Quicker line), Gap vs. progress ratio → (Bigger gap) Lengthen the period(Slower, smoother line) / (Bigger progress) Shorten the period(Quicker line), Lengthen the period(Slower, smoother line) → Line drawn on the chart(Shifts gradually at the Cutoff Smoothing speed), Shorten the period(Quicker line) → Line drawn on the chart(Shifts gradually at the Cutoff Smoothing speed)。Bigger gapBigger progressProvisional line on the base periodBase Cutoff Period (default 20)Gap from priceSize of the noiseProvisional line’s progressSize of the momentumGap vs. progress ratioLengthen the periodSlower, smoother lineShorten the periodQuicker lineLine drawn on the chartShifts gradually at the Cutoff Smoothing speedRatio computed each barsets the target periodAbout 17–33 bars at default settings

Vowars DE ver.3.24.3

With the defaults (Base Cutoff Period 20, Adaptivity Strength 0.55, multipliers 0.55–2.25), the period actually used stays roughly between 17 and 33 bars.

With the default settings, the period actually used stays roughly between 17 and 33 bars. As Figure 2 shows, the change isn’t abrupt; it drifts gradually at the speed set by Cutoff Smoothing.

A line that slows down in ranges and speeds up on breakouts fits markets that go quiet for a while and then move hard: BTC and crypto in general, or gold when it rips on a data release. Because the line flattens out during the range, it’s easier to catch just the first leg of the breakout.

Getting Constant BUY/SELL Flips in Chop? Add These Two Settings

Two settings compensate for the line’s tendency to flip back and forth when it goes flat. Both put the brakes on the “flip the moment the slope reverses” behavior.

  1. Hysteresis Factor is the flip threshold. It uses the recent average of how far the line moves per bar (the “average move” from here on) as a baseline, and sets how many times that the opposite move has to be before a flip is allowed. Because the baseline scales with how fast the market is moving rather than being a fixed price distance, the same value carries over to symbols and timeframes with very different volatility.
  2. Minimum Hold Bars is the hold period after a flip. Once the direction flips, no further flip is allowed until the specified number of bars has passed. This consolidates round-trip, back-and-forth labels.

In terms of flow, the color only changes when the line turns the other way and then passes both conditions. The “recent average move” used for the threshold at Figure 1 is measured over the number of bars set in Adaptivity Lookback.

Two conditions the line must pass before the direction flips

Even when the line turns the other way, the color stays the same unless both conditions are met.

Two conditions the line must pass before the direction flips① Average measured over Adaptivity Lookback bars ② At 0, back-to-back flips are allowed Flow: Line turns against the current state → Is the opposite move big enough?(Hysteresis Factor × recent average move) → (Yes) Enough bars since the last flip?(At least Minimum Hold Bars) / (No) Color stays the same, Enough bars since the last flip?(At least Minimum Hold Bars) → (Yes) Direction flips and BUY/SELL prints / (No) Color stays the same。YesYesNoNoLine turns against the current stateIs the opposite movebig enough?Hysteresis Factor ×recent average moveEnough bars sincethe last flip?At leastMinimum Hold BarsDirection flips andBUY/SELL printsColor stays the sameAverage measured overAdaptivity Lookback barsAt 0, back-to-back flips are allowed

Vowars DE ver.3.24.3

By default both Hysteresis Factor and Minimum Hold Bars are 0, so neither condition applies and any opposite tilt in the line triggers a flip.
Both filters are off by default

With the “Default” preset, Hysteresis Factor and Minimum Hold Bars both start at 0, which means neither condition is applied at all. The moment the line tilts the other way it flips, so in a sideways market the labels keep coming. If you feel there are too many labels, this is the first place to look.

The figure below compares the same price action before and after adding the two settings. The left side uses the defaults; the right side uses a Hysteresis Factor of 0.5 and Minimum Hold Bars of 3. At Figure 1 on the left, BUY and SELL print five times during the chop, while on the right only the SELL at the start of the drop at Figure 2 remains.

Adding a flip threshold and hold period cleans up back-and-forth labels in chop

Both sides show the same price action. Left is default; right uses Hysteresis Factor 0.5 and Minimum Hold Bars 3.

Adding a flip threshold and hold period cleans up back-and-forth labels in chop[Default (both 0)]① 5 BUY/SELL labels in the chop [Hysteresis Factor 0.5 / Minimum Hold Bars 3]② Only the SELL at the start of the drop remainsDefault (both 0)BUYBUYSELLSELLSELL5 BUY/SELL labels in the chopHysteresis Factor 0.5 / Minimum Hold Bars 3SELLOnly the SELL at thestart of the drop remains

Vowars DE ver.3.24.3

On the right, the BUY/SELL labels in the chop disappear and only the SELL where the drop begins remains. The trade-off is that the first SELL comes later than on the left.

That said, the SELL on the right comes later than the first SELL on the left. The higher you set the threshold, the later you’ll catch real reversals too, so choose the values based on whether you’d rather cut whipsaws or cut lag. On lower timeframes like the 15m with default settings, I often saw labels printing every few bars in a range. The lower the timeframe, the more these two settings help.

Which of the Three Presets Should You Use?

The Preset Configuration setting at the very top of the settings panel lets you pick a combination suited to your timeframe and trading style.

PresetIntended timeframesBase period and adaptive adjustmentFlip threshold and hold period
Default1H to dailyBase 20 bars, moderate adaptationBoth 0 (uses your settings)
Fast Response5m to 1HBase 12 bars, stronger adaptationBoth 0
Smooth TrendDaily to weeklyBase 34 bars, lighter adaptationThreshold 0.4, hold 2 bars

Of the three, only “Smooth Trend” comes with the flip threshold and hold period already switched on. It favors a stable line with fewer flips, which makes sense to me on the daily and weekly, where a single fakeout tends to cost more. “Fast Response,” on the other hand, prioritizes reacting quickly, so it tends to print more labels.

The figure below runs the same price action through two presets. The top panel at Figure 1 reacts quickly to the drop off the top, but on the bounces that follow it keeps flipping between BUY and SELL, as at Figure 2. The bottom panel at Figure 3 gives its SELL 7 bars later, but never flips again after that.

The same price action under “Fast Response” and “Smooth Trend”

Top is Fast Response, bottom is Smooth Trend. The price data is exactly the same.

The same price action under “Fast Response” and “Smooth Trend”[Fast Response]① Reacts early to the drop off the top with a SELL ② Flips between BUY and SELL on every bounce [Smooth Trend]③ SELL comes 7 bars later, but no more flips after thatFast ResponseBUYBUYBUYSELLSELLSELLReacts early to the drop off the top with a SELLFlips between BUY and SELL on every bounceSmooth TrendSELLSELL comes 7 bars later, but no more flips after that

Vowars DE ver.3.24.3

Fast Response flips 7 bars earlier off the top. On the bounces during the selloff, however, only Fast Response keeps printing labels.

One more thing worth remembering: which settings get overwritten when you pick a preset. While “Fast Response” or “Smooth Trend” is selected, whatever you type into the eight settings at Figure 1 is ignored.

Which settings get overwritten when you pick a preset?

Fast Response and Smooth Trend replace eight settings with fixed values. The rest always use your own values, whichever preset is selected.

Which settings get overwritten when you pick a preset?① Your inputs are ignored while selected ② Free to change these Flow: Preset Configuration → Default / Fast Response Smooth Trend, Default → Uses the values from the settings → Your own values apply with any preset(Price Source, Damping Factor Nyquist Average, Adaptive Cutoff Display settings), Fast Response Smooth Trend → Overwrites 8 settings with fixed values(Base Cutoff Period Adaptivity Lookback Adaptivity Strength Minimum Cutoff Multiplier Maximum Cutoff Multiplier Cutoff Smoothing Hysteresis Factor Minimum Hold Bars) → Your own values apply with any preset(Price Source, Damping Factor Nyquist Average, Adaptive Cutoff Display settings)。Preset ConfigurationDefaultFast ResponseSmooth TrendUses the valuesfrom the settingsOverwrites 8 settingswith fixed valuesBase Cutoff PeriodAdaptivity LookbackAdaptivity StrengthMinimum Cutoff MultiplierMaximum Cutoff MultiplierCutoff SmoothingHysteresis FactorMinimum Hold BarsYour own values applywith any presetPrice Source, Damping FactorNyquist Average, Adaptive CutoffDisplay settingsYour inputs are ignoredwhile selectedFree to change these

Vowars DE ver.3.24.3

The eight settings you may want to fine-tune only take effect when Preset Configuration is set to Default.

On the other hand, Price Source, Damping Factor, Nyquist Average, Adaptive Cutoff and the display settings always use your own values, whichever preset is selected, as shown at Figure 2. If you want to fine-tune the base period or the flip threshold yourself, select “Default” first and then adjust each setting.

All 23 Settings and How to Tune Them

Settings for the line calculation and signals

Parameters
SettingDefaultSuggestedEffect
Preset ConfigurationDefaultMatch your timeframeSwitches a whole set of settings at once. Keep it on Default if you want to fine-tune
Price Sourcehlc3hlc3Price used for the calculation. hlc3 is the average of high, low and close, which is steadier than close alone
Base Cutoff Period2012–34Base period of the line. Higher is smoother and slower; lower hugs price and reacts faster
Damping Factor1.4141.414How sharply the line reacts. Higher pulls it closer to price; lower makes it smoother and slower
Nyquist AverageOnOnSuppresses fine oscillation that flips up and down every other bar. Leave it on
Adaptive CutoffOnOnAutomatically stretches or shrinks the line’s period based on market noise and momentum
Adaptivity Lookback3220–48Bars used to measure noise and momentum. Also sets the bars used for the average move behind the flip threshold
Adaptivity Strength0.550.4–0.75How much of the adaptive adjustment is applied. 0 keeps the base period; 1 uses the adjusted value as is
Minimum Cutoff Multiplier0.550.5–0.7Floor for how short the adaptive period can go (multiple of the base period). Too low makes it overreactive
Maximum Cutoff Multiplier2.251.8–2.6Ceiling for how long the adaptive period can go (multiple of the base period). Higher makes the line slower in choppy markets
Cutoff Smoothing0.150.10–0.22How fast the period transitions. Lower changes slowly; higher changes quickly
Hysteresis Factor0.00.3–0.6Flip threshold. Higher removes small back-and-forth labels but delays flips
Minimum Hold Bars02–5Bars to wait after a flip. No new flip is allowed until this many bars have passed

Display settings

Parameters
SettingDefaultSuggestedEffect
Show Spectral BodiesOnOnShows the blocks on the line. Turn off for a cleaner chart
Show Gradient FillOnOnFills the space between the line and price with a gradient
Show Signal LabelsOnOnShows BUY/SELL labels. Alerts still fire when this is off
Color PresetCustomYour preferenceSwitches the color scheme (Classic, Aqua, Cosmic, Cyber, Neon, Custom). The two colors below apply only when Custom is selected
Bullish ColorBright greenYour preferenceColor for bullish states. Applied to the line, blocks, fill, candle color, background and BUY labels
Bearish ColorRedYour preferenceColor for bearish states. Applied to the line, blocks, fill, candle color, background and SELL labels
Enable Bar ColoringOffYour preference (On if you want the state at a glance)Colors the candles with the current state color
Bar Color Transparency5040–60Transparency of the candle color. Lower is more vivid; higher is lighter
Enable Background ColoringOffOffTints the entire background with the state color. Tends to get hard to read alongside other indicators
Background Color Transparency90Around 90Transparency of the background tint. Too low makes price hard to read

Why these suggested ranges

First, Hysteresis Factor and Minimum Hold Bars. Left at 0, the signal flips on the slightest wiggle in the line. Setting the threshold to around 0.3–0.6 bases the decision on the recent average move, so what remains tends to be the moves where the trend has genuinely turned. Adding a hold period of 2–5 bars also consolidates the back-and-forth flips. The fact that “Smooth Trend” itself uses 0.4 and 2 is one of the reasons for choosing these ranges.

The closer Adaptivity Strength gets to 0, the less the adaptive adjustment does, and the line ends up behaving much like an ordinary fixed-length moving average. It’s the indicator’s signature feature, so I’d keep it at 0.4 or higher. On the other hand, at 1.0 the line slowed down a lot in choppy conditions and sometimes missed the start of a trend. The default of around 0.55 was the most balanced setting in my testing.

Besides setting how fast the adaptation reacts, Adaptivity Lookback also sets the number of bars used to measure the “recent average move” that the flip threshold is based on. When Hysteresis Factor is above 0, this value affects the flip decision even with the adaptive adjustment turned off, so it’s safer not to push this one to extremes.

Check Damping Factor changes visually

Raising Damping Factor pulls the line closer to price and makes it react faster; lowering it makes the line smoother and slower. When I actually changed the value and compared the results on the chart, it moved in that direction. The tooltip alone doesn’t make the direction obvious, so change it in small steps and check how the line changes with your own eyes as you adjust. In most cases the default of 1.414 is fine.

How to Use It on TradingView

1 Add it to the chart and check it on your usual timeframe

Search for “Butterworth Spectral Trend” in TradingView’s Indicators menu and add it. It overlays directly on your candles, so before touching any settings, just watch how often the color changes on the timeframe you normally trade.

2 Pick a preset that matches your timeframe

In Preset Configuration, a good rule of thumb is “Fast Response” for 5m to 1H, “Default” for 1H to daily, and “Smooth Trend” for daily to weekly. If “Default” prints too many labels for your taste, add some Hysteresis Factor and Minimum Hold Bars.

3 Read direction from color and momentum from block length

This is where most of the actual decision-making happens. Think of the color as the current trend direction and block length as its momentum. When the blocks start shrinking while the line is still green, upside momentum is fading. That’s a good time to go easy on new longs and start thinking about taking profit on what you already hold.

4 Act on labels only after the bar closes

BUY and SELL labels can appear and disappear on a bar that is still forming (more on why later). The basic rule is to wait for the bar to close and confirm the label is still there before acting. Rather than jumping in on the label bar itself, waiting for a pullback or bounce where the fill narrows puts you closer to the line, which also makes it easier to place your stop. For stop distance, another option is to set it one ATR (average true range) below the low of the label bar.

5 Set up alerts

There are three alert conditions: “Bullish Trend Signal” (flip to bullish), “Bearish Trend Signal” (flip to bearish) and “Any Trend Change” (either direction). Alerts keep working even with the labels hidden, so you can keep a clean chart and still get notified. If you set the trigger to “Once Per Bar Close” in TradingView’s alert dialog, you’ll only be notified of flips on confirmed bars.

Where It Shines and Where to Be Careful

Here’s what I found suits it and what doesn’t after testing it across various timeframes and market conditions.

Where it shines

  • Clean one-directional trends (long blocks, easy-to-spot pullback levels)
  • The first leg right after a breakout from a range
  • Markets that alternate between quiet stretches and sharp moves (where the adaptive period earns its keep)
  • Measuring the distance to the line on pullbacks and bounces within a trend

Where to be careful

  • Tight sideways ranges (more flips at default settings)
  • V-shaped reversals (the flip lags until the line turns)
  • Trying to pick the exact top or bottom
  • Thinly traded, gappy symbols

In terms of trading style, I find day trading and swing trading to be the easiest fit. With “Fast Response” it works on the 5m too, but since signals are based on the line’s slope, it isn’t built for scalping a few ticks. With “Smooth Trend” on the daily or weekly, it’s also handy for position traders checking whether a trend is still intact.

Butterworth Spectral Trend on the weekly chart. Throughout the long uptrend, the green line and blocks continue without a break.
Butterworth Spectral Trend on the weekly chart. Throughout the long uptrend, the green line and blocks continue without a break.

In the weekly chart above, the line stays green for a long stretch even through several pullbacks during the uptrend. The higher the timeframe, the less often the line changes direction, which makes it easy to use for confirming the bigger picture.

Gauge “Room to Run” With Pivot Points

The BUY and SELL labels in “Butterworth Spectral Trend” tell you that the direction has flipped. What they don’t tell you is how much room price has to run in that direction. A BUY right under a strong resistance level and a BUY with clear air above it look exactly the same.

That’s where TradingView’s built-in “Pivot Points Standard” pairs well. It uses the previous day’s high, low and close to draw horizontal lines at levels that often act as support and resistance for the day (P, R1, S1, and so on). The figure below overlays daily pivots on a 15m chart.

Overlaying pivot points shows how far the next level is above a BUY

Daily Pivot Points Standard (Traditional) overlaid on a 15m chart. The orange horizontal lines are the pivots.

Overlaying pivot points shows how far the next level is above a BUY① At the BUY, the distance to P and R1 is visible ② Rally stalls below R1 and flips to SELL ③ Another BUY. Once R1 breaks, R2 is the next targetBUYBUYSELL P (102.00)R1 (104.00)S1 (100.00)R2 (106.00)S2 (98.00)R3 (108.00)S3 (96.00)R4 (110.00)S4 (94.00)R5 (112.00)S5 (92.00)At the BUY, the distance to P and R1 is visibleRally stalls below R1 and flips to SELLAnother BUY. Once R1 breaks,R2 is the next target

Vowars DE ver.3.24.3

A BUY from Butterworth Spectral Trend signals a direction flip, but not how much room there is overhead. Adding pivot levels lets you anticipate rallies stalling at the next level.

At the BUY at Figure 1, you can already see P and R1 waiting overhead. Sure enough, the rally stalls just below R1 at Figure 2 and flips to SELL. The next BUY at Figure 3 pushes through R1, and the next level to watch becomes R2. Checking the distance to the next level when a label prints also makes it easier to plan your take-profit in advance.

A few other combinations worth trying:

  • Chop Zone shows the angle of an EMA’s slope as color-coded bars. While the colors signal a sideways market, it’s a good filter for skipping labels.
  • Parabolic SAR plots stop dots that move closer to price over time. “Butterworth Spectral Trend” has no built-in exit, so this fills in a take-profit reference.
  • “Butterworth Spectral Trend” on a higher timeframe is another option for confirmation. For example, use the 4H for trend bias and the 15m for entries, and only take trades when both colors agree. Adapt the rules to your own style.

Pairing it with a higher timeframe works especially well because the signal is binary, bullish or bearish, which makes it easy to turn into rules; it was the combination I found easiest to use in testing. Open the higher-timeframe chart separately, or set them side by side with TradingView’s multi-chart layouts.

Does It Repaint on Confirmed Bars? What to Know When Watching in Real Time

Confirmed bars don’t change, but the forming bar does

“Butterworth Spectral Trend” does not pull higher-timeframe data or use any future values in its calculation. Lines and labels on confirmed historical bars never change after the fact.

The forming bar is a different story, though. The line is recalculated against the live price, so a BUY label can appear mid-bar and then vanish before the bar closes. This is common to any indicator that calculates intrabar, but it’s worth keeping in mind if you use alerts on lower timeframes. As mentioned in STEP 5, setting the alert trigger to “Once Per Bar Close” means you only get flips on confirmed bars.

Don’t trade it on its own

What this indicator shows is trend direction and momentum; it doesn’t tell you whether price is overbought. A BUY can print near the highs after a big run-up, and chasing it there is an easy way to buy the top. It’s a good idea to also check whether the fill has stretched very wide and whether there’s a level just overhead.

The first few dozen bars can shift slightly depending on where the chart loads

Because it carries values forward from bar to bar, a different chart load start point can shift the line slightly for the first few dozen bars. When backtesting on historical charts, load plenty of history and treat signals near the left edge of the screen as rough reference only.

One Line: Direction From Color, Momentum From Blocks

There are plenty of color-changing, moving-average-style indicators out there, but what sets “Butterworth Spectral Trend” apart is that you can read “direction” and “momentum” together on a single line. Ride the trend while the blocks are long, ease off when they start shrinking. That decision is drawn right on the chart, which makes it a nice fit for anyone who doesn’t want a cluttered screen.

The adaptive period, which slows the line down in ranges and speeds it up when momentum kicks in, also suits markets that alternate between quiet stretches and sharp moves. It works the same way on trend-friendly markets like gold and stock indices, and the presets cover everything from the 5m to the weekly.

By default the flip threshold and hold period are both 0, so you’ll see a fair number of labels in sideways markets. Adding just a little Hysteresis Factor and Minimum Hold Bars calms things down noticeably, so start by checking how often labels print on your own timeframe, adjust as needed, and then put it to work.

This article was revised on .

Sources: This article is based on hands-on testing and in-depth analysis of the indicator Butterworth Spectral Trend [QuantAlgo] by QuantAlgo on the charting platform TradingView.

Disclaimer: This article summarizes our own testing and analysis of how an indicator published on TradingView works and behaves. The symbols, timeframes, and settings used here were chosen to check how the indicator displays—they are not a recommendation to trade those instruments or to use the suggested settings. Indicators can change when their authors update them, so this article reflects the version we tested. All investment decisions are your own.

Never miss a new indicator
Get Vowars in Google search, a browser alert on publish, or updates on X.
YUZURU
AuthorYUZURUFounder & Reviewer, Vowars
View profileClose

An editor for content sites at a web agency, I started trading crypto in 2018. Working my way from spot to futures got me hooked on chart analysis, and I now build my own custom indicators on TradingView. On Vowars, I test TradingView indicators one by one on my own charts and review everything from the math behind them to how to use them and where they fall short, with custom visuals throughout.…

Created by

Vowars Picks

Stochastic Heat Map

“Stochastic Heat Map” Tested: Bottom-to-Top Color Shifts That Show How Real a Move Is

"Stochastic Heat Map" is an oscillator that stacks 28 Stochastics with lengths from 10 to 280 as colors, showing where price sits in its range on every lookback at once. The way color spreads from the bottom rows to the top tells you how strong a move is, but red stays pinned in strong trends, so it works best with direction handled separately by something like an EMA.

DifficultyIntermediate 8 figures

CME Institutional Order Flow & AMT Lens

Auction Market Theory on One Chart: An Indicator That Flags Volume Absorption by Color

“CME Institutional Order Flow & AMT Lens” is a TradingView indicator that combines a volume profile, candle coloring, shelves, and a dashboard in one. It gives no buy or sell signals and instead automatically marks key prices such as the POC and Value Area.

DifficultyAdvanced 7 figures

Fibonacci Trend Continuation Signals [AlgoAlpha]

Measure Pullback Depth Inside a Trend With “Fibonacci Trend Continuation Signals”

"Fibonacci Trend Continuation Signals" is a free TradingView indicator that automatically draws a Fibonacci range in the direction of the trend and prints a continuation signal the moment price starts moving again after a pullback or bounce. It gives you an objective read on pullback depth.

DifficultyIntermediate 5 figures

Smart Trader, Episode 06, Isotropic Trend Lines

Isotropic Trend Lines: Measuring Trend Strength with a Volatility-Adjusted Angle

Isotropic Trend Lines is a channel indicator that puts price on a log scale and divides it by volatility (σ) to produce a trend angle that does not depend on chart scaling. On one screen you get direction, strength, and position in the channel, plus breakout and retest status.

DifficultyIntermediate 10 figures

Strong Burst Fader

Strong Burst Fader: Measure Overextension with Diamond Stacks and Color for Mean-Reversion Fades

“Strong Burst Fader” measures how far the wick pokes outside a hidden moving average plus ATR band and shows that depth as diamond stack height and color, making it a mean-reversion indicator for fading overextended moves. The taller and redder the stack, the deeper the overshoot, and the best setups come when the burst stops at one stack and price closes back inside the band.

DifficultyBeginner 9 figures

Divergence for Many Indicators v4

Divergence for Many Indicators v4 : How to Read Divergence Across 10 Indicators in One Label

"Divergence for Many Indicators v4" is a TradingView indicator that detects divergence across 10 indicators, including RSI and MACD, and shows how many line up in a single label. Signals come early, but only the last one survives within the same swing. It works best once you've defined market direction.

DifficultyIntermediate 6 figures

Browse by goal

1 / 5