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

Adaptive Regression Breakout Map | GainzAlgo

Also known as ARBM

Spots volatility squeezes and breakouts, then maps the stop and three take-profit levels.

Difficulty Intermediate

No.VOW-000073

The band color rules and label meanings are quick to pick up, but there are trade management rules running behind the display that are easy to misread if you skip them: the stop moves to breakeven after TP1, trades that close at breakeven get no label, and Win Rate counts those breakeven exits as wins. We rated it intermediate because it suits traders who already have a rough feel for linear regression, standard deviation bands, and how squeeze conditions are defined.

Repainting
Backpaints
  1. Live barChanges
  2. On closeFixed
  3. HistoryBackpaints
Signals on confirmed bars do not repaint, but the trendlines are redrawn back to earlier swing points 10 bars after a swing high or low is confirmed.
Best timeframes
  • Lower TFs≤15m
  • Mid TFs30m–4H
  • Higher TFs1D+
Tested on BTCUSDT (5m, 15m, 30m, 1H, 4H, 1D, 1W)
Alerts
No
Buy/sell signals
Yes
Market conditions
Ranging
Display
Overlay
Chart elements
LinesLabelsTables
Trading style
Swing TradingDay Trading
BreakoutVolatility

An Indicator That Auto-Maps Squeeze Breakouts, From Entry to Take Profit

Diagram gallery 9

Article Summary
What does this indicator do?
Bottom line

Adaptive Regression Breakout Map automatically plots the entry, stop loss, and three take-profit levels when price breaks out of a volatility squeeze. It works best on the 1H to 4H, but keep in mind that its Win Rate runs high because breakeven exits are counted as wins.

Tell me more
Key points
  • When the linear regression band narrows to the low end of its 100-bar range, it turns gray to flag a squeeze.
  • When price closes outside the band on the bar after a gray bar, a Breakout, Long or Breakout, Short label prints.
  • Along with the signal, entry, stop, and TP1–TP3 lines are plotted using the band width as the yardstick.
  • TP1 moves the stop to breakeven, TP2 moves it to TP1, and the trade ends at TP3 or the stop line.
  • Trades that close at breakeven after TP1 get no exit label, so you have to read it from where the lines stop.
  • The top-right Win Rate counts breakeven exits as wins, so it is safer to read it together with Trade Sharpe.
  • The cyan and magenta trendlines play no part in the signals and are drawn back in time once a swing is confirmed.
  • It suits waiting for the move out of a squeeze, and pairing it with volume tools like CMF helps filter breakouts.

“Adaptive Regression Breakout Map” turns the move out of a squeeze into a single trade map

Price coils up tight, then breaks hard one way or the other. You see it on every chart, yet judging in real time when the squeeze has actually maxed out, where to get in, and where to bail is genuinely hard.

The “Adaptive Regression Breakout Map”, published on TradingView, draws that whole sequence right on your chart. It wraps a standard deviation band around a linear regression line, and the band turns gray as it tightens. When price closes outside the band from that gray state, the entry, stop loss, and three take-profit levels are plotted all at once, and labels keep you posted as targets are hit and the stop is moved.

From squeeze to breakout to trade map: the full picture

The gray band captures the contracting range, and the bar that breaks out plots the entry, stop, and three take-profit lines all at once.

From squeeze to breakout to trade map: the full picture① Gray band = range has contracted into a squeeze ② Bar closes above the upper band: Breakout, Long ③ Entry (blue), stop (red), and TP1–TP3 (dotted green) plotted automaticallyBreakout, LongTP1TP2TP3TP1 Hit, Set Trail stopTP2 HitTP3 Hit (Closed)Map PerformanceTotal Signals1Win Rate100%Trade Sharpe0Gray band = range hascontracted into a squeezeBar closes above the upper band:Breakout, LongEntry (blue), stop (red), andTP1–TP3 (dotted green) plotted automatically

Vowars DE ver.3.12.35

Drawn with the default settings (Regression Length 50 / Deviation Multiplier 2.0 / Lookback Period 100 / Contraction Threshold % 20). The numbers in the top-right table are examples calculated from the candles in this figure.

