Skip to content
Script type
Indicator
Source code
Open-source

Resampling Reverse Engineering Bands [DW]

Also known as RREB [DW]

See exactly which prices on your chart correspond to RSI 70, 50 and 30.

Difficulty Intermediate

No.VOW-000150

Only three bands plus background and candle colors appear on the chart, but once you understand that each one maps to RSI 70, 50 and 30, the chart reads very differently. You can choose between RSI, Stochastic and CCI as the source, and there are three resampling methods that skip bars by count, time or price movement. It's rated intermediate because it assumes you're comfortable with basic RSI reading and want to make full use of these setting combinations.

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

Resampling Reverse Engineering Bands: Read RSI on Your Price Chart Without an Extra Pane

Diagram gallery 10

Article Summary
What does this indicator do?
Bottom line

Resampling Reverse Engineering Bands plots the prices where RSI (or Stochastic/CCI) would hit 70 and 30 as bands on your chart. You can read RSI's state as a price level and see in advance what price the next bar needs for RSI to reach 70.

Tell me more
Key points
  • It calculates the prices where RSI would be at 70, 50 and 30 on every bar and plots them as upper, middle and lower bands.
  • Bars that close above the upper band get a green background, and bars that close below the lower band get a red one.
  • The highlighted bars match exactly the bars where TradingView's built-in RSI is above 70 or below 30.
  • Candles are colored bright green, dark green, bright red or dark red based on the middle band and the previous close.
  • On the latest bar, the bands show the close the next bar needs for RSI to land at exactly 70 or 30.
  • Three calculation types, RRSI, RStoch and RCCI, each give the bands a different width and behavior.
  • Resampling recalculates only every few bars, filtering out small wiggles on lower timeframes.
  • In strong trends the green background can last a long time, so pair it with Chandelier exit or similar for exits.

Where is RSI 70 on your chart? This indicator draws it as a band

If you trade with RSI, you’ve probably wondered how much further price has to run before RSI tags 70. RSI lives in a separate pane on a 0–100 scale, so the chart itself never tells you what price that 70 actually corresponds to.

Resampling Reverse Engineering Bands answers exactly that question. On every bar it works out the prices where RSI would be at 70, 50 and 30, and plots them as three bands right on top of your candles. The whole idea is to reverse-engineer price from an oscillator value.

Resampling Reverse Engineering Bands on a 1-hour chart, showing the upper, middle and lower bands, the background highlights and the custom candle colors at a glance.
Resampling Reverse Engineering Bands on a 1-hour chart, showing the upper, middle and lower bands, the background highlights and the custom candle colors at a glance.

It isn’t limited to RSI either. You can switch the calculation to the Stochastic or CCI, and there’s a built-in resampling feature that only recalculates every few bars. I ran it on everything from the 1-minute to the weekly chart, and being able to read RSI as an actual price level is where it really shines.

What do the three bands and colors mean?

The default Band Calculation Type is “RRSI”, which builds the three bands from RSI. From top to bottom, they show the price at RSI 70, the price at RSI 50 and the price at RSI 30.

RSI 70, 50 and 30 plotted straight onto price

With the default RRSI mode, the upper, middle and lower bands mark the prices where RSI would sit at 70, 50 and 30, updated every bar.

RSI 70, 50 and 30 plotted straight onto price① Upper band (green) price at RSI 70 ② Middle band = RSI 50 green above, red below ③ Lower band (red) price at RSI 30Upper band (green)price at RSI 70Middle band = RSI 50green above, red belowLower band (red)price at RSI 30Green background = RSI above 70

Vowars DE ver.3.24.1

The green background only appears on bars that close above the upper band (RSI above 70). The black chart background is painted by the indicator itself.

Upper band, middle band and lower band

The green upper band at the top, shown in Figure 1, is the price at RSI 70. The red lower band at the bottom, in Figure 3, is RSI 30, and the middle band between them, in Figure 2, is RSI 50. The middle band turns green when price closes above it and red when price closes below it.

The area between the upper and middle bands gets a light green fill, and the area between the lower and middle bands a light red fill. You may also notice small white dots around the bands. They mark the close used in the calculation. On default settings they sit exactly on each close, so they’re barely visible. They only start to matter once you turn on resampling, which we’ll get to later.

