PROTECTED SOURCE SCRIPT
MarketSmith / MarketSurge Style Volumes

Purpose
Core Display
Highest-Volume Logic (HVE / HV1)
Current Bar Labels
Volume Buzz & Trend Context
Up / Down Volume Ratio
Info Table (Top-Right)
Overall
- 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.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. However, you can use it freely and without any limitations – learn more here.
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. However, you can use it freely and without any limitations – learn more here.
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.