OPEN-SOURCE SCRIPT

Triple RSI Stochastic Hybrid MTF Smooth

156
# Triple RSI + Stochastic Hybrid MTF — Smooth

## Overview

Triple RSI + Stochastic Hybrid MTF — Smooth is a multi-timeframe momentum oscillator designed to combine RSI and Stochastic information into a single adaptive Hybrid line.

The indicator displays up to three independent Hybrid oscillators:

* Hybrid 1 — Chart timeframe
* Hybrid 2 — Higher timeframe x5
* Hybrid 3 — Higher timeframe x15

Each Hybrid combines RSI and Stochastic momentum into one normalized 0–100 oscillator. Each Hybrid has its own independently configurable RSI length, Stochastic length, %K smoothing, RSI weighting, signal length, signal smoothing, signal method, timeframe, and MTF smoothing settings.

The goal is to make short-term momentum and higher-timeframe momentum visible in the same oscillator pane.

---

## What Does the Indicator Show?

The indicator displays three possible Hybrid momentum lines.

### Hybrid 1 — Chart Timeframe

Hybrid 1 is calculated on the selected chart timeframe.

It combines:

* RSI
* Stochastic price position
* Stochastic %K smoothing
* Adjustable RSI/Stochastic weighting

The default configuration is:

* RSI Length: 9
* Stochastic Length: 9
* %K Smoothing: 3
* RSI Weight: 50%

This means the Hybrid is initially composed of approximately 50% RSI and 50% Stochastic information.

The timeframe can be set independently through the Hybrid 1 timeframe input.

---

### Hybrid 2 — Higher Timeframe

Hybrid 2 retrieves the Hybrid calculation from a selectable higher timeframe using TradingView's `request.security()` mechanism.

The default timeframe is 5 minutes.

The resulting higher-timeframe Hybrid is then smoothed using the configurable MTF smoothing settings.

Default:

* Timeframe: 5 minutes
* RSI Length: 9
* Stochastic Length: 9
* %K Smoothing: 3
* RSI Weight: 50%
* MTF Smooth: 5
* MTF Smooth Method: EMA

This provides a higher-timeframe momentum reference without requiring a separate oscillator pane.

---

### Hybrid 3 — Higher Timeframe

Hybrid 3 works in the same way as Hybrid 2 but uses a higher timeframe.

The default timeframe is 15 minutes.

Default:

* Timeframe: 15 minutes
* RSI Length: 9
* Stochastic Length: 9
* %K Smoothing: 3
* RSI Weight: 50%
* MTF Smooth: 8
* MTF Smooth Method: EMA

Hybrid 3 is intended to provide a slower and broader momentum reference.

---

# How the Hybrid Is Calculated

The Hybrid is not a simple RSI and not a standard Stochastic.

First, an RSI value is calculated:

RSI = Relative Strength Index of the selected source.

A Stochastic component is then calculated from the selected source relative to the highest high and lowest low over the selected Stochastic length.

The Stochastic component is smoothed using the selected %K smoothing length.

The final Hybrid value is a weighted combination of the two:

Hybrid = RSI × RSI Weight + Stochastic × (1 − RSI Weight)

The RSI Weight input determines the balance between the two components.

For example:

* 100% RSI = RSI-dominant Hybrid
* 75% RSI = mostly RSI
* 50% RSI = balanced RSI/Stochastic Hybrid
* 25% RSI = mostly Stochastic
* 0% RSI = Stochastic-dominant Hybrid

This allows the oscillator to be adapted from a more RSI-oriented momentum tool to a more Stochastic-oriented momentum tool.

---

# Signal Lines

Each Hybrid has its own Signal line.

The Signal line is calculated from the corresponding Hybrid and can use:

* EMA
* SMA
* WMA
* RMA

Signal length and additional Signal smoothing can be adjusted independently for each Hybrid.

The Signal line acts as a momentum reference for the corresponding Hybrid.

A faster Signal setting produces more responsive crosses.

A slower Signal setting produces fewer but generally smoother crossings.

---

# Cross Dots

The colored dots identify crossings between a Hybrid line and its corresponding Signal line.

### Green / Bullish Dot

A bullish dot appears when the Hybrid moves from below or equal to the Signal line to above it.

This indicates that momentum has crossed upward relative to its Signal line.

### Red / Bearish Dot

A bearish dot appears when the Hybrid moves from above or equal to the Signal line to below it.