Green and red background highlights

When a bar closes above the upper band, the background behind it is shaded green. When a bar closes below the lower band, the background turns red. In RSI terms, green means RSI above 70 and red means RSI below 30. Both shades are fairly dark and show up as vertical stripes on the chart. Every other bar keeps a plain black background.

Four candle colors

Resampling Reverse Engineering Bands also recolors your candles. The color comes from a two-step check: first, is the close above or below the middle band? Second, did it close higher or lower than the previous bar?

How the four candle colors are decided

By default, candle color depends on two things: is the close above or below the middle band, and did it close higher or lower than the previous bar?

How the four candle colors are decided① Same test as RSI above/below 50 ② Dark = same side of 50, but momentum has stalled Flow: Close above the middle band? → (Above) Higher close than previous bar? / (Below) Lower close than previous bar?, Higher close than previous bar? → (Yes) Bright green(Still pushing up) / (No) Dark green(Pausing above), Lower close than previous bar? → (Yes) Bright red(Still pushing down) / (No) Dark red(Pausing below)。AboveBelowYesNoYesNoClose above themiddle band?Higher close thanprevious bar?Lower close thanprevious bar?Bright greenStill pushing upDark greenPausing aboveBright redStill pushing downDark redPausing belowSame test as RSI above/below 50Dark = same side of 50,but momentum has stalled

Vowars DE ver.3.24.1

When resampling (e.g. with Bars Per Sample), a bar that stays on the same side of the middle band but closes back past the white dot (the sampled close) is painted gray.

As Figure 1 shows, the first split is the same as asking whether RSI is above or below 50. Above the middle band with a higher close than the previous bar gives bright green; still above the band but without a higher close gives dark green. The bearish side works the same way: bright red while the selling continues, dark red when price is below the band but stops making lower closes.

What I found most useful were the dark colors in Figure 2. When two or three dark green candles print in a row during a rally, you can see at a glance that RSI is holding above 50 but momentum has stalled. You don’t even need the RSI pane open; the candle colors tell you the story.

The black chart background is by design

Adding Resampling Reverse Engineering Bands turns your chart background solid black. The indicator paints the background itself, so it can look harsh if you use a light theme. The background fills are listed as separate items in the Style tab of the settings, so unchecking the black background brings back your normal chart background. The green and red highlights are separate items, so you can keep those on.

Are closes outside the bands the same bars where RSI breaks 70 or 30?

Yes, they’re the exact same bars. Once that clicks, this indicator becomes much easier to read. The figure below shows Resampling Reverse Engineering Bands in the top pane and TradingView’s built-in RSI (length 14) in the bottom pane.

Closes outside the bands = RSI above 70 or below 30

Compare the shaded bars in the top pane with the bars where RSI in the bottom pane breaks out of the 70/30 levels.

Closes outside the bands = RSI above 70 or below 30① Close above the upper band background turns green ② Same 9 bars: RSI above 70 ③ The 2 closes below the lower band match RSI under 30RSI(14)3070Close above the upper bandbackground turns greenSame 9 bars: RSI above 70The 2 closes below the lower bandmatch RSI under 30

Vowars DE ver.3.24.1

The bottom pane is TradingView's built-in RSI (length 14). The three bands are that same RSI's 70, 50 and 30 levels translated into price, so the bars line up exactly.

In Figure 1, the nine bars that closed above the upper band match the nine bars where RSI was above 70 in Figure 2 perfectly. In Figure 3, the two bars with a red background are the same bars where RSI dropped below 30.

They line up because the three bands are prices worked out by running the RSI formula in reverse. RSI is the ratio of the average gain to the average loss over recent bars. Resampling Reverse Engineering Bands tracks both averages on every bar and solves for the close that would put RSI at exactly 70. So a close above that band and an RSI reading above 70 mean the same thing.

Read RSI even with the RSI pane closed

Green background means RSI above 70, red background means below 30, green candles mean above 50 and red candles mean below 50. Remember those four and you can read RSI straight off the price chart without opening the RSI pane. That’s especially handy on mobile, where screen space is tight, or in multi-chart layouts.

To be precise, the calculation is seeded slightly differently from the built-in RSI. You may see tiny differences in the first few dozen bars at the far left of the loaded history, but the values converge after enough bars. On the recent bars you actually trade, it’s not something you’ll notice.

