Skip to content
Script type
Indicator
Source code
Open-source

Directional Kernel Filter [BackQuant]

Also known as Directional Kernel [BackQuant]

A two-line filter that shows current trend direction through line position and color.

Difficulty Beginner

No.VOW-000079

All you really watch on the chart are two lines and the color of the ribbon, and the logic is simple: thick line on top means green, below means red. The lines are built with a unique directional weighting, but you don’t need to understand the math to use it. As long as you keep in mind that Kernel Width affects both lines at once when you start fine-tuning, anyone who has traded a moving average crossover can pick it up right away, which is why it’s rated Beginner.

Repainting
No repainting
  1. Live barChanges
  2. On closeFixed
  3. HistoryFixed
Best timeframes
  • Lower TFs≤15m
  • Mid TFs30m–4H
  • Higher TFs1D+
Works on any timeframe Tested on BTCUSDT (1m, 15m, 1W, 5m, 30m, 1H, 4H, 1D)
Alerts
2 conditions
Buy/sell signals
Not providedN/A for analysis tools
Market conditions
Trending
Display
Overlay
Chart elements
LinesBar colorsBackground
Base indicator
ATRGaussian Filter
Trading style
Swing TradingScalpingDay Trading
Trend

Can a Directionally Weighted Gaussian Line Outlast a Moving Average Crossover? Testing “Directional Kernel Filter”

Diagram gallery 9

Article Summary
What does this indicator do?
Bottom line

Directional Kernel Filter is a trend filter that colors market direction based on which of two Gaussian lines with directional weighting sits on top. It never repaints on confirmed bars and works well for confirming direction in a trend, but it flips back and forth in chop, so pair it with ADX or a similar filter.

Tell me more
Key points
  • Green when the thick line is above the thin line, red when below, and the color flip is the trend-change signal.
  • Both lines are Gaussian averages that favor recent bars, and the default thick line lags about like a 10-period SMA.
  • Its signature feature is directional weighting, which gives extra weight to candles moving with the prior trend.
  • It hugs price when momentum is strong and holds its ground when momentum stalls, so it rarely flips on small pullbacks.
  • Ribbon width is the gap between the lines, and a flip while the ribbon stays thin is best read as chop.
  • In sideways markets the color flips often, so lengthen the periods or confirm the trend with ADX.
  • Kernel Width affects both lines at once, so shorten the lengths first if you want more sensitivity.
  • Confirmed bars never repaint, and two alert conditions are available for trend flips.

A two-line trend filter that gives momentum candles more weight

“Directional Kernel Filter” is a trend indicator that plots a thick line and a thin line over your candles and fills the space between them as a ribbon. When the thick line is on top, everything turns bright green; when it’s below, it turns red. The moment you open the chart, the color tells you whether the market is pointing up or down. It’s a very clean, no-nonsense display.

Visually, it belongs to the same family as a classic two-MA golden cross / death cross setup. The difference is how the lines are built. It takes a Gaussian (bell-curve) weighting that favors the most recent candles and multiplies it by a “directional weight” that gives extra weight to candles that moved in the same direction as the prior trend. It hugs price when momentum is strong and holds its ground a little when momentum stalls. That behavior is what really sets it apart from a regular moving average.

For this review, I ran it on Bitcoin across eight timeframes, from the 1-minute to the weekly, and looked at how the color flips, how it handles chop, and how the display changes when you tweak the settings. It doesn’t print buy/sell arrows, so the real question is whether it earns a spot as your “trend bias check.”

Directional Kernel Filter on the 15-minute chart. The green ribbon opens wide during the rally, while green and red flip back and forth in the chop.
Directional Kernel Filter on the 15-minute chart. The green ribbon opens wide during the rally, while green and red flip back and forth in the chop.

Here’s a quick rundown of what shows up on the chart. With the default settings you only see the first three; the rest appear only when you enable them in the settings.

ElementDefaultWhat it looks like
Thick line (Fast Directional Kernel)OnTurns bright green or red with the trend. Width 3
Thin line (Slow Directional Kernel)OnSame color as the thick line, slightly more transparent. Width 2
Ribbon (Directional Kernel Ribbon)OnFills the gap between the two lines with a semi-transparent version of the same color
Base Gaussian KernelOffThe raw line without directional weighting. A thin line in a faded version of the chart’s text color
Candle coloringOffRedraws the candles in the trend color
Background colorOffLightly tints the chart background in the trend color

The only thing that flips the color: which line is on top

