Open-Source Pine Script v5 Guide

Fixed Range Volume Profile

Institutional execution rules, audit-clean Pine Script v5 source code, and automated multi-ticker scanning.

What Is Fixed Range Volume Profile?

Volume Profile shows trading activity at specific price levels over a chosen time range. High volume nodes (HVN) act as support/resistance areas where significant trading occurred. Low volume nodes (LVN) often see price move quickly through them.

Execution Rules & Setup Playbook

Institutional Playbook: Look for breakouts accompanied by 2x+ average volume. High volume confirms the move is backed by institutional participation. Volume without price movement suggests accumulation/distribution.

Pine Script v5 Source Code

TradingView Pine Editor → Paste → Add to Chart
PINE SCRIPT V5 · UNLOCKED SOURCE
//@version=5
indicator("Volume Breakout Detector", overlay=true)

// Inputs
volLength = input.int(20, "Volume MA Length")
volMultiplier = input.float(2.0, "Volume Multiplier")
priceChangeThreshold = input.float(2.0, "Price Change %")

// Calculate volume metrics
avgVolume = ta.sma(volume, volLength)
volumeRatio = volume / avgVolume
highVolume = volume > avgVolume * volMultiplier

// Calculate price change
priceChange = (close - close[1]) / close[1] * 100

// Breakout conditions
bullishBreakout = highVolume and priceChange > priceChangeThreshold
bearishBreakout = highVolume and priceChange < -priceChangeThreshold

// Background color for high volume
bgcolor(highVolume ? color.new(color.yellow, 90) : na)

// Breakout signals
plotshape(bullishBreakout, "Bullish Breakout", shape.triangleup, location.belowbar, color.green, size=size.normal)
plotshape(bearishBreakout, "Bearish Breakout", shape.triangledown, location.abovebar, color.red, size=size.normal)

// Volume bars
plot(volumeRatio, "Volume Ratio", color=highVolume ? color.orange : color.gray, style=plot.style_columns)

Related Pine Script v5 Guides

Scan Without Coding

Skip single-chart limits — Tradestie monitors this setup across 5,000+ US stocks automatically.

Server-Side Advantage Our Volume Breakout Scanner identifies stocks with unusual volume spikes combined with significant price moves, filtering out false signals.
  • Real-time multi-ticker signal scanning
  • Institutional options & GEX confirmation
  • Automated email alerts on triggers
Launch Live Scanner
Check Any Stock Right Now