Read the latest band value as the next bar’s target price

On past bars you’re checking whether price closed outside the bands. On the latest bar at the far right, though, the bands have another use. The value plotted there is the price the next bar would need to close at for RSI to land at exactly 70 (or 30).

The latest band value is the next bar's target price

On the rightmost bar, each band shows how far the next close has to travel for RSI to hit 70 or 30.

The latest band value is the next bar's target price① Next bar closes here RSI = exactly 70 ② This gap is the move left before RSI 70 ③ Drop to here and RSI = 30Next bar closes hereRSI = exactly 70This gap is the moveleft before RSI 70Drop to hereand RSI = 30

Vowars DE ver.3.24.1

The bands recalculate every time a bar closes. While the next bar is still forming, the bands on that live bar move with price.

In Figure 1, if the next bar closes at the green level, RSI prints exactly 70. In Figure 3, a drop to the red level puts it at exactly 30. The gap between the current close and the upper band, shown in Figure 2, is how much upside is left before RSI reaches overbought.

If you use RSI 70/30 for taking profits or fading moves, this is probably the most practical part of the indicator. Instead of staring at the oscillator thinking “it’s getting close to 70,” you know up front that “a close at this price means 70,” so you can plan your limit orders and alert levels in advance.

Set alerts with TradingView’s built-in alerts

Resampling Reverse Engineering Bands doesn’t come with its own alert conditions. However, in TradingView’s Create Alert dialog you can pick this indicator as the condition and set a crossing with High Threshold Band or Low Threshold Band. That way you get notified when price breaks through a band. Because the bands move every bar, the alert checks price against the band’s current value rather than a fixed horizontal level.

One thing to keep in mind: on the live bar that hasn’t closed yet, the bands move along with price. The value you can treat as a target price, as in the figure, is the one locked in at bar close. Bands on confirmed bars never get rewritten later.

Why do the bands widen and tighten so much?

Unlike Bollinger Bands, where the width follows a fixed rule, the width of Resampling Reverse Engineering Bands can change abruptly depending on the size of recent up and down moves. It puzzled me too the first time I saw it.

Band width = the move needed to shift RSI

The distance between the bands isn't fixed. It widens after big moves and tightens as price goes quiet.

Band width = the move needed to shift RSI① After the dump, the upper band jumps far above price ② As volatility dries up all three bands tightenAfter the dump, the upper bandjumps far above priceAs volatility dries upall three bands tighten

Vowars DE ver.3.24.1

Right after a sell-off the average loss is inflated, so RSI needs a much bigger rally to get back to 70 and the upper band shoots far away.

Figure 1 shows the moment right after a sharp sell-off. One big red candle inflates the average loss, so RSI would need a huge rally to get back to 70, and the upper band shoots far above price. On the other hand, as Figure 2 shows, when volatility dries up, both average gain and average loss shrink and the three bands gradually tighten around price.

In other words, band width tells you how big a move it takes to shift RSI. When the bands are wide, a small bounce barely moves RSI; when they’re tight, even a small move can push RSI to 70 or 30. Once price goes quiet and the bands squeeze in, the next small move is more likely to light up the background.

After a sharp sell-off the upper band jumps far away, then all three bands tighten around price during the sideways chop that follows.
After a sharp sell-off the upper band jumps far away, then all three bands tighten around price during the sideways chop that follows.

Is a long run of green background a sell signal in a strong trend?

If you’ve learned RSI above 70 as “overbought = sell,” you’ll be tempted to wait for a pullback as soon as the green background appears. In a strong rally, though, the green background often prints bar after bar while price just keeps climbing.

In a strong uptrend, price rides above the upper band

When RSI stays above 70 and price keeps climbing, the green background prints bar after bar. It isn't a top signal; it shows strong upside momentum.

In a strong uptrend, price rides above the upper band① The upper band slips under the candles and the green background keeps printing ② The middle band keeps grinding higher underneath ③ Candles turn red only on a close below the middle bandThe upper band slips under the candlesand the green background keeps printingThe middle band keepsgrinding higher underneathCandles turn red only ona close below the middle band

Vowars DE ver.3.24.1

