PROTECTED SOURCE SCRIPT

MarketSmith / MarketSurge Style Volumes

24
Purpose

  • Emulates MarketSmith-style volume analysis in TradingView.
  • Focused on abnormal volume, institutional footprints, and volume vs. average.


Core Display

  • Plots a volume histogram with a volume moving average (daily or weekly length).
  • Optional truncation: caps bars at 2× average volume for cleaner scaling.
  • Bar colors:
  • Up/down based on current vs. previous close.
  • Optional special colour for low relative volume (10-bar lows).


Highest-Volume Logic (HVE / HV1)

  • Detects:
  • HVE – Highest Volume Ever.
  • HV1 – Highest Volume in Over a Year (252D / 52W / 12M).
  • Labels key peaks with:
  • “HVE” / “HV1” tags.
  • Optional shares traded (K/M/B) and % above volume MA.
  • Uses pivot logic over a configurable Peak Length to anchor volume peaks.


Current Bar Labels

  • On the latest bar, shows:
  • Formatted volume (K/M/B).
  • Volume buzz = % above/below average volume.
  • Buzz label colored green/red depending on positive or negative reading.


Volume Buzz & Trend Context

  • volBuzz = 100 * (vol / MA – 1) plotted as a separate series.
  • Highlights stretches of unusually high or low activity relative to the norm.


Up / Down Volume Ratio

  • Sums up-volume and down-volume over the last 50 bars.
  • Computes Up/Down Volume Ratio = sumUp / sumDn to gauge buying vs. selling pressure.


Info Table (Top-Right)

  • Optional small table showing:
  • Avg Volume (K/M/B).
  • Avg Dollar Volume (close × MA).
  • U/D Volume Ratio.
  • Optional current volume and current buzz with positive/negative colors.


Overall

  • Not a signal system—it's a volume-reading assistant.
  • Helps identify true standout volume, institutional spikes, and quiet vs. aggressive trading conditions at a glance.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.