For this review I loaded it on Bitcoin across seven timeframes, from the 5-minute to the weekly, and compared how the signals played out along with the numbers in the stats table at the top right. Bottom line: “Adaptive Regression Breakout Map” is an indicator that lets you visually track a squeeze breakout from entry all the way to exit. That said, the Win Rate in the stats table is counted in a slightly quirky way, and I would be careful about calling a setting “profitable” based on that number alone. I will walk through all of this step by step.

Adaptive Regression Breakout Map on the Bitcoin 4H chart, plotting the entry and take-profit levels after a breakout from a squeeze.
Adaptive Regression Breakout Map on the Bitcoin 4H chart, plotting the entry and take-profit levels after a breakout from a squeeze.

The five elements you will see on the chart

Right after you add it, the chart fills up with lines and labels, and it can take a moment to figure out what is what. Break it down by element, though, and there are really only five things going on.

ElementAppearanceRole
Regression channel (band)Navy normally, gray during a squeezeShows by color whether the range is contracting
Breakout labelsGreen “Breakout, Long” and red “Breakout, Short”Entry signal
Trade mapSolid blue (entry), solid red (stop loss), dotted green (TP1–TP3)Automatically plots exit levels
TrendlinesCyan (highs) and magenta (lows)Reference lines showing the slope of recent swing highs and lows
Map PerformanceTable at the top rightTallies the performance of past signals

A regression channel that flips between navy and gray

The center of the band is a linear regression of the close. Linear regression fits the best straight line through recent closes and connects the latest point of that line bar by bar, so it tracks price faster than a simple moving average. Adding two standard deviations above and below gives you the “Upper Deviation” and “Lower Deviation”. The easiest way to picture it is a Bollinger Band with the basis swapped out for a regression line.

The key to “Adaptive Regression Breakout Map” is that it watches the width of this band. It takes the minimum and maximum band width over the last 100 bars and calculates, on a 0–100% scale, where the current width sits within that range. On bars where that value is at or below Contraction Threshold % (default 20), the band lines and fill turn gray. In Figure 2, only the right edge, where price has calmed down, is gray.

The moment the band turns from navy to gray

"Adaptive Regression Breakout Map" compares the band width with the min–max of the last 100 bars and paints only the bars that have contracted to within the bottom 20% gray.

The moment the band turns from navy to gray① While price is volatile, the band is wide and navy ② Width within the bottom 20% of the 100-bar min–max = gray squeezeMap PerformanceTotal Signals0Win Rate0%Trade Sharpe0While price is volatile,the band is wide and navyWidth within the bottom 20% ofthe 100-bar min–max = gray squeeze

Vowars DE ver.3.12.35

Drawn with the default settings, with the trendlines turned off in the settings. The band lines and fill are navy on non-squeeze bars and gray on squeeze bars.
What “bottom 20%” actually means

The 20% here does not mean the current width ranks in the narrowest 20% of the last 100 bars. It is the position within the range, where the minimum width is 0% and the maximum is 100%. If the last 100 bars include even one period of extreme expansion, the maximum jumps, and the band tends to read gray more easily for a while afterward.

Breakout labels and the trade map

On the bar after a gray bar, a close above the upper line prints a “Breakout, Long” label, and a close below the lower line prints “Breakout, Short”. At the same time, a blue entry line is drawn at that bar’s close, a red stop-loss line at the opposite band, and three dotted green lines in the direction of the trade.

The levels follow fixed rules: the stop goes at the opposite band of the bar before entry, and the targets are spaced using that bar’s band width as the yardstick. Figure 2 shows the band width used as the yardstick, and as Figure 3 shows, TP1 sits one band width from entry, TP2 two widths, and TP3 three widths.

Where the stop and the three take-profit lines are placed

Using the band width of the bar before entry as the yardstick, TP1 is placed 1x away, TP2 2x, and TP3 3x.

Where the stop and the three take-profit lines are placed① Stop = lower band value of the previous bar ② The previous bar's band width is the yardstick for targets ③ TP1 at 1x that width from entry, TP2 at 2x, TP3 at 3xBreakout, LongTP1TP2TP3Map PerformanceTotal Signals0Win Rate0%Trade Sharpe0Stop = lower band valueof the previous barThe previous bar's band widthis the yardstick for targetsTP1 at 1x that width from entry,TP2 at 2x, TP3 at 3x