Even after the green background disappears, candles stay green until they close below the middle band.

In Figure 1, look at how the upper band slips underneath the candles. While RSI is above 70, the price that would bring RSI back to 70 sits below the current close, so the upper band ends up under price. In a strong uptrend this can last a long time, and the middle band in Figure 2 keeps grinding higher underneath.

The clearer sign that the trend has shifted isn’t the bar where the green background disappears. It’s the bar in Figure 3 where a candle closes below the middle band and turns red. Treat the green background as a sign of strong upside momentum, and as long as price holds above the middle band, you’re still in the trend.

A 4-hour chart in a strong uptrend, with the green background printing for many bars and the upper band slipping below the candles.
A 4-hour chart in a strong uptrend, with the green background printing for many bars and the upper band slipping below the candles.
Don’t fade the move just because the background turns green

The green and red backgrounds only tell you RSI has moved beyond 70 or 30. They don’t predict a reversal. The stronger the trend, the longer price keeps running with the background lit up. If you want to use it for counter-trend trades, combine it with the higher-timeframe trend and an exit tool like the one covered below.

What’s the difference between RRSI, RStoch and RCCI?

Switching Band Calculation Type changes the oscillator the bands are built from. RRSI reverse-engineers price from RSI, RStoch from the Stochastic and RCCI from CCI. Apply all three to the same price action and the difference is obvious.

How the band shape changes by calculation type

Run the same price action through all three calculation types and the band width and behavior change noticeably.

How the band shape changes by calculation type[RRSI (default)]① Widest bands, fewest closes outside [RStoch]② Steps with recent highs and lows [RCCI]③ Hugs price smoothly around the averageRRSI (default)Widest bands, fewest closes outsideRStochSteps with recenthighs and lowsRCCIHugs price smoothlyaround the average

Vowars DE ver.3.24.1

Each type uses its default settings (RSI 14 at 70/30, Stochastic 14 at 80/20, CCI 20 at ±100). How often the background lights up also varies by type.

In Figure 1, RRSI has the widest bands of the three and the fewest highlighted bars. In Figure 2, RStoch places its bands at the 80% and 20% points of the range between the highest high and lowest low of the last 14 bars, so they move in steps every time a new high or low is set. In Figure 3, RCCI hugs price smoothly around the average of the last 20 bars.

Calculation typeSource oscillatorBand behaviorBest for
RRSI (default)RSI (length 14, 70/30)Wide; jumps sharply after fast movesSeeing RSI 70/30 as price levels
RStochStochastic (length 14, 80/20)Steps with recent highs and lowsWatching the top and bottom of a range
RCCICCI (length 20, ±100)Moves smoothly around the averageSpotting overextension from the mean

The simplest way to choose is to go with the oscillator you already use. If you’re used to RSI, stick with RRSI; if you time entries with the Stochastic, pick RStoch. Note that the CCI here is calculated from the close. TradingView’s built-in CCI uses (high + low + close) / 3 by default, so set its source to close if you want to compare values.

Filtering out noise with resampling

The “Resampling” in the name refers to skipping bars in the calculation. By default it calculates on every bar, but if you only recalculate every few bars, the small wiggles in between stop feeding into the bands.

Sampling every 4 bars turns the bands into steps

Set Bars Per Sample to 4 and the indicator only recalculates once every 4 bars. In between, the previous values simply carry forward.

Sampling every 4 bars turns the bands into steps[Bars Per Sample 1 (default)]Calculated every bar, so the bands move bar by bar [Bars Per Sample 4]① White dot = sampled close flat for 4 bars ② Bands also step every 4 bars ③ Closes below the white dot turn grayBars Per Sample 1 (default)Calculated every bar, so the bands move bar by barBars Per Sample 4White dot = sampled closeflat for 4 barsBands also stepevery 4 barsCloses below the white dot turn gray

Vowars DE ver.3.24.1

Both panes show the same price action. In the bottom pane the white dots (Resampled Source) only move every 4 bars, and the bands switch in steps.

Set Bars Per Sample (For BPS Method) to 4 and the indicator recalculates once every 4 bars. The white dot in Figure 1 is the sampled close and stays flat for those 4 bars, and the bands in Figure 2 step to new levels every 4 bars as well.

