TD

Multi RSI & Multi Stochastic

One oscillator line for the chart timeframe, with overbought and oversold zones that grow stronger when the next two higher timeframes agree.

Both indicators share one design. The pane shows a single line — RSI or the stochastic %K — for the chart timeframe. Behind it, the zones above the upper border and below the lower border are filled in three shades. How strong the shade is depends on the same oscillator on the next two higher timeframes: for a daily chart, weekly and monthly. Zones where several timeframes are stretched at once stand out at a glance.

RSI or stochastic: what each one measures

Both oscillators run from 0 to 100 and both speak of “overbought” and “oversold”, but they measure different things and answer different questions.

RSIStochastic
MeasuresThe strength of the closes. Average gain of the closes against their average loss over N bars: RSI = 100 − 100 ÷ (1 + average gain ÷ average loss).Where the close sits in the range. The close between the lowest low and the highest high of the last n bars: 0 = at the bottom of the range, 100 = at the top.
AnswersWho is stronger, buyers or sellers, and by how much? The more and the larger the up-closes outweigh the down-closes, the higher the RSI.Where is the price in its recent range? Near the top, buyers close the bars near their highs; near the bottom, near their lows.
UsesCloses and the size of bar-to-bar changes. Highs and lows play no part.Highs, lows and the close. The size of single moves does not matter; the position in the range does.
In a strong trendHolds its own band: usually 40–80 in an uptrend, 20–60 in a downtrend. Above 70 speaks of strength, not of a turn.Presses against 100 (or 0) and can stay there while the closes sit at the edge of the range, even as the rise loses strength.
A divergence meansA new price high with a lower RSI: the strength of the rise is fading.A new price high with a lower stochastic: the closes no longer reach the top of the range.
Role in the Free ToolsMulti RSI (period 9, Agreement): is momentum stretched right now, and do the weekly and monthly RSI confirm it?Multi Stochastic (33 / 33 / 33, Phase): which phase of the larger swing are we in — after a peak or after a trough?

Why use both: Multi Stochastic sets the backdrop — the phase of the larger swing; Multi RSI shows how stretched momentum is inside it. A green stochastic phase (after a trough) with RSI leaving oversold on several timeframes is a consistent picture for buying; a red phase with an overbought RSI is the time to tighten stops rather than add.

What they show

ElementMeaning
LineRSI (Multi RSI) or %K (Multi Stochastic) of the chart timeframe.
Upper zone, red shadesOverbought, or the phase after a peak. Light red → red → dark red as more timeframes agree.
Lower zone, green shadesOversold, or the phase after a trough. Light green → green → dark green.
Grey linesThe lower and upper borders.
Label at the right edgeThe chart value and both higher-timeframe values, e.g. RSI 35.2 · W 48 · M 73 or %K 35.2 · W 48 · M 73. It turns red or green when a zone reaches shade 2 or more.
Data WindowThe two higher-timeframe values for every bar.

The three shades use 50%, 30% and 20% transparency: the first level is a light tint, the third a solid, dark band.

The timeframe ladder

The two higher timeframes are the next two steps above the chart on this ladder:

1m → 5m → 15m → 1H → 4H → D → W → M → 3M → 12M
ChartTimeframe 2Timeframe 3
15m1H4H
1H4HD
4HDW
DWM
WM3M

A timeframe between steps (2h, 3D…) uses the next steps above it. On a 3-month chart there is one higher step, on a 12-month chart none.

How to read them: the three Coloring modes

ModeShade 1Shade 2Shade 3
Phasechart timeframe in this phase+ timeframe 2 in the same phase+ timeframe 3 in the same phase
Agreementchart line in the zonechart line and timeframe 2 in the zoneall three in the zone
Highest timeframechart line in the zonetimeframe 2 in the zonetimeframe 3 in the zone, even if the chart line is not

Phase

Phase is the last extreme the line touched. The red band above lights up when the line reaches the upper border and stays on — even as the line falls back to the middle — until the line reaches the lower border; then the green band below lights up and stays until the line reaches the upper border again. Red means “after a peak”: a decline is due or under way, too early to buy. Green means “after a trough”. The phase of each higher timeframe is tracked the same way, and the shade gets stronger when they are in the same phase.

Multi RSI in Phase mode: the band shows the phase of the swing — red after the line touched the upper border, green after it touched the lower one — darker when the higher timeframes are in the same phase.
Multi RSI in Phase mode: the band shows the phase of the swing — red after the line touched the upper border, green after it touched the lower one — darker when the higher timeframes are in the same phase. Click to enlarge.

Agreement

A zone is lit while the chart line is inside it, and grows stronger when the next timeframe is in the same zone, strongest when all three are. This is the strictest reading: a dark band means the stretch is real on every timeframe at once.

Multi RSI in Agreement mode: the zones fill while the chart RSI is in them and darken as the weekly and monthly RSI join.
Multi RSI in Agreement mode: the zones fill while the chart RSI is in them and darken as the weekly and monthly RSI join. Click to enlarge.

Highest timeframe

