PROTECTED SOURCE SCRIPT
Telah dikemas kini Volume-Weighted RSI & Multi-Normalized MACD Overlay

**Description**:
The "Volume-Weighted RSI & Multi-Normalized MACD Overlay" is a sophisticated indicator that plots a volume-weighted Relative Strength Index (VW-RSI) and a customizable Moving Average Convergence Divergence (MACD) directly on the price chart, enhancing momentum and trend analysis for traders. Designed for stocks, forex, crypto, and more, it supports multi-timeframe (MTF) analysis and offers flexible normalization and scaling options for precise visualization.
**Key Features**:
- **Volume-Weighted RSI**: A volume-sensitive RSI normalized to a configurable range (default: -50/+50), with optional smoothing (SMA, EMA, WMA, VWMA, SMMA, or Bollinger Bands). Overbought (+20) and oversold (-20) lines are plotted relative to a user-defined price source (default: ohlc4).
- **Multi-Normalized MACD**: Supports five bounded normalization methods: Min-Max, Volatility Min-Max, Hyperbolic Tangent, Arctangent, and Min-Max with Smoothing, scaled to the same range as RSI for unified analysis.
- **Price Chart Overlay**: Plots RSI, RSI MA, MACD, MACD Signal, zero-line, overbought (+20), and oversold (-20) lines, anchored to a customizable price source (e.g., ohlc4, hl2).
- **Flexible Scaling**: Choose between high/low range (default) or ATR-based scaling, with separate lookbacks for RSI and MACD (default: 128). Adjust offset and scale factor multipliers for fine-tuned visuals.
- **Customizable Display**: Toggles for RSI (with MA), MACD (with Signal), zero-line, overbought/oversold lines, and RSI background coloring (>20/< -20). Dynamic MACD colors (cyan/magenta) and transparency options enhance clarity.
**How to Use**:
1. Add to any chart (e.g., BTCUSD, SPY, 1H, 1D).
2. Configure settings:
- **General**: Set bounds (-50/+50), timeframe, scaling (high/low or ATR), zero-line source (e.g., ohlc4), and multipliers.
- **RSI**: Adjust price source, length (9), and smoothing options.
- **MACD**: Select price source, lengths (9/21/9), and normalization (e.g., Volatility Min-Max).
- **Display Options**: Toggle lines and background; adjust transparency.
3. Interpret signals: RSI > +20 (overbought), < -20 (oversold); MACD/Signal crosses for momentum; zero-line as reference.
4. Use with the companion "Volume-Weighted RSI & Multi-Normalized MACD" script for pane-based analysis if desired.
**Why Use It?**
Ideal for traders seeking a visually intuitive overlay of RSI and MACD on price action, with customizable scaling and MTF support. Perfect for trend-following, mean-reversion, and cross-market strategies.
**Notes**:
- Ensure a bounded normalization (e.g., Volatility Min-Max) is selected for MACD plotting.
- Adjust scaling multipliers for optimal visibility on volatile assets.
- Feedback welcome to enhance future versions!
**Author**: nepolix
The "Volume-Weighted RSI & Multi-Normalized MACD Overlay" is a sophisticated indicator that plots a volume-weighted Relative Strength Index (VW-RSI) and a customizable Moving Average Convergence Divergence (MACD) directly on the price chart, enhancing momentum and trend analysis for traders. Designed for stocks, forex, crypto, and more, it supports multi-timeframe (MTF) analysis and offers flexible normalization and scaling options for precise visualization.
**Key Features**:
- **Volume-Weighted RSI**: A volume-sensitive RSI normalized to a configurable range (default: -50/+50), with optional smoothing (SMA, EMA, WMA, VWMA, SMMA, or Bollinger Bands). Overbought (+20) and oversold (-20) lines are plotted relative to a user-defined price source (default: ohlc4).
- **Multi-Normalized MACD**: Supports five bounded normalization methods: Min-Max, Volatility Min-Max, Hyperbolic Tangent, Arctangent, and Min-Max with Smoothing, scaled to the same range as RSI for unified analysis.
- **Price Chart Overlay**: Plots RSI, RSI MA, MACD, MACD Signal, zero-line, overbought (+20), and oversold (-20) lines, anchored to a customizable price source (e.g., ohlc4, hl2).
- **Flexible Scaling**: Choose between high/low range (default) or ATR-based scaling, with separate lookbacks for RSI and MACD (default: 128). Adjust offset and scale factor multipliers for fine-tuned visuals.
- **Customizable Display**: Toggles for RSI (with MA), MACD (with Signal), zero-line, overbought/oversold lines, and RSI background coloring (>20/< -20). Dynamic MACD colors (cyan/magenta) and transparency options enhance clarity.
**How to Use**:
1. Add to any chart (e.g., BTCUSD, SPY, 1H, 1D).
2. Configure settings:
- **General**: Set bounds (-50/+50), timeframe, scaling (high/low or ATR), zero-line source (e.g., ohlc4), and multipliers.
- **RSI**: Adjust price source, length (9), and smoothing options.
- **MACD**: Select price source, lengths (9/21/9), and normalization (e.g., Volatility Min-Max).
- **Display Options**: Toggle lines and background; adjust transparency.
3. Interpret signals: RSI > +20 (overbought), < -20 (oversold); MACD/Signal crosses for momentum; zero-line as reference.
4. Use with the companion "Volume-Weighted RSI & Multi-Normalized MACD" script for pane-based analysis if desired.
**Why Use It?**
Ideal for traders seeking a visually intuitive overlay of RSI and MACD on price action, with customizable scaling and MTF support. Perfect for trend-following, mean-reversion, and cross-market strategies.
**Notes**:
- Ensure a bounded normalization (e.g., Volatility Min-Max) is selected for MACD plotting.
- Adjust scaling multipliers for optimal visibility on volatile assets.
- Feedback welcome to enhance future versions!
**Author**: nepolix
Nota Keluaran
The updated "Volume-Weighted RSI & Multi-Normalized MACD Overlay" script introduces the following enhancements:Configurable Colors: Added input.color for all lines (RSI, RSI MA, MACD, MACD Signal, Zero, Overbought, Oversold, Upper Bound, Lower Bound) and RSI background (overbought/oversold), allowing full customization in the "Display Options" group.
Preserved Functionality: All existing features, including MTF logic, scaling (high/low or ATR), zero-price anchoring, and toggles for line visibility, remain unchanged. Only color logic and plotting were modified to incorporate user-defined colors.
These changes enhance visual flexibility while maintaining the script's core functionality for precise momentum and trend analysis on the price chart.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.