While resampling, a gray candle color is added. As in Figure 3, a bar that closes below the white dot is painted gray even if it’s above the middle band. Read it as “still on the bullish side, but pulling back from the last sampled close.” The middle band’s color also follows the white dot while resampling is on.

Resampling Method gives you three ways to decide which bars get calculated.

1 BPS samples by bar count

This is the default method. It calculates once every Bars Per Sample (For BPS Method) bars: 1 means every bar, 4 means once every 4 bars. You can shift which bar the count starts from with Sample Cycle Offset.

2 Interval samples by time

It calculates on the bar where a new period of a multiple of your chart timeframe begins. On a 15-minute chart with a multiple of 4, that’s at every new hour. One thing to watch: the multiple doesn’t actually come from Sampling Interval Multiplier (For Interval Method); it comes from the value of Bars Per Sample (For BPS Method). To change the interval in Interval mode, edit the Bars Per Sample field. If you leave it at the default of 1, Interval mode still calculates on every bar.

3 PA samples by price movement

It only recalculates when price moves by at least a set amount. The size is set with Range Sample Threshold (For PA Method) and the unit with Range Scale (For PA Method); the default unit is “Average Change” (the average bar-to-bar move). Small wiggles don’t trigger a recalculation and the bands only update after a meaningful move, which makes it useful for keeping the bands steady in choppy markets. The default Range Sample Threshold (For PA Method) is 0, which means it still calculates on every bar. If you want to try it, start around 1 and adjust from there.

Settings and how to tune them for your goal

The settings you’ll actually touch most are the calculation type, the thresholds for that type and a few resampling options. Settings for the calculation types you aren’t using have no effect on the display.

Parameters
SettingDefaultSuggestedEffect
Input Source PriceclosecloseThe price used to calculate the bands and to decide the background and candle colors. Change it from close and every check switches to that price.
Band Calculation TypeRRSIRRSI (if you already use RSI)The oscillator the bands are reverse-engineered from: RSI for RRSI, Stochastic for RStoch, CCI for RCCI.
Resampling MethodBPSBPSHow the bars to calculate on are chosen: BPS by bar count, Interval by time, PA by price movement.
Bars Per Sample (For BPS Method)11 (2–4 to cut noise)Calculate once every this many bars. Higher values turn the bands into steps and remove small wiggles, but react later. Interval mode also uses this value as its multiple.
Sampling Interval Multiplier (For Interval Method)1Leave at 1Meant for Interval mode, but not used in the current calculation. Interval mode’s multiple comes from Bars Per Sample.
Range Sample Threshold (For PA Method)0Start around 1 (when using PA)In PA mode, only recalculate after price moves at least this much. At 0 it calculates every bar. Higher values mean fewer updates.
Range Scale (For PA Method)Average ChangeAverage ChangeUnit for the PA threshold. Choose from Points, Pips, Ticks, % of Price, ATR, Average Change or Absolute.
Range Period (For PA Method – Applies To Dynamic Range Types)1414Number of bars used to average ATR and Average Change. Higher values make the threshold change more slowly.
Smooth Range (For PA Method – Smooths Dynamic Ranges)OnOnWhether to smooth the PA threshold with an extra average.
Smoothing Period (For PA Method)2727Number of bars used to smooth the threshold when Smooth Range is on.
Sample Cycle Offset00Shifts the calculation bars. In BPS it moves the starting point of the count; in Interval and PA it delays the calculation by this many bars.
RSI Period1414 (match the RSI length you normally use)RSI length for RRSI. Lower values bring the bands closer to price and light up the background more often.
RSI High Threshold Value7070 (80 on strongly trending markets)RSI level for the upper band. Higher values push the band away from price and reduce green highlights.
RSI Low Threshold Value3030 (20 on strongly trending markets)RSI level for the lower band. Lower values push the band away from price and reduce red highlights.
Stochastic Period1414Lookback for the highest high and lowest low in RStoch. Higher values make each step last longer.
Stochastic Smoothing Period11Smoothing length for %K in RStoch.
Stochastic High Threshold Value8080Level for the RStoch upper band, i.e. what percentage of the recent range it sits at.
Stochastic Low Threshold Value2020Level for the RStoch lower band.
CCI Period2020Number of bars used for the mean and mean deviation in RCCI.
CCI High Threshold Value100100CCI level for the RCCI upper band. Higher values push the band further from the mean.
CCI Low Threshold Value-100-100CCI level for the RCCI lower band.
The “═” after some setting names

