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.”

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.
| Element | Default | What it looks like |
|---|---|---|
| Thick line (Fast Directional Kernel) | On | Turns bright green or red with the trend. Width 3 |
| Thin line (Slow Directional Kernel) | On | Same color as the thick line, slightly more transparent. Width 2 |
| Ribbon (Directional Kernel Ribbon) | On | Fills the gap between the two lines with a semi-transparent version of the same color |
| Base Gaussian Kernel | Off | The raw line without directional weighting. A thin line in a faded version of the chart’s text color |
| Candle coloring | Off | Redraws the candles in the trend color |
| Background color | Off | Lightly 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.
Vowars DE ver.3.12.36
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.”
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.
Vowars DE ver.3.12.36
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.
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.
Vowars DE ver.3.12.36
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.
Vowars DE ver.3.12.36
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.
Vowars DE ver.3.12.36
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.
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| Source | close | close | The price used in the calculation. Leaving it on close is fine |
| Fast Kernel Length | 18 | 18 (around 30 for longer-term) | Length of the thick line. Lower values react faster and flip more often (min 3) |
| Slow | 35 | 35 (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 Width | 0.35 | 0.35 | How 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 Weight | 3.5 | 3.5 | Strength of the directional weighting. At 0 it matches the raw line with no directional weighting (0–5.0) |
| Normalization Length | 14 | 14 | ATR 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.
Vowars DE ver.3.12.36
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.
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.
Vowars DE ver.3.12.36
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.
Vowars DE ver.3.12.36
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.
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.”

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.

| Trading style | Typical timeframes | How to set it up |
|---|---|---|
| Scalping | 1m to 5m | Default settings already react fast enough. Flips are frequent, so use it as a directional filter |
| Day trading | 15m to 1H | The defaults (18 / 35) work well. Use the ribbon width to spot consolidation |
| Swing trading | 4H to weekly | The 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.
Vowars DE ver.3.12.36
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.
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
Image“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.









