OPEN-SOURCE SCRIPT
Relative Strength Index (RSI) w/ Multi Time Frame w/ Divergences

This indicator is an advanced evolution of the classic Relative Strength Index (RSI), designed to provide deeper market context by combining Momentum, Multi-Timeframe (MTF) analysis, and Divergences into a single, clean visual tool.
Unlike standard indicators, RSI MTF Pro v2 allows you to configure the Main RSI and the Background Trend Zone independently, giving you full control over your strategy (e.g., watching a 15m RSI while monitoring the 4H trend).
Key Features:
🚀 Dual MTF Engine: Completely independent settings for the Main RSI Line and the Background Zone. You can choose different Timeframes, Lengths, and Levels for each.
heatmap Style Background: The indicator background changes color (Red/Green) based on the MTF RSI trend, helping you filter out bad trades and stick to the dominant trend.
🎨 Smart Gradient Fills: To keep your chart clean, the gradient colors (Red/Green fills) only appear when the RSI breaches the Overbought or Oversold levels.
🎯 Divergence Detector: Automatically spots and marks Regular Bullish and Bearish divergences with pivot-based logic.
How to Use:
Trend Confirmation: Use the Background Color to determine the higher timeframe direction (e.g., Red Background = Uptrend).
Entry Signals: Look for RSI signals that align with the background color (e.g., RSI Oversold/Green Gradient + Green Background).
Reversals: Use the built-in Divergence circles to spot potential trend reversals.
Settings:
Main RSI: Customizable Timeframe, Length, OB/OS Levels.
MTF Background: Independent Timeframe, Length, and Zone thresholds (e.g., >60 Red, <40 Green).
Divergences: Toggle On/Off and adjust Pivot lookback periods.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice.
Unlike standard indicators, RSI MTF Pro v2 allows you to configure the Main RSI and the Background Trend Zone independently, giving you full control over your strategy (e.g., watching a 15m RSI while monitoring the 4H trend).
Key Features:
🚀 Dual MTF Engine: Completely independent settings for the Main RSI Line and the Background Zone. You can choose different Timeframes, Lengths, and Levels for each.
heatmap Style Background: The indicator background changes color (Red/Green) based on the MTF RSI trend, helping you filter out bad trades and stick to the dominant trend.
🎨 Smart Gradient Fills: To keep your chart clean, the gradient colors (Red/Green fills) only appear when the RSI breaches the Overbought or Oversold levels.
🎯 Divergence Detector: Automatically spots and marks Regular Bullish and Bearish divergences with pivot-based logic.
How to Use:
Trend Confirmation: Use the Background Color to determine the higher timeframe direction (e.g., Red Background = Uptrend).
Entry Signals: Look for RSI signals that align with the background color (e.g., RSI Oversold/Green Gradient + Green Background).
Reversals: Use the built-in Divergence circles to spot potential trend reversals.
Settings:
Main RSI: Customizable Timeframe, Length, OB/OS Levels.
MTF Background: Independent Timeframe, Length, and Zone thresholds (e.g., >60 Red, <40 Green).
Divergences: Toggle On/Off and adjust Pivot lookback periods.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。