In the settings, Band Calculation Type, Sample Cycle Offset and the last threshold of each type are followed by a “═══” line. It’s just a visual divider between groups of settings, so this article leaves it out of the names.

Widen the RSI thresholds on strongly trending markets

On markets that tend to run in one direction, like Bitcoin or gold, the green and red backgrounds show up a lot at 70/30. Raising RSI High Threshold Value to 80 and lowering RSI Low Threshold Value to 20 pushes the bands further from price, so the highlights only appear on truly stretched moves. 80/20 is a common RSI setting for strong trends, and this simply carries it over to the price bands.

Cutting noise on lower timeframes

If the candle colors flip back and forth too often on the 1-minute or 5-minute chart, try setting Bars Per Sample (For BPS Method) to 2–4. Because the bands only update every few bars, small wicks are less likely to flip the middle band’s color. Set it too high and the bands react late, so around 3 is a sensible place to start.

Changing the RSI length

Lowering RSI Period makes RSI react more to the last few bars, so the bands move closer to price and the background lights up more often. Raising it does the opposite. If you already have a go-to RSI length, matching it here is the easiest choice.

Connect it to other scripts with four external outputs

Although they aren’t drawn on the chart, Resampling Reverse Engineering Bands outputs its readings as four values. You can select them from the source dropdown in the settings of another indicator or strategy.

Pass the band state to other scripts with four external outputs

Resampling Reverse Engineering Bands exposes four values that aren't drawn on the chart. You can pick them from the source dropdown of another indicator or strategy.

Pass the band state to other scripts with four external outputs① With default settings, Current and Resampled match Flow: Resampling Reverse Engineering Bands(Price vs. the 3 bands) → Trend Signal (Current Resolution Prices)(Above middle 1 / below -1) / Trend Signal (Resampled Prices)(Dot above middle 1 / below -1) / Outside Band Signal (Current Resolution Prices)(Outside up 1 / down -1 / inside 0) / Outside Band Signal (Resampled Prices)(Same test on the white dot), Trend Signal (Current Resolution Prices)(Above middle 1 / below -1) → Another script's source input, Trend Signal (Resampled Prices)(Dot above middle 1 / below -1) → Another script's source input, Outside Band Signal (Current Resolution Prices)(Outside up 1 / down -1 / inside 0) → Another script's source input, Outside Band Signal (Resampled Prices)(Same test on the white dot) → Another script's source input。Resampling ReverseEngineering BandsPrice vs. the 3 bandsTrend Signal(Current Resolution Prices)Above middle 1 / below -1Trend Signal(Resampled Prices)Dot above middle 1 / below -1Outside Band Signal(Current Resolution Prices)Outside up 1 / down -1 / inside 0Outside Band Signal(Resampled Prices)Same test on the white dotAnother script'ssource inputWith default settings, Current and Resampled match

Vowars DE ver.3.24.1

Output names appear exactly as shown in the settings. The trend outputs return 1 or -1; the outside-band outputs return 1, 0 or -1.

“Trend Signal” returns 1 when the close is above the middle band and -1 when it’s below. “Outside Band Signal” returns 1 above the upper band, -1 below the lower band and 0 inside. “Current Resolution Prices” at the end of the name means the check uses the current bar’s close, while “Resampled Prices” uses the white dot (the sampled close). As Figure 1 shows, on default settings without resampling the two are identical. For example, you could use it as a strategy filter so long entries are only considered when Trend Signal is 1.

Pair it with Chandelier exit so you don’t bail on the green background

Resampling Reverse Engineering Bands shows you RSI on the price chart, but it doesn’t give you an exit line. When the green background keeps printing in a strong rally, you tend to either bail early because of the green, or wait for a break of the middle band and give back a big chunk of profit.

That’s where TradingView’s built-in Chandelier exit worked well for me. It plots a trailing stop a multiple of ATR below the recent highest high, and it ratchets up every time price makes a new high.

Don't sell the green background; let Chandelier exit handle the exit

