Indicator · Pine Script v5 · On the chart

Volume Profile with Node Detection [LuxAlgo]

by etabebe1· code credited to LuxAlgo

This indicator draws a volume profile on the price chart over a configurable lookback.

View on GitHub

GitHub stars2on the repository
Pine versionv5runs as is
Lines of code615
Settings35inputs
LicenceNone stated
Last update1 year ago19 Jun 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Volume Profile with Node Detection [LuxAlgo] splits price into rows, colors up and down volume, and can mark the point of control, value area, value area high, and value area low. Peak and trough volume nodes are found by comparing neighboring rows using a detection percentage and a volume threshold. Users can highlight a chosen number of highest and lowest nodes, switch gradient or classic colors, and set profile width, placement, and price labels. It does not generate trade entries or exits.

Details

Published by

etabebe1 on GitHub

Code credit

LuxAlgo, as written in the script's header

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Volume, Support & resistance

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Volume PeaksstringPeaksvn_peaksShow
vn_peakVolumeColorcolorcolor.new(color.blue, 50)vn_peakVolumeColor
  Node Detection Percent %int9vn_peaksNumberOfNodes
Volume TroughsstringNonevn_troughsShow
vn_troughVolumeColorcolorcolor.new(color.gray, 50)vn_troughVolumeColor
  Node Detection Percent %int7vn_troughsNumberOfNodes
Volume Node Threshold %int1vn_VolumeNodeThreshold
Highest Volume Nodesint0vn_highestNVolumeNodes
vn_highestVolumeColorcolorcolor.new(color.orange, 25)vn_highestVolumeColor
Lowest Volume Nodesint0vn_lowestNVolumeNodes
vn_lowestVolumeColorcolorcolor.new(color.navy, 25)vn_lowestVolumeColor
Volume Profilebooltruevp_profileShow
Show all 35 settings
SettingTypeDefaultVariable
vp_profileGradientColorsstringGradient Colorsvp_profileGradientColors
  Value Area Up / Downcolorcolor.new(#2962ff, 30)vp_valueAreaUpColor
/colorcolor.new(#fbc02d, 30)vp_valueAreaDwonColor
  Profile Up / Down Volumecolorcolor.new(#5d606b, 50)vp_profileUpVolumeColor
/colorcolor.new(#d1d4dc, 50)vp_profileDownVolumeColor
Point of ControlstringNonevp_pocShow
vp_pocColorcolor#fbc02dvp_pocColor
Widthint2vp_pocWidth
Value Area High (VAH)boolfalsevp_vahShow
vp_vahColorcolor#2962ffvp_vahColor
Value Area Low (VAL)boolfalsevp_valShow
vp_valColorcolor#2962ffvp_valColor
Profile Price LabelsstringSmallvp_profileLevels
Profile Lookback Lengthint360vp_profileLength
Value Area (%)float70vp_valueAreaThreshold
Profile PlacementstringRightvp_profilePlracment
Profile Number of Rowsint100vp_profileNumberOfRows
Profile Widthfloat31vp_profileWidth
Profile Horizontal Offsetint13vp_profileHorizontalOffset
Value Area Background  boolfalsevp_valueAreaBackground
vp_valueAreaBackgroundColorcolorcolor.new(#2962ff, 89)vp_valueAreaBackgroundColor
Profile Range Background boolfalsevp_profileBackground
vp_profileBackgroundColorcolorcolor.new(#2962ff, 95)vp_profileBackgroundColor
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

This overlay indicator draws a fixed-range volume profile on the price chart, splitting traded activity into up and down volume at each price level. It also plots a sentiment profile, a developing point of control, and value-area high and low around a configur

Indicator v5 VolumeSupport & resistance
Updated 2 months ago · MIT GitHub repository of Volume Profile and Indicator by DGT

MGIC-tracker

by Allen1212
303 stars

The MGIC-tracker is a TradingView indicator that overlays ARK Invest trade records onto stock price charts. It plots buy and sell labels at the exact timestamp of each transaction, showing share volume and ETF weight. Users select a specific ETF type via setti

Indicator v4 Support & resistanceVolume
Updated 2 years ago · None stated GitHub repository of MGIC-tracker
218 stars

Comprehensive Volume Profile is an overlay indicator that calculates and plots volume distribution across specified time ranges such as daily sessions, weekly, monthly, or custom bar lengths. It identifies key structural price levels including the Point of Con

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Comprehensive Volume Profile

Moon Dev GEX Arrows

by moondevonyt
92 stars

This overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev GEX Arrows

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers