OPEN-SOURCE SCRIPT

Volume mura vision

63
Overview
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.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.