A green background on Resampling Reverse Engineering Bands doesn't mean the rally is over. Pair it with TradingView's built-in Chandelier exit (Long exit) to manage the exit.

Don't sell the green background; let Chandelier exit handle the exit① Background is green, but the trend is still running ② The blue Long exit ratchets up with new highs ③ A close below the Long exit is the exit cueBackground is green,but the trend is still runningThe blue Long exitratchets up with new highsA close below the Long exitis the exit cue

Vowars DE ver.3.24.1

Chandelier exit uses its defaults (Length 22, ATR 22, multiplier 3) with only the Long exit shown. It sits 3 ATR below the 22-bar high, so it ratchets up every time price makes a new high.

In Figure 1, the background is green but the rally is far from over. Exit here just because RSI is above 70 and you miss the rest of the move. The blue Long exit in Figure 2 ratchets up with each new high, and in Figure 3, the bar that closes below it is your exit cue. Use Resampling Reverse Engineering Bands to gauge momentum and let Chandelier exit handle the exit.

Adding the Choppiness Index in a lower pane, which tells you whether the market is trending or chopping, also helps you tell a green background that’s part of a real run from a brief flash inside a range. And since Elder’s Force Index combines price change with volume, it’s a good way to check whether a breakout above the upper band had volume behind it.

Which markets and timeframes does it suit?

I tested it on eight timeframes from the 1-minute to the weekly. It behaves the same on all of them, so whether it fits you depends less on the timeframe and more on how you already use RSI.

Where it really shines is gauging how deep pullbacks go in a trending market. In an uptrend, as long as candles hold above the middle band you treat the trend as intact, and you watch for dips toward the middle band. It’s the classic RSI-above-or-below-50 approach, just carried over to price. Timeframe-wise, I found it easiest to use for day trading and swing trading on the 15-minute to 4-hour charts, where the bands are easy to interpret.

What it does well

  • Turns RSI 70, 50 and 30 into price bands you can read as targets
  • Background and candle colors show RSI’s state, saving a pane
  • Choose between RSI, Stochastic and CCI
  • Resampling filters out small wiggles
  • No repainting on confirmed bars
  • External outputs pass its readings to other scripts

Good to know before you use it

  • In strong trends the highlights last a long time, so they’re weak fade signals
  • Bands spike after sharp moves, stretching the chart’s vertical scale
  • Paints the chart background black (can be turned off in the Style tab)
  • You’ll need a separate tool for exits and stop-losses
  • Interval mode’s multiple is set in the Bars Per Sample field

Things to check before you rely on it

Past bars don’t repaint

The bands, background and candle colors are all calculated from price data up to that bar. Nothing from future bars is used, and nothing on a confirmed bar gets rewritten later. The same goes for every resampling method. Only the live bar at the far right moves until it closes.

The lower band can go negative

After a long, strong rally on a high timeframe like the weekly, the lower band can drop below zero and show a negative price. That simply means it would take a drop bigger than the current price to pull RSI down to 30, which shows how strong the uptrend has been. It isn’t meant to be read as support, so you can ignore where the lower band sits in those situations.

On the weekly chart during a strong bull run, the lower band (RSI 30) drops all the way into negative prices.
On the weekly chart during a strong bull run, the lower band (RSI 30) drops all the way into negative prices.

It isn’t a buy/sell signal indicator

Resampling Reverse Engineering Bands translates an oscillator’s state into price for you to analyze. It doesn’t print buy or sell arrows, and there’s no guarantee price will reverse at a band. Setups that look great on historical charts may not play out the same way in real time, so always combine it with other analysis.

Bands worth a try if you want to see RSI in price terms

Resampling Reverse Engineering Bands [DW]

Resampling Reverse Engineering Bands shows RSI (or the Stochastic or CCI) as a price rather than a percentage. The background and candle colors tell you where RSI stands, and the band values on the latest bar tell you what price the next bar needs to hit for RSI to reach 70 or 30.

What I valued most was no longer having to translate RSI readings into price in my head. Treat the green background as a gauge of momentum rather than an automatic sell signal, and this can become an indicator you keep on your charts for a long time.

Sources: This article is based on hands-on testing and in-depth analysis of the indicator Resampling Reverse Engineering Bands [DW] by DonovanWall 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