The zone takes the shade of the highest timeframe whose oscillator is in the zone, even if the chart line is not. Use it to keep the higher-timeframe extreme in view while the chart line moves around inside it.

Multi RSI in Highest timeframe mode: the zone shows the highest timeframe that is overbought or oversold, independent of the chart line.
Multi RSI in Highest timeframe mode: the zone shows the highest timeframe that is overbought or oversold, independent of the chart line. Click to enlarge.

Multi RSI

The classic Relative Strength Index of the chart timeframe, period 9 and borders 30 / 70 by default, coloured in Agreement mode. A short period makes the line responsive, so the higher timeframes do the filtering.

Settings

Source default: close

Price series the RSI is calculated from.

Period default: 9

RSI length, minimum 2.

Line color default: blue

Colour of the RSI line.

Thickness default: 1

Width of the RSI line, 1–4.

Lower border default: 30

Oversold border, 1–49.

Upper border default: 70

Overbought border, 51–99.

Coloring default: Agreement

Phase, Agreement or Highest timeframe — see above.

RSI 1 / 2 / 3 · upper default: light red / red / dark red

Upper-zone shades for levels 1, 2 and 3 (50%, 30% and 20% transparency).

RSI 1 / 2 / 3 · lower default: light green / green / dark green

Lower-zone shades for levels 1, 2 and 3 (50%, 30% and 20% transparency).

Multi Stochastic

The stochastic oscillator introduced by George Lane in the 1950s, set up as a slow, smooth line: %K length, smoothing and %D length all 33, borders 25 / 80, coloured in Phase mode by default. With these values the line marks the larger swings rather than every wiggle, which is what the phase bands are built for.

Multi Stochastic in Phase mode (default): red bands after the slow %K touched the upper border, green bands after it touched the lower one.
Multi Stochastic in Phase mode (default): red bands after the slow %K touched the upper border, green bands after it touched the lower one. Click to enlarge.
Multi Stochastic in Agreement mode: zones fill while %K is in them and darken as the higher timeframes join.
Multi Stochastic in Agreement mode: zones fill while %K is in them and darken as the higher timeframes join. Click to enlarge.
Multi Stochastic in Highest timeframe mode: the zone shows the highest timeframe that is overbought or oversold.
Multi Stochastic in Highest timeframe mode: the zone shows the highest timeframe that is overbought or oversold. Click to enlarge.

Settings

%K length default: 33

Look-back of the raw stochastic.

%K smoothing default: 33

SMA length applied to the raw stochastic; the result is %K, the line the zones are judged on.

%D length default: 33

SMA length of %K for the optional %D line.

%K line color default: blue

Colour of the %K line.

Thickness default: 1

Width of the %K line, 1–4.

Show %D line default: off

Draws %D as a second line.

%D line color default: orange

Colour of the %D line.

Lower border default: 25

Oversold border, 1–49.

Upper border default: 80

Overbought border, 51–99.

Coloring default: Phase

Phase, Agreement or Highest timeframe — see above.

Stoch 1 / 2 / 3 · upper and lower default: red and green shades

Zone shades for levels 1, 2 and 3, the same as in Multi RSI.

Fixed values (both indicators)

ValueFixed at
Timeframe ladder1m, 5m, 15m, 1H, 4H, D, W, M, 3M, 12M
Higher-timeframe valuelast closed candle of that timeframe
Border line colourgrey, 30% transparency

Methodology

RSI = ta.rsi(source, Period)
%K = SMA( 100 × (close − lowest lown) ÷ (highest highn − lowest lown), %K smoothing ), n = %K length
%D = SMA(%K, %D length)

Higher timeframes are requested with the value of the previous candle of that timeframe, so the history never repaints: on a daily chart the weekly value is last week’s closed value until the current week ends.

In zone: value ≤ Lower border (lower zone)  or  value ≥ Upper border (upper zone)
Phase per timeframe: +1 once value ≥ Upper border, −1 once value ≤ Lower border, otherwise unchanged
ModeUpper-zone level (lower zone mirrors it)
Phase1 if chart phase = +1; 2 if chart and timeframe 2 = +1; 3 if all three = +1
Agreement1 if chart in zone; 2 if chart and timeframe 2 in zone; 3 if all three in zone
Highest timeframe3 if timeframe 3 in zone, else 2 if timeframe 2 in zone, else 1 if chart in zone

Scope and design choices

Closed higher-timeframe candles
The higher timeframes use their last closed candle, so a band drawn yesterday is still there today. The trade-off is a delay of up to one higher-timeframe candle: the weekly reading updates when the week closes.
A fixed ladder
The higher timeframes are always the next two steps above the chart, so the reading means the same on every symbol and nobody has to configure it. To compare with a different pair of timeframes, switch the chart timeframe.
Long lengths need history
With 33 / 33 / 33 the monthly stochastic needs several years of history. Until it has enough bars it counts as “not in the zone”, so young listings show lighter shades on the monthly step.
Zones, not signals
The indicators colour the state of momentum and leave the decision to you; they carry no alert conditions. For momentum signals with alerts see AO AC Momentum.

Works well with