An oscillator that reads trend direction from three channels
“Adaptive Breakout Oscillator” tracks three price channels built from recent highs and lows at the same time, and rolls the question “which way is price trying to break?” into a single line. On your chart you get a line that swings between −100 and +100 in a lower pane, plus two threshold lines above and below it. On the main chart, candles are recolored and LONG/SHORT labels are printed.
Most breakout indicators make the call with a single lookback and a fixed trigger, something like “did price take out the 20-bar high?” Adaptive Breakout Oscillator runs short, medium and long lookbacks side by side, and is built so that the regime flips easily when all three agree, and resists flipping when they don’t. That’s why the threshold lines don’t sit at a fixed level but drift up and down.
I tested it on BTCUSD across eight timeframes, from the 1-minute to the weekly. The candle colors make it obvious whether the indicator is currently in a bullish or bearish regime, so you can read market conditions the moment you open the chart, which I found handy. In this article we’ll walk through how to read the display, how to tweak the settings and what pairs well with it, using diagrams along the way.

Let’s start with the big picture. The figure reproduces the default settings. Notice that even when a pullback hits during the uptrend, the candles stay green until the oscillator reaches the lower threshold line.
Adaptive Breakout Oscillator at a glance
Candle colors and LONG/SHORT only flip on the bar where the oscillator crosses the upper or lower threshold line.
Vowars DE ver.3.23.2
As in Figure 1, LONG prints and the candles turn green on the bar where the oscillator crosses above the upper threshold line. In Figure 2 the oscillator dips below 0 and turns purple, but it never reaches the lower threshold line, so the regime stays bullish. Only in Figure 3, on the bar that breaks below the lower threshold line, does it finally flip to SHORT.
Labels only appear on the bar where the regime flips between bullish and bearish. As long as the regime stays the same, no new label prints no matter how much the oscillator swings. Think of it less as a buy/sell signal and more as a marker telling you the trend regime just changed.
Five things on the screen and how to read them
Once you add Adaptive Breakout Oscillator, it draws in both the lower pane and on the main chart. It helps to settle on the order you check things in up front.
| Element | Where | What it shows |
|---|---|---|
| Oscillator (line and fill) | Lower pane | Combined breakout strength across the three channels. Green above 0, purple below |
| Upper/lower threshold lines | Lower pane | The level needed to flip the regime. Widens the more the three channels disagree |
| Fill between the threshold lines | Lower pane | A faint tint of the current regime color (green for bullish, purple for bearish) |
| Candle color | Main chart | The current regime. Green for bullish, purple for bearish |
| LONG/SHORT labels | Main chart | Only appear on the bar where the regime flips |
Oscillator height = where price sits in the channel
The oscillator value comes down to where the close sits inside a channel built from recent highs and lows. Dead center of the channel reads 0, exactly at the recent high reads +50, and at the low reads −50. Once price breaks out of the channel the reading pushes past +50 (or −50), but the further it breaks out, the more it flattens, and it never quite reaches +100 or −100. The figure shows that relationship.
Close position vs. breakout pressure
Inside the channel the reading scales with price position; beyond it, the reading flattens out as it approaches the ±100 cap.
Vowars DE ver.3.23.2
Knowing this changes how you read the scale. A reading above +50 means that, on a weighted average of the three channels, price is trading outside the high, while around +30 it’s merely in the upper half of the channel. As Figure 2 shows, the reading gets harder to push as it nears the cap, so the gap between +70 and +80 represents a much bigger move than the gap between +20 and +30.
The channels here are built from the highs and lows of the last N bars, not counting the current bar. So when the bar in progress prints a new high, the top of the channel doesn’t run away with it. That’s exactly why “did it break out or not” shows up so clearly in the numbers.
The fill shade is a momentum gauge
The fill under the line gets darker the further it moves from 0. It becomes more opaque as the oscillator approaches ±100, so a stretch of dark-shaded humps means price is holding strongly outside the channel. Being able to spot momentum from the shading alone, without tracking the numbers, made it easy on the eyes.
The threshold lines and the faint fill between them
By default the threshold lines start at ±30 as a floor, widen outward when the three channels disagree, and can move out as far as ±65. A faint fill in the regime color sits between them. Even if you turn off Color Bars and put your candles back to normal, you can still read the current regime from this fill, which is a nice touch.
Open the Data Window and you’ll see the pressure for each of Short, Medium and Long, how compressed each channel is, the weight shares, the disagreement across the three (Structural Disagreement) and that bar’s threshold (Adaptive Threshold). None of these are plotted on the chart, so they come in handy when you want to check why the regime flipped on a particular bar. Being able to check the numbers while keeping the chart clean helped a lot when I was backtesting by eye.
Why the threshold lines move
Now let’s look at why the lines in Adaptive Breakout Oscillator move the way they do. Once the flow in the figure clicks, the chart will make a lot more sense.
How the oscillator and threshold lines are built
Two readings come out of the three channels, which way price is breaking and whether all three agree, and the regime call comes from comparing them.
Vowars DE ver.3.23.2
It all starts with three channels built from the highs and lows of the last 10, 20 and 40 bars. For each one it measures where the close sits in the channel, then takes a weighted average of the three to produce the oscillator in Figure 1. At the same time it measures how far apart the three readings are, and the more they disagree, the further it pushes the threshold lines outward. That’s the path in Figure 2. And as Figure 3 shows, as long as the oscillator stays between the threshold lines, the previous regime simply carries on.
Tighter-than-usual channels get more weight
The three channels aren’t averaged equally. Each channel’s width is compared with its typical width (a smoothed average over the period set by Compression Memory), and the tighter a channel is compared with usual, the more weight it gets. The idea is that a breakout from a tight, coiled range means more than one from a channel that has already blown wide open.
Why tighter channels get more weight
Even at the same breakout strength, a channel that is tighter than usual has a bigger say in the oscillator.
Vowars DE ver.3.23.2
The figure calculates the weight shares assuming all three channels break out with the same strength. If only the Short channel has compressed to half its average width, its share climbs to 41%, while Long, whose width has expanded to twice its average, drops to 26%. On a live chart, how hard each channel is breaking out also adds to its weight.
As Figure 2 shows, no channel’s share ever drops to 0. Minimum Weight sets the floor, and at the default of 0.15 every channel keeps some say regardless of how compressed it is.
When the three disagree, the threshold lines widen
The part I found most interesting is what happens when you turn on Show Members: the Short, Medium and Long pressure readings are drawn as thin lines. The figure shows them during a pullback.
The three pressure lines with Show Members
Turn on Show Members and the Short, Medium and Long pressure readings are overlaid as thin lines, so you can see which lookback starts to crack first.
Vowars DE ver.3.23.2
In Figure 1 only the Short line dives deep first, while Medium and Long are still above or near 0. With the three lines pointing in different directions, the threshold lines widen as in Figure 2, so even though the oscillator drops below 0, it never reaches the lower threshold line. Later, once Long also breaks below 0 and all three line up, the SHORT in Figure 3 prints.
If only the short lookback cracks on a pullback, the regime holds; once the long lookback breaks down too, it flips. It’s basically automating the call a lot of discretionary traders already make when they read a trend by eye.
The three thin lines drawn by Show Members aren’t colored by their own sign. They turn green or purple based on whether the main oscillator is above or below 0. You tell the three apart by opacity, not color: Short is the most opaque and Long the faintest.
How to use it on the chart
Adaptive Breakout Oscillator lends itself to a three-layer read: confirm the regime with candle color, gauge how much room you have from the distance between the oscillator and the threshold lines, and use LONG/SHORT to catch the switch. Here’s the routine I settled on after using it.
1 Check the current regime from candle color
Start with the candle color. Green means a bullish regime, purple means bearish. In a bullish regime look for dips to buy, in a bearish regime look for rallies to sell. In other words, use it as a directional filter.
2 Watch the gap between the oscillator and the threshold lines
Even with the same green candles, there’s a difference in how much cushion the regime has between the oscillator holding above the upper threshold line and the oscillator sliding toward 0 and closing in on the lower threshold line. If it’s closing in on the lower line, the regime is on the verge of flipping.
3 On pullbacks, check whether the three lines agree
If the oscillator drops below 0 mid-regime, look at the three lines from Show Members. If only Short has dipped and Long is still positive, give it room as a possible shallow pullback. If Long starts rolling over too, start preparing your exit before the regime flips. That’s how you can play it.
4 Treat LONG/SHORT as a regime change
LONG and SHORT aren’t entry triggers; they tell you the regime has flipped. Rather than jumping in on the bar where the label prints, waiting for a pullback or rally in the direction of the new regime felt like a better fit for how this indicator is built.