Vowars DE ver.3.12.35

Drawn with the default settings (TP1/TP2/TP3 Multiplier = 1.0 / 2.0 / 3.0), with the trendlines turned off in the settings. The TP3 label at the top is hidden behind the stats table at the top right, which overlaps it the same way on TradingView because the table is drawn on top.

The distance to the stop works out to “one full band width plus however far price broke out”. Since TP1 is exactly one band width away, the risk-to-reward at TP1 alone is slightly under 1:1, while TP2 and TP3 aim for roughly 2x and 3x that move. The narrower the band, the closer both the stop and the targets, so the tighter the squeeze, the more bunched up the lines look.

The cyan and magenta trendlines

Separate from the band, a cyan line connects the two most recent swing highs and a magenta line connects the two most recent swing lows, both extended to the right. Swing points are defined as bars higher or lower than the 10 bars on each side (the Pivot Length default), so they are only confirmed 10 bars after the fact. As Figure 2 shows, once confirmed, the line is redrawn back to the earlier swing point.

When the cyan and magenta trendlines are drawn

The trendlines in "Adaptive Regression Breakout Map" are just reference lines connecting the two most recent confirmed swing highs (or lows) and extending them to the right.

When the cyan and magenta trendlines are drawn① Connects the last two swing highs and extends right (cyan) ② A swing high is confirmed 10 bars later, and the line is drawn back into the past ③ Breaking the magenta line does not fire a signalMap PerformanceTotal Signals0Win Rate0%Trade Sharpe0Connects the last two swing highsand extends right (cyan)A swing high is confirmed 10 bars later,and the line is drawn back into the pastBreaking the magenta linedoes not fire a signal

Vowars DE ver.3.12.35

Drawn with the default setting (Pivot Length 10). Only the latest cyan and magenta line are shown, and each is replaced when a new swing high or low is confirmed.

What is easy to miss is that these trendlines play no part in the signals at all. As Figure 3 shows, price can clearly break through a line without any label appearing. Only the latest cyan and magenta line are shown, and when a new swing high or low is confirmed, the old line disappears and gets replaced. They are best treated as reference lines for reading the slope of the market.

Map Performance at the top right

A small table at the top right of the chart lists three stats: Total Signals, Win Rate, and Trade Sharpe. It runs through every signal within the loaded bars and tallies the trades that have been closed out. Reading this table correctly matters, so I cover it in detail in a later section.

When signals fire, and when they do not

A “Breakout, Long” prints only when all three conditions below are met. “Breakout, Short” uses the same conditions flipped upside down.

  1. The previous bar was in a squeeze (gray band)
  2. The previous bar closed at or below the upper band
  3. The current bar closes above the upper band

Everything is judged on the close, so a bar that only pokes through the band with its wick does not count. Another important point: no new signal fires while a trade is still open. Until the previous trade ends at a target or the stop, qualifying bars will not get a label.

A reversal right after the breakout, and a breakdown with no squeeze

Even a breakout from a squeeze gets stopped out if it reverses, and a breakdown while the band is navy produces no signal.

A reversal right after the breakout, and a breakdown with no squeeze① Breakout from the gray band: Breakout, Long ② Pushed back to the stop set at entry: Stop Loss Hit ③ Breakdown while the band is navy: no signalBreakout, LongTP1TP2TP3Stop Loss HitMap PerformanceTotal Signals1Win Rate0%Trade Sharpe0Breakout from the gray band:Breakout, LongPushed back to the stop setat entry: Stop Loss HitBreakdown while the band is navy:no signal

Vowars DE ver.3.12.35

Drawn with the default settings, with the trendlines turned off in the settings. The dotted TP1–TP3 lines are above the visible area. The stop-loss line is the lower band value of the bar before entry.

This figure shows a long that fired on a breakout from a squeeze and then reversed right away. In Figure 2, price is pushed back to the stop set at entry, printing “Stop Loss Hit”. Then in Figure 3 it breaks below the lower band, but the band is already back to navy, so no short fires. Getting no signal during a big drop can feel underwhelming, but it is a direct reflection of the indicator’s design: it only trades breakouts that come out of a squeeze.

