OPEN-SOURCE SCRIPT
Combined: Net Volume, RSI & ATR

# Combined: Net Volume, RSI & ATR Indicator
## Overview
This custom TradingView indicator overlays **Net Volume** and **RSI (Relative Strength Index)** on the same chart panel, with RSI scaled to match the visual range of volume spikes. It also displays **ATR (Average True Range)** values in a table.
## Key Features
### Net Volume
- Calculates buying vs selling pressure by analyzing lower timeframe data
- Displays as a **yellow line** centered around zero
- Automatically selects optimal timeframe or allows manual override
- Shows net buying pressure (positive values) and selling pressure (negative values)
### RSI (Relative Strength Index)
- Traditional 14-period RSI displayed as a **blue line**
- **Overlays directly on the volume chart** - scaled to match volume spike heights
- Includes **70/30 overbought/oversold levels** (shown as dotted red/green lines)
- Adjustable scale factor to fine-tune visual sizing relative to volume
- Optional **smoothing** with multiple moving average types (SMA, EMA, RMA, WMA, VWMA)
- Optional **Bollinger Bands** around RSI smoothing line
- **Divergence detection** - identifies regular bullish/bearish divergences with labels
### ATR (Average True Range)
- Displays current ATR value in a **table at top-right corner**
- Configurable period length (default: 50)
- Multiple smoothing methods: RMA, SMA, EMA, or WMA
- Helps assess current market volatility
## Use Cases
- **Momentum & Volume Confirmation**: See if RSI trends align with net volume flows
- **Divergence Trading**: Automatically spots when price makes new highs/lows but RSI doesn't
- **Volatility Assessment**: Monitor ATR for position sizing and stop-loss placement
- **Overbought/Oversold + Volume**: Identify exhaustion when RSI hits extremes with volume spikes
## Customization
All components can be toggled on/off independently. RSI scale factor allows you to adjust how prominent the RSI line appears relative to volume bars.
## Overview
This custom TradingView indicator overlays **Net Volume** and **RSI (Relative Strength Index)** on the same chart panel, with RSI scaled to match the visual range of volume spikes. It also displays **ATR (Average True Range)** values in a table.
## Key Features
### Net Volume
- Calculates buying vs selling pressure by analyzing lower timeframe data
- Displays as a **yellow line** centered around zero
- Automatically selects optimal timeframe or allows manual override
- Shows net buying pressure (positive values) and selling pressure (negative values)
### RSI (Relative Strength Index)
- Traditional 14-period RSI displayed as a **blue line**
- **Overlays directly on the volume chart** - scaled to match volume spike heights
- Includes **70/30 overbought/oversold levels** (shown as dotted red/green lines)
- Adjustable scale factor to fine-tune visual sizing relative to volume
- Optional **smoothing** with multiple moving average types (SMA, EMA, RMA, WMA, VWMA)
- Optional **Bollinger Bands** around RSI smoothing line
- **Divergence detection** - identifies regular bullish/bearish divergences with labels
### ATR (Average True Range)
- Displays current ATR value in a **table at top-right corner**
- Configurable period length (default: 50)
- Multiple smoothing methods: RMA, SMA, EMA, or WMA
- Helps assess current market volatility
## Use Cases
- **Momentum & Volume Confirmation**: See if RSI trends align with net volume flows
- **Divergence Trading**: Automatically spots when price makes new highs/lows but RSI doesn't
- **Volatility Assessment**: Monitor ATR for position sizing and stop-loss placement
- **Overbought/Oversold + Volume**: Identify exhaustion when RSI hits extremes with volume spikes
## Customization
All components can be toggled on/off independently. RSI scale factor allows you to adjust how prominent the RSI line appears relative to volume bars.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.