The logic behind “Directional Kernel Filter” is surprisingly simple. Thick line above the thin line means uptrend (green); below means downtrend (red). Only on a candle where both lines land on exactly the same value does it carry over the previous state. There’s no ADX-style strength filter and no volume condition.

How the two kernel lines set the ribbon color

Thick line (Fast) above the thin line (Slow) means green; below means red. The color flip is the trend-change signal.

How the two kernel lines set the ribbon colorDirectional Kernel Filter on default settings, showing the color switching to green on the bar where the fast line crosses above the slow line and to red where it crosses below.Turns green on the bar wherethe thick line crosses aboveTurns red where it crosses belowFast (thick line)Slow (thin line)

Vowars DE ver.3.12.36

Default settings (Fast Kernel Length 18 / Slow 35). The color changes on the bar where the two lines swap places, and the ribbon fills the space between them in the same color.

As shown in Figure 1, the lines and the ribbon turn green on the candle where the thick line crosses above the thin one, and in Figure 2 they go back to red on the candle where it crosses below. The color flip is the trend-change signal, plain and simple, and nothing more. That makes it easy to read, but it also means the color alone is a lot to lean on if you’re using it to decide whether to take a trade.

Because the thin line is just a more transparent version of the thick line’s color, the two can be hard to tell apart at a glance. If in doubt, just remember: the thicker one is “Fast.”

You can check the numbers in the Data Window

They aren’t plotted on the chart, but four values show up in the Data Window. “Kernel Spread” is the gap between the thick and thin lines: positive means green, negative means red. “Directional Adjustment” shows how far the directional weighting has shifted the thick line, and “Fast Reference Direction” and “Slow Reference Direction” show which way each line was moving on the previous bar, on a scale from −1 to +1.

What makes it different from a regular MA is the weighting

Both lines are built with the same calculation; the only difference is how many candles each one looks back over. The calculation works in two stages.

Stage 1: a Gaussian average that favors recent candles

First, it averages the closes over the set number of candles, giving newer candles more weight. The weights follow a bell-shaped (Gaussian) curve: the latest candle is the heaviest, and older candles taper off smoothly. Because it doesn’t weight every candle equally the way an SMA does, it reacts faster.

How wide the curve spreads is set by “length × Kernel Width.” For the default thick line that’s 18 × 0.35, or about 6.3 bars. When I actually ran the numbers, 90% of the weight sits on the last 11 candles, and the 18th candle carries less than 3% of the weight of the latest one. So even though the length says 18, it’s heavily skewed toward recent price.

In terms of lag, the default thick line behaves roughly like a 10-period SMA and the thin line like a 20-period SMA (a rough estimate based on where the center of the weights falls). In other words, these lines are much faster than the “18 and 35” settings might suggest.

Stage 2: extra weight for candles moving with the trend

This is where “Directional Kernel Filter” gets its personality. It checks which way the raw line from stage 1 (the Base Gaussian Kernel) was moving on the previous bar, and then, among the candles in the lookback, it increases the weight of candles that moved in that same direction and reduces the weight of candles that moved against it.

Price moves are divided by ATR (average true range) before they’re compared, so the effect feels the same whether you’re on Bitcoin at tens of thousands of dollars or a forex pair trading around 1.00. The weighting is capped: at its strongest it multiplies a candle’s weight by about 20x, and at its weakest it cuts it to about 1/20. It only hits those caps when both the line’s previous move and the candle’s own move are close to a full ATR in size.

Directionally weighted line vs. the raw Gaussian line

The thin gray line is the raw line without directional weighting (Base Gaussian Kernel). While momentum lasts, the thick line stays closer to price; once momentum stalls, it holds its ground instead.

Directionally weighted line vs. the raw Gaussian lineDisplay with Show Base Kernel? on and Show Trend Ribbon? off. During the sharp rally and drop the thick line stays closer to price than the base line, and after the selling stops it remains above the base line.In a sharp rally the thick linestays closer to price than the grayWhile selling continues itdrops ahead of the gray lineOnce momentum stops itstays above the gray lineBase Gaussian Kernel (gray)

Vowars DE ver.3.12.36

Show Base Kernel? is on and Show Trend Ribbon? is off. You can check the size of the gap as a number via Directional Adjustment in the Data Window.

The chart above has Show Base Kernel? turned on so you can compare it with the raw line. During the rally in Figure 1 and the selloff in Figure 2, candles moving with momentum get more weight, so the thick line tracks closer to price than the gray raw line.