In one stretch on the 15-minute chart, after a LONG fired as price bounced off a sharp drop, the candles stayed green all the way to the end of the rally, even with some sideways chop along the way. It won’t play out like this every time, but it’s a good example of how stubbornly the regime holds.
Setting up alerts
There are two alert conditions: “Long Signal” and “Short Signal”. In TradingView’s Create Alert dialog, choose Adaptive Breakout Oscillator as the condition and pick either one.
The oscillator is calculated from the close of the bar in progress, so before the bar closes, it can cross a threshold line and come back, making LONG/SHORT appear and disappear temporarily. Setting the alert frequency to “Once Per Bar Close” means you only get notified once the bar has closed and the regime is locked in.
How it behaves across timeframes
I compared it on BTCUSD on the 1m, 5m, 15m, 30m, 1H, 4H, daily and weekly charts, all on default settings. It displays the same way on every timeframe, but how often labels print differs.
On the 1m and 5m charts, LONG and SHORT flipping back and forth at short intervals during sideways stretches stood out. That’s a natural reaction to the short lookbacks, and you can offset it with the setting changes covered later or by pairing it with an indicator that reads market conditions. From the 1H chart up, labels spread out and stretches of consecutive green or purple candles get longer.

On the daily chart, the bullish regime held for over three months from LONG to SHORT. There were pullbacks where the oscillator dipped below 0, but it never reached the lower threshold line and the regime didn’t change.

