OPEN-SOURCE SCRIPT
已更新 Regular-Delta RSI Gap Indicator

# Regular-Delta RSI Gap Indicator
## Overview
The **Regular-Delta RSI Gap Indicator** is a sophisticated momentum oscillator that compares traditional RSI with volume-based Delta RSI to identify trend strength and potential reversal points. This unique indicator combines price action with volume dynamics to provide enhanced market insights.
## Key Features
### 🔄 Dual RSI Analysis
- **Regular RSI**: Standard RSI based on price changes
- **Delta RSI**: Volume-weighted RSI calculated from volume change rates
- **Visual Comparison**: Clear plotting of both RSIs with ribbon fill
### 💪 Strength Measurement
- **ADX-style Strength Calculation**: Measures the divergence strength between Regular and Delta RSI
- **Configurable Threshold**: Customizable strength level for trend validation
- **Trend Classification**: Identifies strong vs. weak market conditions
### 📊 Multiple Display Options
- **Histogram Visualization**: Columns showing the gap between Regular and Delta RSI
- **Cross Signals**: Triangle markers for crossover events
- **Ribbon Fill**: Color-coded area between the two RSI lines
- **Real-time Table**: Summary table showing current values and trends
## Input Parameters
### Core Settings
- **RSI Period** (default: 14): Calculation period for both RSIs
- **Strength Smoothing** (default: 14): Smoothing period for strength calculation
- **Strength Threshold** (default: 5): Minimum level for strong trend classification
### Visual Customization
- **Show Histogram**: Toggle histogram display
- **Show Signals**: Display crossover signals
- **Show Labels**: Enable trend labels and information table
- **Histogram Height Scale**: Adjust histogram visibility (0.1-3.0)
- **Apply Ribbon Fill**: Enable/disable ribbon coloring
### Color Scheme
- Fully customizable colors for bullish, bearish, neutral, and strength elements
## Interpretation
### Trend Signals
- **Strong Uptrend**: Regular RSI > Delta RSI + Strength above threshold
- **Strong Downtrend**: Regular RSI < Delta RSI + Strength above threshold
- **Weak Trend**: Strength below threshold
### Key Levels
- **Overbought**: 70 level (red line)
- **Oversold**: 30 level (blue line)
- **Midline**: 50 level (gray dotted line)
- **Zero Line**: Histogram baseline
- **Threshold**: Strength reference line
### Signal Types
1. **Crossover Signals**: Regular RSI crossing above/below Delta RSI
2. **Strength Transitions**: Strength line crossing threshold
3. **Histogram Patterns**: Column color and height changes
## Alerts
The indicator provides four alert conditions:
- Divergence Strength Rising
- Divergence Strength Falling
- RSI Crossover (Regular above Delta)
- RSI Crossunder (Regular below Delta)
## Use Cases
- **Trend Confirmation**: Validate price trends with volume confirmation
- **Reversal Detection**: Spot potential trend changes early
- **Momentum Analysis**: Gauge market momentum strength
- **Divergence Trading**: Identify regular/volume RSI divergences
## Optimization Tips
- Adjust period lengths based on trading timeframe
- Modify threshold based on market volatility
- Combine with price action for confirmation
- Use in conjunction with support/resistance levels
This indicator is particularly useful for traders looking to incorporate volume confirmation into their RSI analysis and identify high-probability trend continuations or reversals.
## Overview
The **Regular-Delta RSI Gap Indicator** is a sophisticated momentum oscillator that compares traditional RSI with volume-based Delta RSI to identify trend strength and potential reversal points. This unique indicator combines price action with volume dynamics to provide enhanced market insights.
## Key Features
### 🔄 Dual RSI Analysis
- **Regular RSI**: Standard RSI based on price changes
- **Delta RSI**: Volume-weighted RSI calculated from volume change rates
- **Visual Comparison**: Clear plotting of both RSIs with ribbon fill
### 💪 Strength Measurement
- **ADX-style Strength Calculation**: Measures the divergence strength between Regular and Delta RSI
- **Configurable Threshold**: Customizable strength level for trend validation
- **Trend Classification**: Identifies strong vs. weak market conditions
### 📊 Multiple Display Options
- **Histogram Visualization**: Columns showing the gap between Regular and Delta RSI
- **Cross Signals**: Triangle markers for crossover events
- **Ribbon Fill**: Color-coded area between the two RSI lines
- **Real-time Table**: Summary table showing current values and trends
## Input Parameters
### Core Settings
- **RSI Period** (default: 14): Calculation period for both RSIs
- **Strength Smoothing** (default: 14): Smoothing period for strength calculation
- **Strength Threshold** (default: 5): Minimum level for strong trend classification
### Visual Customization
- **Show Histogram**: Toggle histogram display
- **Show Signals**: Display crossover signals
- **Show Labels**: Enable trend labels and information table
- **Histogram Height Scale**: Adjust histogram visibility (0.1-3.0)
- **Apply Ribbon Fill**: Enable/disable ribbon coloring
### Color Scheme
- Fully customizable colors for bullish, bearish, neutral, and strength elements
## Interpretation
### Trend Signals
- **Strong Uptrend**: Regular RSI > Delta RSI + Strength above threshold
- **Strong Downtrend**: Regular RSI < Delta RSI + Strength above threshold
- **Weak Trend**: Strength below threshold
### Key Levels
- **Overbought**: 70 level (red line)
- **Oversold**: 30 level (blue line)
- **Midline**: 50 level (gray dotted line)
- **Zero Line**: Histogram baseline
- **Threshold**: Strength reference line
### Signal Types
1. **Crossover Signals**: Regular RSI crossing above/below Delta RSI
2. **Strength Transitions**: Strength line crossing threshold
3. **Histogram Patterns**: Column color and height changes
## Alerts
The indicator provides four alert conditions:
- Divergence Strength Rising
- Divergence Strength Falling
- RSI Crossover (Regular above Delta)
- RSI Crossunder (Regular below Delta)
## Use Cases
- **Trend Confirmation**: Validate price trends with volume confirmation
- **Reversal Detection**: Spot potential trend changes early
- **Momentum Analysis**: Gauge market momentum strength
- **Divergence Trading**: Identify regular/volume RSI divergences
## Optimization Tips
- Adjust period lengths based on trading timeframe
- Modify threshold based on market volatility
- Combine with price action for confirmation
- Use in conjunction with support/resistance levels
This indicator is particularly useful for traders looking to incorporate volume confirmation into their RSI analysis and identify high-probability trend continuations or reversals.
版本注释
revising duplicates开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。