The interesting part is Figure 3. Once the selling stops and price goes sideways, the thick line actually stays above the raw line. The prior direction is still “down,” so the bearish candles still inside the lookback get the extra weight. Those candles sit a bit higher, earlier in the move, so they pull the line up.

Directional weighting in a nutshell

While momentum holds, it sticks right with price; when momentum fades, it doesn’t turn right away and holds its ground a little. Because it’s “quick to follow acceleration, slow to call a slowdown,” the color is less likely to flip back and forth on small pullbacks and bounces in the middle of a trend.

To be clear, this shift isn’t the indicator “predicting” where price goes next. It only uses candles up to the current bar and simply reweights past candles.

Reading the chart comes down to color and width

When you put it on a chart, check things in this order.

1 Use the color to set your bias

Green means look for longs, red means look for shorts. That’s step one. In my experience the simplest way to use it is as a filter that keeps you on one side: only buy the dip while it’s green, only sell the rally while it’s red.

2 Use the ribbon width to gauge momentum

Ribbon width is the gap between the two lines

As the rally accelerates, the thick line moves first and the ribbon widens; when momentum fades, it narrows. The color flips on the bar where the width hits zero.

Ribbon width is the gap between the two linesChart showing how the ribbon width changes: it widens as the rally accelerates, narrows near the highs, and turns red on the bar where the two lines cross.The ribbon widensas the rally speeds upIt starts narrowingas price stalls at the highsTurns red where the lines cross

Vowars DE ver.3.12.36

You can read the width as a number via Kernel Spread (thick line minus thin line) in the Data Window. Positive means green, negative means red.

The ribbon width is simply how far apart the two lines are. When the rally accelerates, as in Figure 1, the faster thick line moves first and the ribbon widens. Once price starts stalling near the highs in Figure 2, the ribbon starts to narrow, and in Figure 3 it turns red on the candle where the two lines cross.

A narrowing ribbon doesn’t guarantee a reversal, but a “wide green” and a “thin green” are very different uptrends under the hood. Are you getting in mid-move on a wide green ribbon, or at the tail end of one that’s thinning out? Being able to see that alongside the color is the whole point of keeping the ribbon on.

3 Wait for the bar to close before calling a flip

On the live, still-forming bar, both lines move with every tick. When they’re close together, the bar can flash green mid-candle and then close red. Colors on confirmed bars never change after the fact, so make your call on a flip only after the bar closes.

In choppy markets, the color keeps flipping

Since it decides direction with a two-line crossover, sideways markets are its weak spot. That’s not unique to “Directional Kernel Filter”; every moving average crossover has the same problem. On the 15-minute chart, once the rally and the selloff had played out and price went into consolidation, green and red were flipping every few hours.

In a sideways market the color keeps flipping

On default settings, once price enters a tight consolidation the two lines nearly overlap and green and red alternate at short intervals.

In a sideways market the color keeps flippingDirectional Kernel Filter on default settings in a sideways market. The color flips seven times in about 40 bars and the ribbon becomes so thin it nearly disappears.Seven color flipsin under 40 barsThe lines nearly overlap andthe ribbon is barely visible

Vowars DE ver.3.12.36

Default settings (Fast Kernel Length 18 / Slow 35). Out of the 48 bars shown, the color flipped seven times. When the color changes but the ribbon stays thin, read it as a sign of chop rather than a trend change.

In Figure 1, the color flips seven times in under 40 bars. The key detail is in Figure 2: the two lines almost overlap and the ribbon all but disappears. When the color flips but the ribbon stays razor-thin, it’s safer to read it as “no clear direction” rather than a real trend change.

Directional weighting helps keep the color steady through small pullbacks, but in a sideways market where price barely moves, the reweighting has almost nothing to work with. If you want fewer fakeouts in chop, you’ll need to either lengthen the periods or use another indicator to check whether there’s a trend at all.

Longer periods mean fewer fakeouts but later flips

At Fast 30 / Slow 60, the same chop produces just one flip

Same candles as the chart above, displayed with Fast Kernel Length 30 and Slow 60. The color barely moves and turns green only once, on the final rally.

At Fast 30 / Slow 60, the same chop produces just one flipDirectional Kernel Filter with longer lengths on the same sideways market as the previous chart. Flips drop to one, but that flip comes later.Stays red throughthe same chopFinally turns green oncethe rally is clear

Vowars DE ver.3.12.36

Fast Kernel Length 30 / Slow 60. Flips dropped from seven to one, but the trade-off is that it only turns green once the rally is already clear.