This indicates that momentum has crossed downward relative to its Signal line.

The cross detection is based directly on the difference between the Hybrid and Signal series:

Hybrid − Signal

A bullish cross occurs when this difference changes from zero/negative to positive.

A bearish cross occurs when the difference changes from zero/positive to negative.

The dots therefore respond directly to the current Hybrid and Signal settings.

---

# Momentum Levels

The oscillator uses a normalized 0–100 scale.

The default levels are:

* 0 — Extreme lower boundary
* 10 — Lower reference
* 30 — Oversold reference
* 50 — Midline / neutral reference
* 70 — Overbought reference
* 90 — Upper reference
* 100 — Extreme upper boundary

All levels are independently adjustable.

The 50 level can be used as the primary momentum balance line.

Above 50 generally means that the Hybrid is showing positive momentum.

Below 50 generally means that the Hybrid is showing negative momentum.

The 30 and 70 levels can be used as traditional oversold/overbought references.

The 10 and 90 levels provide additional extreme-zone information.

---

# How to Read the Three Hybrids Together

The main purpose of the three Hybrid lines is to compare momentum across different timeframes.

A simple interpretation is:

### Bullish Momentum Alignment

When:

* Hybrid 1 is above its Signal
* Hybrid 2 is above its Signal
* Hybrid 3 is above its Signal

momentum is aligned positively across the three selected timeframes.

This can be used as confirmation for long setups.

### Bearish Momentum Alignment

When:

* Hybrid 1 is below its Signal
* Hybrid 2 is below its Signal
* Hybrid 3 is below its Signal

momentum is aligned negatively across the three selected timeframes.

This can be used as confirmation for short setups.

### Pullback Environment

A common use is to wait for the higher-timeframe Hybrids to maintain their direction while the lower-timeframe Hybrid temporarily moves against them.

For example:

Higher timeframes remain bullish:

* Hybrid 3 > Signal 3
* Hybrid 2 > Signal 2

while Hybrid 1 temporarily falls below Signal 1.

If Hybrid 1 then crosses back above Signal 1, the cross can be interpreted as a potential momentum re-entry trigger in the direction of the higher-timeframe momentum.

The opposite logic can be applied for short setups.

---

# Example Long Setup

One possible momentum-based workflow:

1. Check Hybrid 3 for the broader momentum direction.
2. Check Hybrid 2 for intermediate momentum confirmation.
3. Prefer long setups when both higher-timeframe Hybrids are above their Signals.
4. Wait for Hybrid 1 to pull back.
5. Look for Hybrid 1 to cross back above Signal 1.
6. A green Hybrid 1 cross dot marks the momentum crossover.
7. Additional confirmation can come from the 50 level or from price structure.
8. The actual trade entry, stop loss and position size should be determined using the trader's own risk-management rules.

The indicator itself does not place trades.

---

# Example Short Setup

The inverse workflow can be used for short setups:

1. Check Hybrid 3 for broader bearish momentum.
2. Check Hybrid 2 for intermediate bearish momentum.
3. Prefer short setups when both higher-timeframe Hybrids are below their Signals.
4. Wait for Hybrid 1 to rally against the higher-timeframe direction.
5. Look for Hybrid 1 to cross back below Signal 1.
6. A red Hybrid 1 cross dot marks the bearish momentum crossover.
7. Additional confirmation can come from the 50 level or price structure.
8. Apply independent risk-management rules before entering a trade.

---

# Using the 50 Level

The 50 level can be used as a neutral momentum filter.

### Above 50

The Hybrid is in the upper half of its normalized range.

This can support a bullish momentum interpretation, particularly when the Hybrid is also above its Signal.

### Below 50

The Hybrid is in the lower half of its normalized range.

This can support a bearish momentum interpretation, particularly when the Hybrid is also below its Signal.

A stronger momentum condition can therefore be defined by combining:

Direction + Signal Cross + 50-Level Position.

For example:

Bullish:

Hybrid > Signal and Hybrid > 50

Bearish:

Hybrid < Signal and Hybrid < 50

This is a confirmation framework, not a guaranteed trading signal.

---

# Using the 30 and 70 Levels

The 30 and 70 levels provide additional momentum context.

A move below 30 can indicate that momentum has entered a relatively weak or oversold area.

A move above 70 can indicate that momentum has entered a relatively strong or overbought area.