Where fakeouts tend to pile up

On the 15-minute chart I ran into a stretch where the first breakout out of a squeeze got reversed immediately, and “Stop Loss Hit” labels for a long and a short came back to back. When the breakout bar itself is a big candle that closes far outside the band, the distance to the stop is just as long if price snaps back. Always eyeball the size of the signal bar and the distance to the stop-loss line before you enter.

Adaptive Regression Breakout Map on the 15-minute chart: a fakeout where the breakout from a squeeze whipsawed and triggered back-to-back Stop Loss Hits.
Adaptive Regression Breakout Map on the 15-minute chart: a fakeout where the breakout from a squeeze whipsawed and triggered back-to-back Stop Loss Hits.

Following the trade management through the labels

After entry, you can follow the trade simply by reading the labels in order. Here is how it plays out for a long.

1 Enter on Breakout, Long

The close of the signal bar becomes the entry price, and the stop and TP1–TP3 lines are drawn. While the trade is open, the lines keep extending to five bars past the latest bar.

2 TP1 hit moves the stop to breakeven

When the high reaches TP1, “TP1 Hit, Set Trail stop” appears and the red stop line moves up to the entry price. Despite the word “Trail” in the label, this is not a trailing stop that follows price tick by tick; the stop is ratcheted up one step at a time to fixed levels.

3 TP2 hit moves the stop to TP1

When TP2 is reached, “TP2 Hit” appears and the stop line moves up to TP1. From here, even the worst case locks in the TP1 profit.

4 Exit at TP3 or the stop line

If TP3 is reached, the trade closes with “TP3 Hit (Closed)”. Incidentally, this label prints below the bar for both longs and shorts. Look back at the figure at the top and you will see the TP3 label sitting below the bar.

The case to watch out for is when price hits TP1 and then comes back to the stop. In that case no exit label appears at all. The lines simply stop extending, so if you are just glancing at the chart it is hard to tell whether the trade is still open or already over.

After TP1, a return to breakeven ends the trade quietly with no label

Once TP1 is hit, the stop moves to breakeven. If price then drops back to entry, the trade is closed, but no exit label appears on the chart.

After TP1, a return to breakeven ends the trade quietly with no label① TP1 hit: stop moved up to breakeven ② Back to breakeven and closed. No exit label is shown ③ Counted as a win in Win Rate even with zero profitBreakout, LongTP1TP2TP3TP1 Hit, Set Trail stopMap PerformanceTotal Signals1Win Rate100%Trade Sharpe0TP1 hit: stop moved upto breakevenBack to breakeven and closed.No exit label is shownCounted as a win in Win Rateeven with zero profit

Vowars DE ver.3.12.35

Drawn with the default settings, with the trendlines turned off in the settings. The blue entry line and the red stop line, moved to breakeven, overlap. The numbers in the top-right table are examples calculated from the candles in this figure.

In Figure 2, price drops back to the entry price and the trade is closed. The giveaway is where the blue, red, and green lines stop. While a trade is open, the lines always extend five bars past the latest bar, so if their right end stops short of the latest bar, that trade is over. Another clue is that the blue entry line and the red stop line overlap and look purple, which tells you the stop has been moved up to breakeven.

How to read the Map Performance numbers

The top-right table is handy for instantly checking how results shift when you change settings. But if you do not know what each number actually counts, it is also easy to misread.

What the "Map Performance" table at the top right actually counts

All three numbers are tallied only from trades that have been closed out on the chart.

What the "Map Performance" table at the top right actually counts① Number of closed trades. Open trades are not included ② Trades that hit TP1 count as wins, even if closed at breakeven ③ Average per-trade return÷ its spreadMap PerformanceTotal Signals38Win Rate44.74%Trade Sharpe-0.21Number of closed trades.Open trades are not includedTrades that hit TP1 count as wins,even if closed at breakevenAverage per-trade return÷ its spread

Values in the table are illustrative.

Vowars DE ver.3.12.35