Here’s the same price action with Fast Kernel Length set to 30 and Slow set to 60. As Figure 1 shows, it stays red throughout the chop, and the only flip is the one in Figure 2. Seven flips dropped to one, but the trade-off is that it only turned green once the rally was already obvious.

Neither is “right.” It’s a choice between catching every small turn and managing it with stops, or taking fewer flips and giving up the first leg of the move. Pick based on the timeframe you trade.

The settings and what changes when you adjust them

The settings are split into two groups: “Core Calculation Settings” and “Plotting and Coloring.” Let’s start with the calculation group.

Parameters
SettingDefaultSuggestedEffect
SourceclosecloseThe price used in the calculation. Leaving it on close is fine
Fast Kernel Length1818 (around 30 for longer-term)Length of the thick line. Lower values react faster and flip more often (min 3)
Slow3535 (around 60 for longer-term)Length of the thin line. The bigger the gap from Fast, the fewer and later the flips (min 5)
Kernel Width0.350.35How widely the weights spread. Lower values focus on the latest candles; higher values spread weight more evenly into older candles (0.05–1.0)
Directional Weight3.53.5Strength of the directional weighting. At 0 it matches the raw line with no directional weighting (0–5.0)
Normalization Length1414ATR period used to measure the size of price moves (min 2)

Kernel Width affects both lines at once

How Kernel Width changes the way the line follows price

The colored line uses the default Kernel Width of 0.35; the white line uses 1.0. Higher values spread weight further into older candles, making the line smoother but slower.

How Kernel Width changes the way the line follows priceComparison of Kernel Width at 0.35 and 1.0. During a sharp drop the 0.35 line turns down quickly while the 1.0 line lags behind.0.35 (default) reactsquickly to the drop1.0 is smoother butstarts turning down later

Vowars DE ver.3.12.36

Both use Fast Kernel Length 18 with the ribbon off. The white line is a second instance of the indicator with Long Color and Short Color set to white and Line Width set to 2.

Raise Kernel Width from the default 0.35 to 1.0 and, like the white line in Figure 2, the line gets smoother but reacts later to a sharp drop. Compare it with the 0.35 line in Figure 1 and the difference in when they start to turn down is clear. At 1.0, even the 18th candle keeps more than 60% of the latest candle’s weight, so the line behaves a lot like an SMA.

The thing to watch out for is that this single value applies to both the thick and the thin line. Set it very low and both lines only look at the last few candles, so the difference in their lengths barely matters. When I ran the numbers at the minimum of 0.05, 90% of the weight landed on just the last 2 candles for the thick line and the last 4 for the thin line. If you want more sensitivity, shorten the lengths before you touch Kernel Width; that way the two lines keep their distinct roles.

Directional Weight and Normalization Length

Set Directional Weight to 0 and the directional weighting switches off, making the thick line identical to the gray line (Base Gaussian Kernel) in the earlier chart. If you want to see how much the directional weighting is doing on your own symbol, compare 0 and 3.5, or turn on Show Base Kernel? and view them side by side. Higher values push the line further during strong moves, but the reweighting tops out at about 20x, so even at the max of 5.0 the line won’t start overshooting price.

Normalization Length is the ATR period used to measure the size of price moves. A shorter value makes ATR adapt quickly to recent ranges, which changes how the directional weighting behaves when volatility suddenly shifts. Its effect on where the line sits is small, and I had no issues leaving it at 14 unless there’s a specific reason to change it.

Don’t set Fast higher than Slow

The length inputs only enforce a minimum, so nothing stops you from entering a Fast Kernel Length larger than Slow. If you do, the thick line becomes the slower one and green and red no longer mean what they’re supposed to. Whenever you change the lengths, always keep Fast smaller and Slow larger.

Coloring the candles and background by trend

In the display group, Long Color and Short Color let you swap green and red for any colors you like, and Line Width sets the thick line’s width from 1 to 6 (the thin line’s width isn’t an input, but you can change it in the Style tab). Turn off Show Trend Ribbon? and the thin line and ribbon disappear, leaving only the thick line.

Candles and background painted in the trend color

Paint Candles to Trend? and Background Color? are on. With the default visual order, the original candles stay in front and the color only shows around the edges.

Candles and background painted in the trend colorCandle coloring and background color turned on. The background is tinted green and red, while the original candle colors stay in front and the trend color looks like an outline.The original candles stay in front;the trend color shows only on edgesThe background is tinted red and green

Vowars DE ver.3.12.36

