OPEN-SOURCE SCRIPT
Updated

MTF RSI & SMA Crossover [OB/OS Filtered Signals]

2 024
MTF RSI & SMA Crossover [OB/OS Filtered Signals]

This custom indicator combines the power of Multi-Timeframe (MTF) RSI, Simple Moving Average (SMA), and overbought/oversold (OB/OS) conditions to provide precise buy and sell signals based on the crossovers of the RSI and its SMA. The indicator includes the following features:

MTF RSI: The Relative Strength Index (RSI) is calculated on a customizable timeframe, giving traders the ability to analyze price momentum across different timeframes.

SMA of RSI: The RSI is smoothed using a Simple Moving Average (SMA), helping to filter out market noise and identify clearer trend reversals.

Overbought/Oversold Filter: Signals are only triggered when the RSI has been in an overbought (above 70) or oversold (below 30) condition, improving the reliability of potential trend reversals.

Buy/Sell Signals:

Buy signals occur when the RSI crosses above its SMA after being oversold, indicating potential upward momentum.

Sell signals occur when the RSI crosses below its SMA after being overbought, indicating potential downward momentum.

Customizable Label Colors: Choose your own colors for the "BUY" and "SELL" labels to match your chart's design and preferences.

Alerts: Set alerts for buy and sell signals, ensuring you don't miss a potential trade.

This indicator is ideal for traders who want to capture trend reversals and momentum shifts while filtering out false signals by using overbought and oversold conditions. Customize the settings to suit your trading style and strategy.
Release Notes
🔍 Indicator Description for TradingView:
MTF RSI & RSI-MA Crossover [OB/OS Filtered Signals]
This indicator provides clean, high-probability buy and sell signals based on RSI crossovers filtered by overbought/oversold conditions. It's designed for traders who want precision entries with minimal chart clutter.

📈 Core Features:
Multi-Timeframe RSI: Choose your preferred timeframe to align with your trading strategy.

RSI-Based Moving Average: Detect momentum shifts by tracking RSI crosses above/below its moving average.

OB/OS Filtering:

Buy Signals appear only when RSI has moved into oversold territory and then crosses above its MA.

Sell Signals appear only when RSI has entered overbought territory and then crosses below its MA.

Custom OB/OS Levels: Set your own overbought and oversold thresholds (default: 70/30).

Minimalist Display: Only directional triangle markers are shown directly on the price chart — no unnecessary lines or clutter.

Supports Alerts: Alerts can be set for both buy and sell conditions for automation or notifications.

⚡️ Best Use:
Combine with price action or trend analysis for confirmation.

Works well in both trending and ranging environments with proper tuning.

Ideal for scalping, swing trading, or multi-timeframe confirmation strategies.
Release Notes
🔍 Indicator Description for TradingView:
MTF RSI & RSI-MA Crossover [OB/OS Filtered Signals]
This indicator provides clean, high-probability buy and sell signals based on RSI crossovers filtered by overbought/oversold conditions. It's designed for traders who want precision entries with minimal chart clutter.

📈 Core Features:
Multi-Timeframe RSI: Choose your preferred timeframe to align with your trading strategy.

RSI-Based Moving Average: Detect momentum shifts by tracking RSI crosses above/below its moving average.

OB/OS Filtering:

Buy Signals appear only when RSI has moved into oversold territory and then crosses above its MA.

Sell Signals appear only when RSI has entered overbought territory and then crosses below its MA.

Custom OB/OS Levels: Set your own overbought and oversold thresholds (default: 70/30).

Minimalist Display: Only directional triangle markers are shown directly on the price chart — no unnecessary lines or clutter.

Supports Alerts: Alerts can be set for both buy and sell conditions for automation or notifications.

⚡️ Best Use:
Combine with price action or trend analysis for confirmation.

Works well in both trending and ranging environments with proper tuning.

Ideal for scalping, swing trading, or multi-timeframe confirmation strategies.
Release Notes
🔍 Indicator Description for TradingView:

See chart for additional information and what to look for.

MTF RSI & RSI-MA Crossover [OB/OS Filtered Signals]
This indicator provides clean, high-probability buy and sell signals based on RSI crossovers filtered by overbought/oversold conditions. It's designed for traders who want precision entries with minimal chart clutter.

📈 Core Features:
Multi-Timeframe RSI: Choose your preferred timeframe to align with your trading strategy.

RSI-Based Moving Average: Detect momentum shifts by tracking RSI crosses above/below its moving average.

OB/OS Filtering:

Buy Signals appear only when RSI has moved into oversold territory and then crosses above its MA.