Zoom out to the weekly and labels only print a handful of times over several years. They lined up with major turns such as the start of the decline in late 2021 and the start of the rally in early 2023. It also works well for checking the long-term backdrop at a glance through color.
Settings and tuning tips
The settings are split into five groups: “Breakout Structure”, “Adaptive Weighting”, “Adaptive Threshold”, “Visualization” and “Color Settings”.
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| Source | close | close | The price used to measure where the bar sits in the channel. Other sources are available, but if you judge breakouts on bar close, sticking with close is the easiest to work with |
| Short Length | 10 | 10 (5 on lower timeframes for faster reactions) | Lookback for the fastest channel. Lower values react faster to pullbacks and rallies; higher values calm it down |
| Medium Length | 20 | 20 (about 2× Short) | Lookback for the middle channel. Bridges Short and Long |
| Long Length | 40 | 40 (about 4× Short) | Lookback for the slowest channel. The higher it is, the more the bigger trend has to break down before the regime flips |
| Compression Memory | 50 | 50 | Period used to measure each channel’s typical width. Higher values judge compression against a longer-term average width |
| Minimum Weight | 0.15 | 0.15 | Minimum weight every channel keeps. Raising it treats the three more evenly; lowering it strongly favors compressed channels |
| Base Threshold | 0.30 | 0.30 (0.40–0.50 to cut whipsaws) | Floor for the threshold lines (displayed ×100). Higher makes the regime harder to flip; lower makes it more sensitive |
| Disagreement Adaptation | 0.40 | 0.40 | How strongly the threshold lines widen when the three channels disagree. At 0, the threshold lines stay fixed at the Base Threshold level |
| Maximum Threshold | 0.65 | 0.65 | Cap on how far the threshold lines can widen. Setting it below Base Threshold stops them from widening, so keep it above Base Threshold |
| Show Thresholds | On | On | Shows the upper and lower threshold lines |
| Show Threshold Fill | On | On | Shows the fill between the threshold lines, faintly tinted in the regime color |
| Show Members | Off | Off normally, on when checking pullbacks | Draws the Short, Medium and Long pressure readings as thin lines |
| Show Signals | On | On | Shows the LONG/SHORT labels |
| Color Bars | On | On | Colors candles green or purple to match the regime |
| Bullish Color | Bright green | Personal preference | Bullish color, shared by the oscillator, candles and LONG labels |
| Bearish Color | Purple | Personal preference | Bearish color, shared by the oscillator, candles and SHORT labels |
Turning off display settings doesn’t change the calculations or when labels print. For example, even if you turn off Show Thresholds to hide the lines, the regime is still decided by the same threshold lines.
Changing the channel lengths
The biggest impact comes from Short Length, Medium Length and Long Length. The figure compares the defaults with lengths cut in half on the same price action.
What changes when you shorten the channels
Shorter channels react faster to a breakdown from the top. How fast you want it to react depends on how long you hold your trades.
Vowars DE ver.3.23.2
With the defaults in Figure 1, SHORT only prints after the decline is well underway. With the lengths halved in Figure 2, SHORT prints right as price starts rolling over from the top, 10 bars earlier. The flip side of catching it early is that even shallow pullbacks push the oscillator closer to the lower threshold line.
When you change the lengths, the trick is to keep Short, Medium and Long at roughly a 1:2:4 ratio. If the three lookbacks are too close together, the three lines move almost in lockstep and the “widen the thresholds when they disagree” mechanism barely kicks in.
Base Threshold sets how easily the regime flips
If LONG and SHORT flip-flopping in a sideways market bugs you, raise Base Threshold. The figure compares 0.30 and 0.50 on the same price action.
What changes when you raise Base Threshold
Raising Base Threshold cuts down on regime flips in choppy ranges. The trade-off is a longer wait for the next signal.
Vowars DE ver.3.23.2
At 0.30 in Figure 1, the regime flips three times inside the range. At 0.50 in Figure 2, the oscillator never reaches the threshold line, the regime stays bullish, and it carries straight into the rally that follows. The trade-off is that with a higher threshold, switching to a new regime also takes longer. There’s no single right answer; it comes down to how much whipsaw you’re willing to put up with.
When raising Base Threshold, also keep an eye on how far it is from Maximum Threshold. The room to widen is the gap between the two, so if you raise Base Threshold to 0.50 and leave Maximum Threshold at 0.65, there’s only 0.15 left to widen when the channels disagree.
Starting points by use case
The table below is a starting point based on the behavior covered so far. What works will vary by symbol and timeframe, so fine-tune it while stepping through past price action bar by bar in Bar Replay.
| Use case | Setting to change | Goal |
|---|---|---|
| Cut down whipsaws in sideways markets on 1m–5m | Base Threshold 0.40–0.50 | Only flip the regime on a clean breakout |
| Catch reversals earlier on 15m–1H | Short/Medium/Long at 5/10/20 | React faster to breakdowns from tops and bottoms |
| Ride only the bigger moves on 4H–daily | Short/Medium/Long at 20/40/80 | Makes the regime less likely to flip on pullbacks |
| Treat the three lookbacks more evenly | Raise Minimum Weight (around 0.3) | Dial back how strongly compressed channels are favored |
Pairing it with the Choppiness Index to spot chop
Because Adaptive Breakout Oscillator looks at breakouts from three channels, in a range where price ping-pongs between highs and lows the oscillator swings back and forth around 0, and the regime flips every time it crosses a threshold line. To cover that weak spot, you want an indicator that uses a different yardstick to tell whether price is trending in one direction or chopping back and forth.
That’s where I’d suggest trying the Choppiness Index, which comes built into TradingView. It ignores direction and only measures, on a 0–100 scale, whether the last 14 bars trended in one direction or chopped back and forth.
Reading market conditions with the Choppiness Index
Adding the Choppiness Index below lets you spot choppy stretches, where LONG and SHORT tend to whipsaw, using a different yardstick from the oscillator.
Vowars DE ver.3.23.2
In Figure 1, the Choppiness Index is pinned around 61.8 or higher. Neither the LONG nor the SHORT that printed during that stretch lasted long. In Figure 2, the Choppiness Index drops sharply after the LONG, confirming that price has broken out of the chop.
In practice, I found it easiest to sit out any LONG/SHORT while the Choppiness Index is above 61.8, then wait for it to drop below 50 before following the regime.
Beyond that, if you want an exit guide, an ATR-based stop like the Chandelier Exit pairs well. Adaptive Breakout Oscillator doesn’t give you take-profit or stop-loss levels, so having a separate exit plan makes it easier to combine with the regime read. If you want to check whether a breakout bar came with real volume, stacking a volume indicator such as Chaikin Money Flow underneath is another option.
Strengths and caveats from hands-on use
Where it shines
- The regime doesn’t flip easily mid-pullback, so it’s easy to ride a trend for longer
- The regime flips when all three lookbacks line up, close to how discretionary traders read trends
- Candle color alone tells you the current regime, so you can read market conditions the moment you open the chart
- Show Members and the Data Window let you check after the fact why the regime flipped
- Channels are built from confirmed past bars, so what’s shown on closed bars doesn’t change later
What to watch out for
- In sideways ranges, the regime flips every time a threshold line is crossed
- The regime only flips after a threshold line is crossed, so it won’t call the exact top or bottom
- It doesn’t show take-profit or stop-loss levels, so you need to plan exits separately
- There are quite a few settings, and it takes a bit of time to understand how the threshold lines behave
Things to know before you use it
Closed bars don’t repaint
Adaptive Breakout Oscillator’s channels are built from the highs and lows of the last N bars, not counting the current bar. There’s also nothing that goes back and redraws lines or labels on past bars, so the oscillator, threshold lines, candle colors and labels on confirmed bars don’t change after the fact.
On the other hand, the bar in progress is recalculated every time the close moves. Until the bar closes, LONG or SHORT can appear and disappear, so the rule of thumb is to wait for the bar to close before trusting the regime.
How past charts can mislead, and how to test it
On historical charts, the setups that worked jump out at you, while the losses after fakeouts are easy to overlook. Adaptive Breakout Oscillator is an indicator, so it won’t show results in the Strategy Tester. The most reliable way to test it is to step through past price action bar by bar with TradingView’s Bar Replay and log what you would have done on each bar where LONG/SHORT printed.
Candle color and LONG/SHORT are a regime read based on three channels. They don’t account for major economic releases or shifts in the broader market. Bring it in as one piece alongside your other confluence and risk management.
A trend-following companion that shows the backdrop through candle color
ImageAdaptive Breakout Oscillator watches whether three channels are in step and only flips the regime when they line up. On pullbacks the threshold lines widen to protect the regime, and once the longer lookback breaks down too, it switches quickly. That behavior fits nicely with how traders who like to ride trends longer tend to think.
In sideways markets the regime flips more often, so it’s worth backing it up with an indicator that reads market conditions, like the Choppiness Index, or by adjusting Base Threshold. Start by adding it with default settings to your usual timeframe and see how closely the candle colors match your own read of the market.