The background tint is highly transparent, so it doesn’t get in the way of the candles. To fully recolor the candles, bring the indicator to the front as shown in the next chart.

Turn on Paint Candles to Trend? and Background Color? and the candles and background take on the trend color. One thing that can trip you up is shown in Figure 1: just switching it on leaves your original candles in front, so the trend color only shows up as an outline. That’s because indicator plots sit behind the candles by default. The background, as in Figure 2, is tinted red and green without any issues.

Bring it to the front and the candles take on the trend color

Same settings, with the indicator’s visual order set to Bring to Front. The candles themselves are repainted green and red.

Bring it to the front and the candles take on the trend colorPaint Candles to Trend? turned on with the indicator brought to the front. The full candles are drawn in green and red trend colors.Whole candles turn green during the rallyAfter the flip, up and down candles are all red

Vowars DE ver.3.12.36

The lines and ribbon also move in front of the candles. Background color is off.

To recolor the full candles, right-click the indicator on the chart and use “Visual Order” to bring it to the front. Then, as in Figure 1, the candles themselves turn green during the uptrend, and after the flip in Figure 2, both bullish and bearish candles are drawn in red. The lines and ribbon also move in front of the candles, so go with whichever view you find easier to read.

You lose the bullish/bearish candle colors

Once the candles are redrawn in the trend color, you can no longer tell bullish from bearish candles by body color. You can still read open versus close from the shape, but if you rely on candle colors to read buying and selling pressure, turning on just the background color may suit you better.

How it looks on each timeframe, from the 1-minute to the weekly

“Directional Kernel Filter” isn’t locked to any timeframe or symbol; it runs the same calculation everywhere. Here are my impressions from running it on the 1m, 5m, 15m, 30m, 1H, 4H, daily, and weekly charts.

Scalping on the 1-minute

On the 1-minute chart, during the 11:00-hour dump the line chased price down with the ribbon wide open, then flipped green within a few bars of the bounce just after 11:30. Even on default settings it keeps up with sharp moves well enough to be useful for checking short-term flow. That said, during the 10:00-hour chop the color flipped green and red several times, so on the 1-minute it’s best kept to something like “don’t buy while it’s red.”

“Directional Kernel Filter” tracking a sharp drop and bounce on the 1-minute chart. The red ribbon opens during the dump and flips green a few bars into the bounce.
“Directional Kernel Filter” tracking a sharp drop and bounce on the 1-minute chart. The red ribbon opens during the dump and flips green a few bars into the bounce.

Day trading on the 15-minute to 1-hour

This is the range where I found it easiest to work with. On the 15-minute chart, the green ribbon opened wide during the rally and flipped to red quickly on the drop from the highs. While a trend is in play, the color is stable and rarely turns red on a shallow pullback. On the 1-hour as well, the green ribbon stayed open through the September 19–22 rally, and the back-and-forth between green and red became noticeable once price went sideways from the 24th onward. Since flips pick up in consolidation, plan on backing it up with the ribbon width or another indicator during those stretches.

Swing trading on the daily and weekly

On the 4-hour, the red ribbon opened wide during the early-June selloff, and the bounces that followed only produced thin flips between green and red, which made the downtrend easy to read. On the daily, the decline from the October 2025 high and the rally from August 2026 show up as long red and green stretches. Put it on the weekly and the multi-month trends split cleanly into green and red: the 2021 bull run, the 2022 bear market, and the rally from 2023 all flipped colors right at the major turning points. Higher timeframes simply produce fewer flips, so fakeouts don’t stand out even on default settings. As a map for checking “am I still OK being bullish here?” on swing trades, it’s very reliable.

“Directional Kernel Filter” on the weekly chart. Major market cycles, including the 2021 rally, the 2022 decline, and the uptrend from 2023 onward, show up clearly in green and red.
“Directional Kernel Filter” on the weekly chart. Major market cycles, including the 2021 rally, the 2022 decline, and the uptrend from 2023 onward, show up clearly in green and red.
Trading styleTypical timeframesHow to set it up
Scalping1m to 5mDefault settings already react fast enough. Flips are frequent, so use it as a directional filter
Day trading15m to 1HThe defaults (18 / 35) work well. Use the ribbon width to spot consolidation
Swing trading4H to weeklyThe defaults track the bigger trend fine. For even fewer flips, stretch to around 30 / 60

The same approach works on markets that tend to trend cleanly once they get going, like gold and the major forex pairs. Because price moves are divided by ATR before they’re compared, you don’t need to re-tune the settings for symbols that trade at very different price levels.