The numbers in the table are examples. As on TradingView, Win Rate is green at 50% or above and red below it, and Trade Sharpe is green at 1 or above and white below it.
  • Total Signals is the number of trades that have been closed. Open trades are not included.
  • Win Rate counts TP3 hits and any exit after TP1 has been reached as a “win”. A trade that hit TP1 and then closed at breakeven also counts as a win, even with zero profit.
  • Trade Sharpe is the average per-trade return (%) divided by its standard deviation. It is not the usual time-based Sharpe ratio; read it as the ratio between the “average” and the “spread” of trade returns.

Here is what the table showed across seven Bitcoin timeframes, all checked on the same day.

TimeframeTotal SignalsWin RateTrade Sharpe
5m3844.74%-0.21
15m3961.54%0
30m9561.05%0.07
1H4151.22%0
4H3652.78%-0.12
1D1450%-0.1
1W250%-0.37

Most timeframes show a Win Rate above 50%, yet Trade Sharpe sits around zero or below on every single one. That surprised me at first, but it makes sense once you realize that many of the “wins” are breakeven exits after TP1, with zero profit. Having compared them side by side, my take is that the win rate tends to look inflated, while Trade Sharpe gives a more honest picture of the actual returns.

Don’t take the stats table at face value

The stats only cover the bars loaded on your chart. On intraday timeframes the number of bars you can load depends on your plan, so the same symbol on the same timeframe can show different numbers for different users. Also, if a single bar touches both TP1 and the stop, it is processed as a TP1 hit first, so results are counted in favor of a win. Fees and slippage are not included either, so treat this table strictly as a rough guide for comparing settings.

Settings and how to tune them for your use case

The settings are split into four groups with nine inputs in total. Every change is reflected on the chart immediately, so you can tune them while watching the table at the top right.

Parameters
SettingDefaultSuggestedEffect
Regression Length5030–50Number of bars used for the regression line and standard deviation. Shorter values make the band react faster and produce more squeeze and breakout readings
Deviation Multiplier2.02.0Band width as a multiple of the standard deviation. Higher values make it harder for price to close outside the band, so you get fewer signals. Stop and target distances widen along with it
Lookback Period100100–200How many past bars the current band width is compared against. Longer values limit squeezes to truly tight conditions
Contraction Threshold %2015–30How close to the low end of the min–max width range (in %) the band must be to count as a squeeze. Raising it creates longer gray stretches and more signals
TP1 Multiplier (x Bandwidth)1.01.0Distance to TP1 as a multiple of the band width. This also sets when the stop moves to breakeven
TP2 Multiplier (x Bandwidth)2.02.0Distance to TP2. Once hit, the stop moves up to TP1
TP3 Multiplier (x Bandwidth)3.02.5–3.0Distance to TP3. Once hit, the trade is closed
Show Holographic TrendlinesOnPersonal preferenceToggles the cyan and magenta trendlines. Has no effect on signals
Pivot Length105–10Bars on each side used to confirm swing highs and lows for the trendlines. Smaller values pick up minor swings and shorten the confirmation delay

Contraction Threshold % controls how much gray you get

The input you will probably touch most is Contraction Threshold %. The next figure uses the same price action as the earlier “navy to gray” figure, with the value raised from 20 to 40.

Raising Contraction Threshold % to 40 stretches the gray zone this far

On the same price action, raising the threshold from 20 to 40 makes the gray start more than 20 bars earlier.

Raising Contraction Threshold % to 40 stretches the gray zone this far① Briefly gray even at the start of the rally ② Gray that covered only the last 7 bars at the default 20 now starts hereMap PerformanceTotal Signals0Win Rate0%Trade Sharpe0Briefly gray evenat the start of the rallyGray that covered only the last 7 barsat the default 20 now starts here

Vowars DE ver.3.12.35

Default settings except for Contraction Threshold %, with the trendlines turned off in the settings. At the default of 20, only the last seven bars on the right turned gray on this price action.

At the default, only the last seven bars on the right were gray, but at 40, as Figure 2 shows, the gray stretch starts more than 20 bars earlier. You get more signal opportunities, but you also pick up breakouts from ranges that have not fully coiled yet. If you want fewer fakeouts, stick with the default 20 or go slightly lower; if signals feel too rare, try raising it to around 25–30. At 40 and above the idea of a “squeeze” gets pretty diluted, so personally I would not recommend going that high.