These levels should not automatically be interpreted as reversal signals.

A strong trend can remain above 70 or below 30 for an extended period.

Therefore, the direction of the Hybrid, its Signal relationship, and the higher-timeframe Hybrids should be considered together.

---

# Recommended Multi-Timeframe Workflow

For short-term trading, a practical configuration is:

Chart timeframe:
1 minute

Hybrid 1:
1 minute

Hybrid 2:
5 minutes

Hybrid 3:
15 minutes

This creates a three-layer momentum structure:

1-minute = execution momentum

5-minute = intermediate momentum

15-minute = higher-timeframe momentum

The lower timeframe can be used for timing while the higher timeframes provide directional context.

For example:

15M bullish → 5M bullish → wait for 1M pullback → 1M bullish Signal cross → potential long setup.

The inverse can be used for short setups.

---

# What Information Does the Indicator Use?

The indicator primarily uses price-derived information.

The Hybrid calculation uses:

* Selected price source
* RSI
* Highest high over the Stochastic lookback
* Lowest low over the Stochastic lookback
* Stochastic calculation
* Stochastic smoothing
* RSI/Stochastic weighting

The Signal calculation uses the resulting Hybrid series.

The MTF versions retrieve the Hybrid calculation from their selected higher timeframe using TradingView's `request.security()` functionality.

The indicator does not directly use:

* Order flow
* Level 2 data
* Bid/ask volume
* Market profile
* Fundamental data
* News
* Economic calendar data
* Open interest
* Institutional positioning

It is a price-derived momentum oscillator.

---

# What the Indicator Is Designed For

This indicator is designed primarily for:

* Momentum analysis
* Multi-timeframe momentum comparison
* Pullback identification
* Momentum crossover timing
* Trend-direction confirmation
* Short-term and intraday trading analysis

It can be used on different markets and timeframes, but parameter optimization should be performed for the specific instrument and trading timeframe.

---

# Important Interpretation

A cross dot does not automatically mean "buy" or "sell."

A bullish cross means that the Hybrid has crossed above its Signal.

A bearish cross means that the Hybrid has crossed below its Signal.

The quality of a setup depends on the surrounding market structure, timeframe alignment, volatility, trend conditions and risk management.

A stronger approach is to treat the dots as momentum timing information rather than standalone trade signals.

---

# Example Confirmation Framework

### Long Bias

Prefer long setups when:

* Hybrid 3 > Signal 3
* Hybrid 2 > Signal 2
* Price structure supports an upside move
* Hybrid 1 pulls back
* Hybrid 1 crosses back above Signal 1
* Hybrid 1 is preferably above or recovering through 50

### Short Bias

Prefer short setups when:

* Hybrid 3 < Signal 3
* Hybrid 2 < Signal 2
* Price structure supports a downside move
* Hybrid 1 rallies into the pullback
* Hybrid 1 crosses back below Signal 1
* Hybrid 1 is preferably below or falling through 50

This approach uses the higher-timeframe Hybrids for directional context and the lower-timeframe Hybrid for timing.

---

# Important Limitations

This indicator is an analytical tool and does not predict future prices with certainty.

Higher-timeframe values are obtained using TradingView's multi-timeframe data functionality. The behavior of higher-timeframe values can differ from lower-timeframe calculations, particularly while the higher-timeframe candle is still forming.

Cross dots represent mathematical momentum crossings. They are not guaranteed entry signals and should not be interpreted as guaranteed profitable trades.

No indicator can eliminate market risk.

Always evaluate price structure, volatility, liquidity, spread, execution conditions and position sizing before entering a trade.

---

## Summary

Triple RSI + Stochastic Hybrid MTF — Smooth combines RSI and Stochastic momentum into three configurable multi-timeframe Hybrid oscillators.

The core concept is:

**Higher Timeframe Direction → Lower Timeframe Pullback → Signal Cross → Momentum Confirmation**

Hybrid 3 provides the broadest momentum context.

Hybrid 2 provides intermediate momentum context.

Hybrid 1 provides the most responsive momentum information for timing.

The colored cross dots identify changes in the relationship between each Hybrid and its Signal line.

The 50 level provides a neutral momentum reference, while the 30/70 and 10/90 levels provide additional context for weak, strong and extreme momentum conditions.

The indicator is intended to support discretionary technical analysis, not to function as an autonomous trading system.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.