Sell Signals appear only when RSI has entered overbought territory and then crosses below its MA.

Custom OB/OS Levels: Set your own overbought and oversold thresholds (default: 70/30).

Minimalist Display: Only directional triangle markers are shown directly on the price chart — no unnecessary lines or clutter.

Supports Alerts: Alerts can be set for both buy and sell conditions for automation or notifications.

⚡️ Best Use:
Combine with price action or trend analysis for confirmation.

Works well in both trending and ranging environments with proper tuning.

Ideal for scalping, swing trading, or multi-timeframe confirmation strategies.

Release Notes
📌 Indicator Title
MTF RSI & RSI-based MA Crossover [OB/OS Confirmed Signals]

📄 Description
This indicator generates high-probability buy and sell signals based on a multi-timeframe RSI and a moving average of the RSI (customizable type and length). Signals are only triggered when:

RSI enters the Overbought (OB) or Oversold (OS) zone.

Then exits the OB or OS zone (indicating a momentum shift).

Then the RSI crosses its own moving average — this confirms the reversal.

Only after all three steps are complete does a Buy (triangle up) or Sell (triangle down) signal appear on the chart.

This filtering eliminates noise and false signals that often occur during normal RSI swings, focusing on true momentum reversals.

⚙️ Features
✅ Customizable RSI settings: length, source, timeframe.

✅ Choose from 5 MA types: SMA, EMA, SMMA (RMA), WMA, VWMA.

✅ OB/OS levels are adjustable (default 70/30).

✅ Option to display on-chart Buy/Sell markers.

✅ Alert-ready with custom messages for both signals.

📈 How to Use
Add to chart → Click “Indicators” > “My Scripts” (if saved) or paste in Pine Editor and click "Add to Chart".

Open the settings gear ⚙️ to:

Adjust RSI length, timeframe, and OB/OS levels.

Choose your preferred RSI MA type and length.

Turn on/off Buy/Sell markers using the toggle.

Set alerts from the “Alerts” tab using the included conditions.

💡 Trading Strategy Suggestions
Pair this with price action, support/resistance, or volume analysis to confirm entries.

Works well on multiple timeframes — use a higher timeframe RSI (e.g., 1h on 5m chart) to reduce noise.

Release Notes
📈 RSI Crossover + Divergence Panel by TypeGuyNZ
This indicator combines a multi-purpose RSI crossover signal system with a dedicated RSI pane that visualizes:

RSI with dynamic gradient fills

RSI-based Moving Average (MA)

Overbought/Oversold zones

Automatic Bullish & Bearish Divergence detection

Buy/Sell triangle signals are also plotted directly on the main price chart, allowing for seamless signal visualization across assets and timeframes.

🔧 Features & How It Works
✅ Buy Signal
RSI drops below the oversold level (default: 30)

Turns upward and crosses above its RSI-based moving average (SMA by default)

A green triangle appears below the price candle

✅ Sell Signal
RSI rises above the overbought level (default: 70)

Turns downward and crosses below its RSI-based moving average

A red triangle appears above the price candle

These triangle signals are ideal for trend reversals, pullback entries, or confirmation for other strategies.

📊 RSI Pane (Subwindow)
The lower pane shows:

RSI (White Line)

RSI-based MA (Black Line)

OB/OS Levels (70 & 30)

Gradient fills to highlight overbought (green) and oversold (red) conditions

Optional Bullish and Bearish Divergence lines auto-detected and plotted over the RSI

This gives you deeper insight into market momentum, reversals, and hidden structure shifts.

⚙️ Customizable Inputs
RSI length & source

MA type: SMA, EMA, WMA, etc.

Show/Hide Buy/Sell Triangles

Toggle Divergence Detection

OB/OS thresholds

RSI Timeframe (multi-timeframe ready if extended)

🔔 Alerts
You can set TradingView alerts for:

Buy Signal (RSI crossing above MA after OS exit)

Sell Signal (RSI crossing below MA after OB exit)

Bullish Divergence

Bearish Divergence

🧪 Use Cases
Swing trading reversals

Oversold re-entries

Confirmation for price action setups

Divergence-based exits

✅ Final Notes
This script keeps RSI crossover logic and divergences together in a single script, with signals on the price chart and technical strength in the dedicated RSI pane.

You can turn each element on/off based on your preference using the style and input menus.
Release Notes
Update - LTF - When the RSI and RSI MA cross in the OB or OS zone a signal will show.
Release Notes
Add feature to toggle signal on and off on price and on the RSI pane

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.