Pairing Regression Length with Lookback Period

Regression Length controls how fast the band itself reacts, while Lookback Period sets the baseline for “how narrow compared to how far back”. Shortening Regression Length pulls the band closer to the candles and speeds up breakout detection, but it also makes the band flip between gray and navy on minor moves. For short-term trading where you want faster reactions, I found it easiest to lower Regression Length to around 30 and extend Lookback Period to 150–200 to keep the squeeze filter on the strict side.

Set the TP multipliers by how far you want to run the trade

TP1 Multiplier (x Bandwidth) is both your first profit target and the trigger for moving the stop to breakeven. Lowering it gets you to breakeven sooner, but it also adds more “zero-profit wins” to the Win Rate. TP3 Multiplier (x Bandwidth) sits a good three band widths away, so on the daily and weekly the trend often changed before price got there. If you would rather take profits before the move runs out of steam, cutting it to around 2.5 is a reasonable option.

What I learned running it from the 5-minute to the weekly

It runs without display issues on every timeframe, but the experience varied quite a bit.

The 5-minute chart produces lots of squeezes and breakouts, and small fakeouts stand out. Its Win Rate of 44.74% was the lowest of the seven, which makes sense given all the noise. On the 15-minute and 30-minute charts, the gray stretches start to show up in cleaner blocks and the moves after a breakout are easier to read.

It was most straightforward to use on the 1H and 4H. Several times I saw a breakout after a gray band that lasted for days, followed by TP1 and then TP2 getting hit in order. Because it takes longer to go from squeeze to breakout, you also have time to think about the entry once the label appears.

On the daily and weekly, signals drop off sharply. On the weekly, only two fired in the range I loaded, going back to 2020. What caught my eye was a short on the weekly where TP1–TP3 were plotted at negative prices. When the band is wide relative to price, the targets are calculated as-is and end up in places price can never reach. When you look at shorts on higher timeframes, double-check that the TP lines are actually usable as targets.

Adaptive Regression Breakout Map on the weekly chart, with short take-profit lines plotted below zero.
Adaptive Regression Breakout Map on the weekly chart, with short take-profit lines plotted below zero.

In terms of market conditions, it shines on breakouts after price has been chopping in a tight range. While a strong trend is already underway and the band is wide, the squeeze condition is not met, so you will see very few signals. It is better suited to lying in wait for the end of a range than to jumping into a trend midway. I think it also fits markets where volatility tends to contract and expand in cycles, such as gold (XAUUSD), stock indices, and major FX pairs on roughly the 1H to 4H.

Pairing it with CMF to check what is behind a breakout

“Adaptive Regression Breakout Map” decides purely on the relationship between price and the band, so it does not check whether a breakout is backed by volume. That is why I tried pairing it with TradingView’s built-in Chaikin Money Flow (CMF). CMF weights volume by whether each bar closes near its high or its low and sums it up; above zero, money is flowing in on the buy side.

Using Chaikin Money Flow (CMF) to check what is behind a breakout

If CMF, drifting near zero during the squeeze, jumps into positive territory on the Breakout, Long bar, you can read it as a volume-backed breakout.

Using Chaikin Money Flow (CMF) to check what is behind a breakout① Breakout, Long out of the squeeze ② CMF near zero during the squeeze ③ Turns positive on the breakout bar, showing buy-side money flowing inCMF 20Breakout, LongTP1TP2TP3TP1 Hit, Set Trail stopTP2 HitTP3 Hit (Closed)Map PerformanceTotal Signals1Win Rate100%Trade Sharpe0Breakout, Long out of the squeezeCMF near zero during the squeezeTurns positive on the breakout bar,showing buy-side money flowing in

Vowars DE ver.3.12.35

Top: "Adaptive Regression Breakout Map" with default settings (trendlines off). Bottom: TradingView's built-in Chaikin Money Flow (length 20).

What to look for is simple: CMF hovers near zero during the squeeze, as in Figure 2, and then you check whether it jumps into positive territory on the breakout bar, as in Figure 3. If CMF stays negative on a Breakout, Long, or stays positive on a Breakout, Short, you can treat that breakout as weakly supported by volume and pass on it.

