PROTECTED SOURCE SCRIPT
Relative Volume Spikes MTF

Description:
This script displays **Relative Volume Spikes across Multiple Timeframes (MTF)** in a simple table format directly on your chart. It helps traders quickly identify unusual volume activity — a key signal that often precedes strong price movement.
What it does:
* Calculates **relative volume** (current volume divided by average volume) for the following timeframes:
1-minute, 5-minute, 30-minute, 1-hour, 4-hour, 1-day, and 1-week.
* Highlights timeframes where relative volume **exceeds a customizable threshold** (default: 1.5x the average).
* Shows values in a color-coded table for quick scanning.
How it works:
* For each timeframe, the script uses a moving average over a user-defined lookback period (default: 20 candles) to establish the average volume.
* If the current volume is significantly higher than that average (based on your threshold), the cell background turns green — alerting you to a possible volume spike.
* The table updates every 5 bars to minimize performance lag.
Why it's useful:
* Helps you spot early signs of breakouts or trend reversals across multiple timeframes without switching charts.
* Saves time by putting all key volume signals in one easy-to-read location.
Customization:
* You can adjust lookback periods for each timeframe.
* You can change the spike threshold to suit your trading style.
This script displays **Relative Volume Spikes across Multiple Timeframes (MTF)** in a simple table format directly on your chart. It helps traders quickly identify unusual volume activity — a key signal that often precedes strong price movement.
What it does:
* Calculates **relative volume** (current volume divided by average volume) for the following timeframes:
1-minute, 5-minute, 30-minute, 1-hour, 4-hour, 1-day, and 1-week.
* Highlights timeframes where relative volume **exceeds a customizable threshold** (default: 1.5x the average).
* Shows values in a color-coded table for quick scanning.
How it works:
* For each timeframe, the script uses a moving average over a user-defined lookback period (default: 20 candles) to establish the average volume.
* If the current volume is significantly higher than that average (based on your threshold), the cell background turns green — alerting you to a possible volume spike.
* The table updates every 5 bars to minimize performance lag.
Why it's useful:
* Helps you spot early signs of breakouts or trend reversals across multiple timeframes without switching charts.
* Saves time by putting all key volume signals in one easy-to-read location.
Customization:
* You can adjust lookback periods for each timeframe.
* You can change the spike threshold to suit your trading style.
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.