OPEN-SOURCE SCRIPT
Volume mura vision

Overview
A simple, readable volume tool that highlights volume spikes relative to a moving-average baseline. Bars are color-coded:
Optional: plot the selected Volume MA as a line.
How it works
1. Compute a Volume MA (SMA/EMA/RMA/WMA) over Volume MA Length.
2. A spike occurs when Volume ≥ MA × (1 + Spike threshold%).
3. Bar color:
4. The MA line can be shown/hidden.
Inputs
Colors
Alert
Volume spike — fires when Volume ≥ MA × (1 + threshold).
Usage tips
Disclaimer
Educational tool, not financial advice. Trading involves risk.
A simple, readable volume tool that highlights volume spikes relative to a moving-average baseline. Bars are color-coded:
- Spike UP (price closed up)
- Spike DOWN (price closed down)
- Below-average volume
- Near/above MA but not a spike (neutral)
Optional: plot the selected Volume MA as a line.
How it works
1. Compute a Volume MA (SMA/EMA/RMA/WMA) over Volume MA Length.
2. A spike occurs when Volume ≥ MA × (1 + Spike threshold%).
3. Bar color:
- Spike + up candle → Spike UP color
- Spike + down candle → Spike DOWN color
- Volume < MA → Below-MA grey
- Otherwise → Base grey
4. The MA line can be shown/hidden.
Inputs
- Volume MA Length (len) — lookback for the volume moving average.
- Spike threshold (%) over MA (thr_pct) — how far above the MA a bar must be to count as a spike.
- MA Type (ma_type) — SMA / EMA / RMA / WMA for the volume baseline.
- Show MA line (showMA) — toggle the MA overlay on the volume pane.
Colors
- Base grey — volume near/above MA but below spike threshold.
- Below-MA grey — volume below the MA.
- Spike UP — spike on an up candle (close ≥ open).
- Spike DOWN — spike on a down candle.
Alert
Volume spike — fires when Volume ≥ MA × (1 + threshold).
Usage tips
- Lower the threshold to catch more activity; raise it to see only major bursts.
- Shorter MA length reacts faster (more spikes); longer length smooths noise.
- Combine with price action (breakouts, reversals) to confirm whether spikes signal participation or exhaustion.
Disclaimer
Educational tool, not financial advice. Trading involves risk.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
✅My Telegram
t.me/trading_mura
t.me/trading_mura
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
✅My Telegram
t.me/trading_mura
t.me/trading_mura
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.