Other good matches include ADX to confirm breakout strength, ATR to check whether the stop distance is reasonable, and a higher-timeframe Supertrend if you want to align with the bigger trend. Each one fills in information that “Adaptive Regression Breakout Map” does not look at, which helps you filter breakouts by direction.

Where it helps, and where to stay alert

Where it shines for breakout traders

  • Squeeze bars turn gray, so you can see at a glance when it is time to wait
  • Entry, stop, and three targets are plotted at once, making it easy to plan the trade on the spot
  • Labels let you follow the trade management, including moving the stop up at TP1 and TP2
  • Signals are judged on the close, so they do not change after a bar is confirmed
  • Changing settings instantly updates the stats at the top right, which makes comparisons easy

What to know before you rely on it

  • Trades that close at breakeven after TP1 get no label, so it is easy to miss that they ended
  • Win Rate counts breakeven exits as wins, so it tends to look inflated
  • No new signals fire while a trade is open, and it does not catch pullbacks or rallies within a trend
  • Lines and labels from past trades stay on the chart, so long lookbacks can get cluttered
  • Trendlines are not used for signals, and only the latest one is kept

Signal timing and repainting

Breakouts are judged on the close, and labels and lines on confirmed bars never disappear or move after the fact. Things are different on the bar that is still forming, though. The live bar is recalculated on every tick, so a label can appear the moment price pushes past the band and disappear again if it falls back before the close. Do not jump in the moment a label appears; wait for the bar to close.

The trendlines, on the other hand, are drawn back to the earlier swing point 10 bars after the swing high or low is confirmed. Confirmed swing points never change, but in real time it will look like a line that was not there yesterday has suddenly been drawn from the past. It is safer to use the trendlines only for reviewing past structure, not for real-time decisions.

Labels and lines are each capped at 500, and once that limit is exceeded the oldest ones are removed first. That is why, if you load a long stretch of intraday history, the labels on the oldest trades on the left can go missing.

Alerts and Bar Replay

“Adaptive Regression Breakout Map” has no dedicated alert conditions, so you cannot set an alert on the “Breakout, Long” label itself. Instead, in TradingView’s alert dialog you can select this indicator’s “Upper Deviation” or “Lower Deviation” and get notified when price crosses it. That condition does not include whether the band is gray, though, so when an alert fires you need to check the band color yourself. If you want to step through past signals bar by bar, Bar Replay is handy, since the indicator recalculates along with each replayed bar. How far back you can go depends on your plan and the timeframe.

How the published description differs from actual behavior

The script description on TradingView reads as if breakouts are triggered not only by the standard deviation band but also by trendline breaks. In everything I checked on the chart, labels only appeared on band breakouts and breakdowns, and breaking a trendline never produced a signal. The description also suggests the trendlines “leave a visual history”, but only the latest cyan and magenta line stay on the chart. If you are adding it expecting trendline breaks to drive the signals, it may not be what you expect.

On the other hand, moving the stop to breakeven at TP1, and counting a trade that reached TP1 as a win even if it closes at breakeven, are both clearly stated in the description. The Win Rate calculation is not hidden, so as long as you know how it works, there is no problem reading it.

A trade map for traders who wait for the squeeze to break

Adaptive Regression Breakout Map | GainzAlgo

What “Adaptive Regression Breakout Map” does well is turn the three decisions breakout traders struggle with most, wait, enter, and get out, into something concrete through band colors and lines. Wait while the band is gray, enter when price closes outside the band, and move the stop to breakeven at TP1. Being able to follow that flow right on the chart also makes it a solid practice tool for learning breakout trading.

Beyond that, just keep three things in mind: the Win Rate runs high because it includes breakeven exits, exits after TP1 get no label, and the trendlines have nothing to do with the signals. With those in your head, the display is unlikely to throw you off. A good place to start is pairing it with a volume indicator like CMF to filter out low-quality breakouts.

Sources: This article is based on hands-on testing and in-depth analysis of the indicator Adaptive Regression Breakout Map | GainzAlgo by GainzAlgo 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