Pair it with ADX to filter out weak flips

The quickest and simplest way to cut down on flips in chop is to check “is there actually a trend right now?” with a separate gauge. The one that paired best was ADX (Average Directional Index), which measures trend strength only.

Filtering color flips with ADX in a lower pane

Directional Kernel Filter flips shown alongside ADX (trend strength). Flips while ADX is falling don’t last, while the green that follows ADX turning up keeps running.

Filtering color flips with ADX in a lower paneDirectional Kernel Filter paired with ADX (length 14). In the sideways stretch with falling ADX the flips don’t hold, and after the green flip ADX rises above 20 as the uptrend continues.ADXWith ADX falling in the range,flips don’t holdFlips green, but ADXis still lowADX turns up above 20and the rally gains momentum

Vowars DE ver.3.12.36

The lower pane is TradingView’s built-in ADX (ADX Smoothing 14 / DI Length 14). ADX doesn’t show direction, so read direction from the Directional Kernel Filter color and momentum from the slope of ADX.

As Figure 1 shows, while ADX is falling in a sideways market, color flips get reversed almost immediately. At the green flip in Figure 2, ADX was also still low. Then, around the point where ADX turns up and crosses above 20 in Figure 3, the upside momentum becomes clear.

The idea is to split the jobs: direction comes from the “Directional Kernel Filter” color, momentum comes from the slope of ADX. When it turns green, wait for ADX to tick up before getting in. If the color flips while ADX is still pointing down, sit it out. Just having those two rules cuts down on getting chopped up in consolidation. The 20 level on ADX is a common rule of thumb; the right threshold depends on the symbol and timeframe.

There are other good pairings too. Overlay Donchian Channels and add the condition “price breaks the recent high while green,” and you’ve got a breakout setup. Keeping ATR in a lower pane is handy as a guide for sizing your stop distance from the range at the moment of the flip. Each of these is there so you don’t trade on color alone, and I’d recommend picking just one that doesn’t overlap in purpose.

Alerts and repainting

There are two alert conditions. “Directional Kernel Bullish” triggers on the bar where it flips from red to green, and “Directional Kernel Bearish” on the bar where it flips from green to red. Since nothing like an arrow appears on the chart, setting up alerts is a good idea if you don’t want to miss a flip.

The calculation only uses the current bar and the bars before it, with no higher-timeframe data and no future bars. Once a bar is confirmed, the line position and color never repaint. On the live bar, however, the values keep moving, so if you set the alert frequency to “Once Per Bar,” you may get notified the moment the color flips temporarily mid-bar.

Trigger alerts on bar close

If you’re trading off the flip alerts, choose “Once Per Bar Close” as the frequency so you only get notified based on the color of the confirmed bar. To review past flips one bar at a time, step through them with Bar Replay and watch how the color changes; it gives you a clear picture of what happens before and after each bar closes.

Strengths and weaknesses after hands-on testing

Where it shines when riding a trend

  • Just two colors, green and red, show the current direction at a glance
  • Tracks close to price during strong moves, so flips come with little lag
  • Holds its color through small pullbacks and bounces mid-trend
  • No repainting on confirmed bars
  • The raw line and Data Window values let you see exactly how much the directional weighting is doing

What to watch in sideways markets

  • In chop the two lines overlap and the color flips at short intervals
  • It doesn’t measure trend strength, so you need another indicator for that
  • Right after momentum stalls the line holds on a bit, so flips at tops and bottoms come a beat late
  • Kernel Width applies to both lines at once, so extreme values erase the difference between them

“Directional Kernel Filter” earns its place as a trend confirmation layer

Directional Kernel Filter [BackQuant]

“Directional Kernel Filter” takes the old-school two-line crossover and adds one smart twist: it gives more weight to candles moving with momentum. It tracks price well while a trend is running and doesn’t flip easily on small pullbacks. On top of that, it never repaints on confirmed bars.

On the other hand, it struggles in chop about as much as any moving average crossover. That’s why, rather than using it as an entry trigger, I found it works best kept on the chart as a confirmation layer that decides which side you’re allowed to trade right now. It should get the most use in day trading on the 15-minute to 1-hour, and in swing trading where you check the bigger trend on the weekly.

No indicator on its own is a winning trading system. Treat the color flips as one input among several, and combine them with a strength gauge like ADX and a clear stop-loss level.

Sources: This article is based on hands-on testing and in-depth analysis of the indicator Directional Kernel Filter [BackQuant] by BackQuant 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